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... | |
Private Attributes | |
| std::vector< const char * > | m_comparisonOperators | 
| Optional.  More... | |
Static Private Attributes | |
| static std::set< const char  *, te::common::LessCmp< const char * > >  | sm_validComparisonOperators | 
| The list of valid comparison operators.  More... | |
Accessor methods | |
| 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.
Definition at line 35 of file ComparisonOperators.cpp.
| te::fe::ComparisonOperators::~ComparisonOperators | ( | ) | 
Destructor.
Definition at line 39 of file ComparisonOperators.cpp.
      
  | 
  static | 
It clears the valid comparison operator list.
Definition at line 81 of file ComparisonOperators.cpp.
Referenced by te::fe::Module::finalize().
      
  | 
  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. | 
Definition at line 56 of file ComparisonOperators.cpp.
      
  | 
  static | 
It loads the valid comparison operator list.
Definition at line 68 of file ComparisonOperators.cpp.
References te::fe::Globals::sm_between, te::fe::Globals::sm_equalTo, te::fe::Globals::sm_greaterThan, te::fe::Globals::sm_greaterThanEqualTo, te::fe::Globals::sm_lessThan, te::fe::Globals::sm_lessThanEqualTo, te::fe::Globals::sm_like, te::fe::Globals::sm_notEqualTo, and te::fe::Globals::sm_nullCheck.
Referenced by te::fe::Module::initialize().
| const char * te::fe::ComparisonOperators::operator[] | ( | size_t | i | ) | const | 
It returns a specified comparison operator.
| i | The index of desired comparison operator. | 
Definition at line 50 of file ComparisonOperators.cpp.
| 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. | 
Definition at line 44 of file ComparisonOperators.cpp.
      
  | 
  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.