OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
mslang::Function Struct Referenceabstract

#include <MSLang.h>

Inheritance diagram for mslang::Function:
Collaboration diagram for mslang::Function:

Public Member Functions

virtual ~Function ()
virtual void print (int indent)=0
virtual void apply (std::vector< std::shared_ptr< Base > > &bfuncs)=0

Static Public Member Functions

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

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 25 of file MSLang.h.

Constructor & Destructor Documentation

◆ ~Function()

virtual mslang::Function::~Function ( )
inlinevirtual

Definition at line 26 of file MSLang.h.

Member Function Documentation

◆ apply()

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

Implemented in mslang::Difference, mslang::Ellipse, mslang::Intersection, mslang::Mask, mslang::Polygon, mslang::Rectangle, mslang::Repeat, mslang::Rotation, mslang::Shear, mslang::SymmetricDifference, mslang::Translation, mslang::Triangle, and mslang::Union.

References end().

Referenced by mslang::Union::apply(), and FlexibleCollimator::setDescription().

Here is the call graph for this function:

◆ parse()

◆ print()

Member Data Documentation

◆ Double

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

Definition at line 34 of file MSLang.h.

◆ FCall

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

Definition at line 36 of file MSLang.h.

Referenced by parse().

◆ UDouble

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

Definition at line 33 of file MSLang.h.

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

◆ UInt

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

Definition at line 35 of file MSLang.h.


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