#include #include #include #include PEGASUS_NAMESPACE_BEGIN #define PEGASUS_ARRAY_T FactorOpType #include #undef PEGASUS_ARRAY_T #define PEGASUS_ARRAY_T CQLTerm #include #undef PEGASUS_ARRAY_T CQLTerm::CQLTerm():_rep(0){ } CQLTerm::CQLTerm(const CQLTerm& inTerm){ _rep = inTerm._rep; } CQLTerm::CQLTerm(CQLFactor theFactor) { _rep = new CQLTermRep(theFactor); } CQLTerm::~CQLTerm(){ if(_rep) delete _rep; } CQLValue CQLTerm::resolveValue(CIMInstance CI, QueryContext& QueryCtx) { return _rep->resolveValue(CI,QueryCtx); } void CQLTerm::appendOperation(FactorOpType inFactorOpType, CQLFactor inFactor) { _rep->appendOperation(inFactorOpType,inFactor); } String CQLTerm::toString() { return _rep->toString(); } Boolean CQLTerm::isSimpleValue() { return _rep->isSimpleValue(); } Array CQLTerm::getFactors() { return _rep->getFactors(); } Array CQLTerm::getOperators() { return _rep->getOperators(); } void CQLTerm::applyScopes(Array inScope) { _rep->applyScopes(inScope); } PEGASUS_NAMESPACE_END