It is used to indicate what types of comparison operators are supported by a service. More...
#include <ComparisonOperators.h>
Public Member Functions | |
Initializer Methods | |
Methods related to instantiation and destruction. | |
| ComparisonOperators () | |
| It initializes a new ComparisonOperators. More... | |
| ~ComparisonOperators () | |
| Destructor. More... | |
Accessor methods | |
Methods used to get or set properties. | |
| std::vector< const char * > | m_comparisonOperators |
| Optional. More... | |
| static std::set< const char *, te::common::LessCmp< const char * > > | sm_validComparisonOperators |
| The list of valid comparison operators. More... | |
| void | push_back (const char *c) |
| It adds the comparison operator to the supported list of operators. More... | |
| const char * | operator[] (size_t i) const |
| It returns a specified comparison operator. More... | |
| static const char * | findOperator (const char *o) |
| It checks if operator 'o' is a valid operator. It returns a pointer to the found operator or NULL otherwise. More... | |
| static void | loadValidOperatorList () |
| It loads the valid comparison operator list. More... | |
| static void | clearValidOperatorList () |
| It clears the valid comparison operator list. More... | |
It is used to indicate what types of comparison operators are supported by a service.
The operators name can be:
Definition at line 63 of file ComparisonOperators.h.
| te::fe::ComparisonOperators::ComparisonOperators | ( | ) |
It initializes a new ComparisonOperators.
| te::fe::ComparisonOperators::~ComparisonOperators | ( | ) |
Destructor.
|
static |
It clears the valid comparison operator list.
|
static |
It checks if operator 'o' is a valid operator. It returns a pointer to the found operator or NULL otherwise.
| o | The operator name we are looking for. |
|
static |
It loads the valid comparison operator list.
| const char * te::fe::ComparisonOperators::operator[] | ( | size_t | i | ) | const |
It returns a specified comparison operator.
| i | The index of desired comparison operator. |
| void te::fe::ComparisonOperators::push_back | ( | const char * | c | ) |
It adds the comparison operator to the supported list of operators.
| c | The comparison operator to be added to the supported list of operators. |
|
private |
Optional.
Definition at line 123 of file ComparisonOperators.h.
|
staticprivate |
The list of valid comparison operators.
Definition at line 124 of file ComparisonOperators.h.