OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
mslang::Intersection Struct Reference

#include <Intersection.h>

Inheritance diagram for mslang::Intersection:
Collaboration diagram for mslang::Intersection:

Public Member Functions

 Intersection ()
 Intersection (const Intersection &right)
virtual ~Intersection ()
virtual void print (int indentwidth)
virtual void apply (std::vector< std::shared_ptr< Base > > &bfuncs)

Static Public Member Functions

static bool parse_detail (iterator &it, const iterator &end, Function *&fun)
static bool parse (iterator &it, const iterator &end, Function *&fun)

Public Attributes

FunctionfirstOperand_m
FunctionsecondOperand_m

Static Public Attributes

static const std::string UDouble = "([0-9]+\\.?[0-9]*([Ee][+-]?[0-9]+)?)"
static const std::string Double = "(-?[0-9]+\\.?[0-9]*([Ee][+-]?[0-9]+)?)"
static const std::string UInt = "([0-9]+)"
static const std::string FCall = "([a-z_]*)\\‍((.*)"

Detailed Description

Definition at line 7 of file Intersection.h.

Constructor & Destructor Documentation

◆ Intersection() [1/2]

mslang::Intersection::Intersection ( )
inline

Definition at line 11 of file Intersection.h.

Referenced by Intersection(), and parse_detail().

◆ Intersection() [2/2]

mslang::Intersection::Intersection ( const Intersection & right)
inline

Definition at line 14 of file Intersection.h.

References firstOperand_m, Intersection(), and secondOperand_m.

Here is the call graph for this function:

◆ ~Intersection()

virtual mslang::Intersection::~Intersection ( )
inlinevirtual

Definition at line 19 of file Intersection.h.

References firstOperand_m, and secondOperand_m.

Member Function Documentation

◆ apply()

void mslang::Intersection::apply ( std::vector< std::shared_ptr< Base > > & bfuncs)
virtual

Implements mslang::Function.

Definition at line 16 of file Intersection.cpp.

References firstOperand_m, and secondOperand_m.

◆ parse()

◆ parse_detail()

bool mslang::Intersection::parse_detail ( iterator & it,
const iterator & end,
Function *& fun )
static

Definition at line 40 of file Intersection.cpp.

References end(), firstOperand_m, Intersection(), mslang::Function::parse(), and secondOperand_m.

Referenced by mslang::Function::parse().

Here is the call graph for this function:

◆ print()

void mslang::Intersection::print ( int indentwidth)
virtual

Implements mslang::Function.

Definition at line 6 of file Intersection.cpp.

References firstOperand_m, and secondOperand_m.

Member Data Documentation

◆ Double

const std::string mslang::Function::Double = "(-?[0-9]+\\.?[0-9]*([Ee][+-]?[0-9]+)?)"
staticinherited

Definition at line 34 of file MSLang.h.

◆ FCall

const std::string mslang::Function::FCall = "([a-z_]*)\\‍((.*)"
staticinherited

Definition at line 36 of file MSLang.h.

Referenced by parse().

◆ firstOperand_m

Function* mslang::Intersection::firstOperand_m

Definition at line 8 of file Intersection.h.

Referenced by apply(), Intersection(), parse_detail(), print(), and ~Intersection().

◆ secondOperand_m

Function* mslang::Intersection::secondOperand_m

Definition at line 9 of file Intersection.h.

Referenced by apply(), Intersection(), parse_detail(), print(), and ~Intersection().

◆ UDouble

const std::string mslang::Function::UDouble = "([0-9]+\\.?[0-9]*([Ee][+-]?[0-9]+)?)"
staticinherited

Definition at line 33 of file MSLang.h.

Referenced by mslang::Rectangle::parse_detail().

◆ UInt

const std::string mslang::Function::UInt = "([0-9]+)"
staticinherited

Definition at line 35 of file MSLang.h.


The documentation for this struct was generated from the following files: