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;
It is used to indicate what types of comparison operators are supported by a service.
void enableLogicalOperators()
It enables the logical operators support.
bool hasLogicalOperators() const
It returns true if it has logical operators support, otherwise, returns false.
const ComparisonOperators * getComparisonOperators() const
It returns the comparison operators.
ScalarCapabilities()
It initializes a new ScalarCapabilities.
It is used to indicate the arithmetic operators that a service can support.
void setComparisonOperators(ComparisonOperators *cOps)
It sets the comparison operators.
It is used to indicate what arithmetic operators the a service can support.
const ArithmeticOperators * getArithmeticOperators() const
It returns the arithmetic operators.
Scalar capabilities include the ability to process logical expressions, comparisons and arithmetic op...
void setArithmeticOperators(ArithmeticOperators *aOps)
It sets the arithmetic operators.
void disableLogicalOperators()
It is used to indicate what types of comparison operators are supported by a service.
~ScalarCapabilities()
Destructor.