(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.18 and 1.2

version 1.1.2.18, 2004/11/10 13:57:53 version 1.2, 2004/11/21 12:13:07
Line 56 
Line 56 
   SelectStatement::_rep = _rep;   SelectStatement::_rep = _rep;
 } }
  
   CQLSelectStatement::CQLSelectStatement(String& inQlang, String& inQuery)
     :SelectStatement()
   {
     _rep = new CQLSelectStatementRep(inQlang,inQuery);
   
     // Set the _rep into the base class also
     SelectStatement::_rep = _rep;
   }
   
 CQLSelectStatement::CQLSelectStatement(const CQLSelectStatement& statement) CQLSelectStatement::CQLSelectStatement(const CQLSelectStatement& statement)
   :SelectStatement()   :SelectStatement()
 { {
Line 87 
Line 96 
   return *this;   return *this;
 } }
  
 Boolean CQLSelectStatement::evaluate(const CIMInstance& inCI)  void CQLSelectStatement::setQueryContext(QueryContext& inCtx)
 { {
   PEGASUS_ASSERT(_rep != NULL);   PEGASUS_ASSERT(_rep != NULL);
  
    return _rep->evaluate(inCI);    _rep->setQueryContext(inCtx);
 } }
  
 void CQLSelectStatement::applyProjection(CIMInstance& inCI) throw(Exception)  Boolean CQLSelectStatement::evaluate(const CIMInstance& inCI)
 { {
   PEGASUS_ASSERT(_rep != NULL);   PEGASUS_ASSERT(_rep != NULL);
  
    _rep->applyProjection(inCI);     return _rep->evaluate(inCI);
 } }
  
 void CQLSelectStatement::validateClass(const CIMObjectPath& inClassName) throw(Exception)  void CQLSelectStatement::applyProjection(CIMInstance& inCI) throw(Exception)
 { {
   
   PEGASUS_ASSERT(_rep != NULL);   PEGASUS_ASSERT(_rep != NULL);
  
   _rep->validateClass(inClassName);     _rep->applyProjection(inCI);
 } }
  
 void CQLSelectStatement::validateProperties() throw(Exception)  void CQLSelectStatement::validate() throw(Exception)
 { {
   PEGASUS_ASSERT(_rep != NULL);   PEGASUS_ASSERT(_rep != NULL);
  
   _rep->validateProperties();    _rep->validate();
 } }
  
 Array<CIMObjectPath> CQLSelectStatement::getClassPathList() Array<CIMObjectPath> CQLSelectStatement::getClassPathList()


Legend:
Removed from v.1.1.2.18  
changed lines
  Added in v.1.2

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2