It is used to indicate the arithmetic operators that a service can support. More...
#include <ArithmeticOperators.h>
Public Member Functions | |
Initializer Methods | |
Methods related to instantiation and destruction. | |
ArithmeticOperators () | |
It initializes a new ArithmeticOperators. More... | |
~ArithmeticOperators () | |
Destructor. More... | |
Accessor methods | |
Methods used to get or set properties. | |
void | enableSimpleArithmetic () |
It marks the Simple Arithmetic as supported by the filter. More... | |
void | disableSimpleArithmetic () |
It marks the Simple Arithmetic as not supported by the filter. More... | |
void | push_back (FunctionName *f) |
It adds the function name to the Arithmetic operator list. More... | |
const FunctionName * | operator[] (std::size_t i) const |
It returns a specified function name. More... | |
Private Attributes | |
std::vector< FunctionName * > | m_arithmeticOperators |
It is used to list the function names that are supported, and the number of arguments each function requires. (Optional) More... | |
bool | m_simpleArithmetic |
It is used to indicate that the service can support addition, subtraction, multiplication and division. Default: false. (Optional) More... | |
It is used to indicate the arithmetic operators that a service can support.
Definition at line 50 of file ArithmeticOperators.h.
te::fe::ArithmeticOperators::ArithmeticOperators | ( | ) |
It initializes a new ArithmeticOperators.
te::fe::ArithmeticOperators::~ArithmeticOperators | ( | ) |
Destructor.
void te::fe::ArithmeticOperators::disableSimpleArithmetic | ( | ) |
It marks the Simple Arithmetic as not supported by the filter.
void te::fe::ArithmeticOperators::enableSimpleArithmetic | ( | ) |
It marks the Simple Arithmetic as supported by the filter.
const FunctionName* te::fe::ArithmeticOperators::operator[] | ( | std::size_t | i | ) | const |
It returns a specified function name.
i | The index of desired function name. |
void te::fe::ArithmeticOperators::push_back | ( | FunctionName * | f | ) |
It adds the function name to the Arithmetic operator list.
f | The function name to be added to the Arithmetic operator list. |
|
private |
It is used to list the function names that are supported, and the number of arguments each function requires. (Optional)
Definition at line 105 of file ArithmeticOperators.h.
|
private |
It is used to indicate that the service can support addition, subtraction, multiplication and division. Default: false. (Optional)
Definition at line 104 of file ArithmeticOperators.h.