(file) Return to CQLSelectStatement.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / CQL

Diff for /pegasus/src/Pegasus/CQL/CQLSelectStatement.cpp between version 1.1.2.3 and 1.1.2.4

version 1.1.2.3, 2004/08/31 18:16:50 version 1.1.2.4, 2004/09/09 16:10:22
Line 1 
Line 1 
 #include "CQLSelectStatement.h" #include "CQLSelectStatement.h"
   #include "CQLSelectStatementRep.h"
  
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
  
 CQLSelectStatement::CQLSelectStatement(String inQlang, String inQuery, QueryContext& inCtx):  CQLSelectStatement::CQLSelectStatement(String inQlang, String inQuery, QueryContext& inCtx)
 SelectStatement(inQlang, inQuery, inCtx)  
 { {
           _rep = new CQLSelectStatementRep(inQlang,inQuery,inCtx);
   }
   
   CQLSelectStatement::~CQLSelectStatement(){
           if(_rep)
                   delete _rep;
 } }
  
 Boolean CQLSelectStatement::evaluate(CIMInstance const inCI) Boolean CQLSelectStatement::evaluate(CIMInstance const inCI)
 { {
    return false;     return _rep->evaluate(inCI);
 } }
  
 Array<CIMInstance> CQLSelectStatement::executeQuery(Array<CIMInstance> inCIMInstanceArray) throw(Exception) Array<CIMInstance> CQLSelectStatement::executeQuery(Array<CIMInstance> inCIMInstanceArray) throw(Exception)
 { {
    Array<CIMInstance> arr;     return _rep->executeQuery(inCIMInstanceArray);
    return arr;  
 } }
  
 CIMInstance CQLSelectStatement::applyProjection(CIMInstance inCI) throw(Exception) CIMInstance CQLSelectStatement::applyProjection(CIMInstance inCI) throw(Exception)
 { {
    CIMInstance arr;     return _rep->applyProjection(inCI);
    return arr;  
 } }
  
 void CQLSelectStatement::validateClass(const CIMObjectPath& inClassName) throw(Exception) void CQLSelectStatement::validateClass(const CIMObjectPath& inClassName) throw(Exception)
 { {
           _rep->validateClass(inClassName);
 } }
  
 void CQLSelectStatement::validateProperties() throw(Exception) void CQLSelectStatement::validateProperties() throw(Exception)
 { {
           _rep->validateProperties();
 } }
  
 Array<CIMObjectPath> const CQLSelectStatement::getClassPathList() Array<CIMObjectPath> const CQLSelectStatement::getClassPathList()
 { {
    Array<CIMObjectPath> arr;          return _rep->getClassPathList();
    return arr;  
 } }
  
 CIMPropertyList CQLSelectStatement::getPropertyList(const CIMObjectPath& inClassName) CIMPropertyList CQLSelectStatement::getPropertyList(const CIMObjectPath& inClassName)
 { {
    CIMPropertyList arr;     return _rep->getPropertyList(inClassName);
    return arr;  
 } }
  
 void CQLSelectStatement::appendClassPath(const CQLIdentifier& inIdentifier) void CQLSelectStatement::appendClassPath(const CQLIdentifier& inIdentifier)
 { {
         _ctx->insertClassPath(inIdentifier);          _rep->appendClassPath(inIdentifier);
 } }
  
 void CQLSelectStatement::setPredicate(CQLPredicate inPredicate) void CQLSelectStatement::setPredicate(CQLPredicate inPredicate)
 { {
         _predicate = inPredicate;          _rep->setPredicate(inPredicate);
 } }
  
 void CQLSelectStatement::insertClassPathAlias(const CQLIdentifier& inIdentifier, String inAlias) void CQLSelectStatement::insertClassPathAlias(const CQLIdentifier& inIdentifier, String inAlias)
 { {
         _ctx->insertClassPath(inIdentifier,inAlias);          _rep->insertClassPathAlias(inIdentifier,inAlias);
 } }
  
 void CQLSelectStatement::appendSelectIdentifier(const CQLChainedIdentifier& x) void CQLSelectStatement::appendSelectIdentifier(const CQLChainedIdentifier& x)
 { {
           _rep->appendSelectIdentifier(x);
 } }
  
 Boolean CQLSelectStatement::appendWhereIdentifier(const CQLChainedIdentifier& x) Boolean CQLSelectStatement::appendWhereIdentifier(const CQLChainedIdentifier& x)
 { {
    return false;     return _rep->appendWhereIdentifier(x);
 } }
  
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END


Legend:
Removed from v.1.1.2.3  
changed lines
  Added in v.1.1.2.4

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2