32 : m_hasLogicalOperators(false),
33 m_comparisonOperators(0),
34 m_arithmeticOperators(0)
40 delete m_comparisonOperators;
41 delete m_arithmeticOperators;
46 return m_hasLogicalOperators;
51 m_hasLogicalOperators =
true;
56 m_hasLogicalOperators =
false;
61 delete m_comparisonOperators;
62 m_comparisonOperators = cOps;
67 return m_comparisonOperators;
72 delete m_arithmeticOperators;
73 m_arithmeticOperators = aOps;
78 return m_arithmeticOperators;
const ComparisonOperators * getComparisonOperators() const
It returns the comparison operators.
bool hasLogicalOperators() const
It returns true if it has logical operators support, otherwise, returns false.
It is used to indicate what types of comparison operators are supported by a service.
void enableLogicalOperators()
It enables the logical operators support.
void setArithmeticOperators(ArithmeticOperators *aOps)
It sets the arithmetic operators.
~ScalarCapabilities()
Destructor.
It is used to indicate the arithmetic operators that a service can support.
Scalar capabilities include the ability to process logical expressions, comparisons and arithmetic op...
void disableLogicalOperators()
const ArithmeticOperators * getArithmeticOperators() const
It returns the arithmetic operators.
ScalarCapabilities()
It initializes a new ScalarCapabilities.
It is used to indicate what arithmetic operators the a service can support.
It is used to indicate what types of comparison operators are supported by a service.
void setComparisonOperators(ComparisonOperators *cOps)
It sets the comparison operators.