OPALX (Object Oriented Parallel Accelerator Library for Exascal) MINIorX
OPALX
mslang::Difference Struct Reference

#include <Difference.h>

Inheritance diagram for mslang::Difference:
Collaboration diagram for mslang::Difference:

Public Member Functions

 Difference ()
 Difference (const Difference &right)
virtual ~Difference ()
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

Functiondividend_m
Functiondivisor_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 Difference.h.

Constructor & Destructor Documentation

◆ Difference() [1/2]

mslang::Difference::Difference ( )
inline

Definition at line 11 of file Difference.h.

Referenced by Difference(), and parse_detail().

Here is the caller graph for this function:

◆ Difference() [2/2]

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

Definition at line 14 of file Difference.h.

References Difference(), dividend_m, and divisor_m.

Here is the call graph for this function:

◆ ~Difference()

virtual mslang::Difference::~Difference ( )
inlinevirtual

Definition at line 19 of file Difference.h.

References dividend_m, and divisor_m.

Member Function Documentation

◆ apply()

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

Implements mslang::Function.

Definition at line 16 of file Difference.cpp.

References dividend_m, and divisor_m.

◆ parse()

◆ parse_detail()

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

Definition at line 32 of file Difference.cpp.

References Difference(), dividend_m, divisor_m, end(), and mslang::Function::parse().

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

Here is the call graph for this function:
Here is the caller graph for this function:

◆ print()

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

Implements mslang::Function.

Definition at line 6 of file Difference.cpp.

References dividend_m, and divisor_m.

Member Data Documentation

◆ dividend_m

Function* mslang::Difference::dividend_m

Definition at line 8 of file Difference.h.

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

◆ divisor_m

Function* mslang::Difference::divisor_m

Definition at line 9 of file Difference.h.

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

◆ 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().

◆ 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: