te::fe::ArithmeticOperators Class Reference

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 FunctionNameoperator[] (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...
 

Detailed Description

It is used to indicate the arithmetic operators that a service can support.

See also
ScalarCapabilities, FunctionName

Definition at line 50 of file ArithmeticOperators.h.

Constructor & Destructor Documentation

te::fe::ArithmeticOperators::ArithmeticOperators ( )

It initializes a new ArithmeticOperators.

te::fe::ArithmeticOperators::~ArithmeticOperators ( )

Destructor.

Member Function Documentation

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.

Parameters
iThe index of desired function name.
Returns
A specified function name.
Note
You must not clear the returned function name.
The method will not check the index range.
void te::fe::ArithmeticOperators::push_back ( FunctionName f)

It adds the function name to the Arithmetic operator list.

Parameters
fThe function name to be added to the Arithmetic operator list.
Note
The ArithmeticOperators object will take the ownership of the function name, so you must not free it.

Member Data Documentation

std::vector<FunctionName*> te::fe::ArithmeticOperators::m_arithmeticOperators
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.

bool te::fe::ArithmeticOperators::m_simpleArithmetic
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.


The documentation for this class was generated from the following file: