It is used to indicate what types of comparison operators are supported by a service.
More...
#include <ComparisonOperators.h>
|
Methods used to get or set properties.
|
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:
- See also
- ScalarCapabilities
Definition at line 63 of file ComparisonOperators.h.
te::fe::ComparisonOperators::ComparisonOperators |
( |
| ) |
|
te::fe::ComparisonOperators::~ComparisonOperators |
( |
| ) |
|
static void te::fe::ComparisonOperators::clearValidOperatorList |
( |
| ) |
|
|
static |
It clears the valid comparison operator list.
static const char* te::fe::ComparisonOperators::findOperator |
( |
const char * |
o | ) |
|
|
static |
It checks if operator 'o' is a valid operator. It returns a pointer to the found operator or NULL otherwise.
- Parameters
-
o | The operator name we are looking for. |
static void te::fe::ComparisonOperators::loadValidOperatorList |
( |
| ) |
|
|
static |
It loads the valid comparison operator list.
const char* te::fe::ComparisonOperators::operator[] |
( |
size_t |
i | ) |
const |
It returns a specified comparison operator.
- Parameters
-
i | The index of desired comparison operator. |
- Returns
- A specified comparison operator.
- Note
- You must not clear the returned comparison operator.
-
The method will not check the index range.
void te::fe::ComparisonOperators::push_back |
( |
const char * |
c | ) |
|
It adds the comparison operator to the supported list of operators.
- Parameters
-
c | The comparison operator to be added to the supported list of operators. |
std::vector<const char*> te::fe::ComparisonOperators::m_comparisonOperators |
|
private |
std::set<const char*, te::common::LessCmp<const char*> > te::fe::ComparisonOperators::sm_validComparisonOperators |
|
staticprivate |
The documentation for this class was generated from the following file: