(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.7 and 1.8

version 1.7, 2006/01/30 16:16:39 version 1.8, 2007/04/18 20:14:35
Line 29 
Line 29 
 // //
 //============================================================================== //==============================================================================
 // //
 // Authors: David Rosckes (rosckes@us.ibm.com)  
 //          Bert Rivero (hurivero@us.ibm.com)  
 //          Chuck Carmack (carmack@us.ibm.com)  
 //          Brian Lucier (lucier@us.ibm.com)  
 //  
 // Modified By: David Dillard, VERITAS Software Corp.  
 //                  (david.dillard@veritas.com)  
 //  
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
 #include "CQLSelectStatement.h" #include "CQLSelectStatement.h"
Line 55 
Line 47 
   SelectStatement::_rep = _rep;   SelectStatement::_rep = _rep;
 } }
  
 CQLSelectStatement::CQLSelectStatement(String& inQlang, String& inQuery, QueryContext& inCtx)  CQLSelectStatement::CQLSelectStatement(String& inQlang, String& inQuery,
       QueryContext& inCtx)
   :SelectStatement()   :SelectStatement()
 { {
   _rep = new CQLSelectStatementRep(inQlang,inQuery,inCtx);   _rep = new CQLSelectStatementRep(inQlang,inQuery,inCtx);
Line 94 
Line 87 
 { {
   if(&rhs != this)   if(&rhs != this)
   {   {
     if(_rep) delete _rep;          if(_rep)
               delete _rep;
     _rep = new CQLSelectStatementRep(*rhs._rep);     _rep = new CQLSelectStatementRep(*rhs._rep);
  
     // Set the _rep into the base class also     // Set the _rep into the base class also
     SelectStatement::_rep = _rep;     SelectStatement::_rep = _rep;
   }   }
   
   return *this;   return *this;
 } }
  
Line 133 
Line 126 
   return _rep->getClassPathList();   return _rep->getClassPathList();
 } }
  
 CIMPropertyList CQLSelectStatement::getPropertyList(const CIMObjectPath& inClassName)  CIMPropertyList CQLSelectStatement::getPropertyList(
       const CIMObjectPath& inClassName)
 { {
   // Should be set by the concrete sub-classes   // Should be set by the concrete sub-classes
   PEGASUS_ASSERT(_rep != NULL);   PEGASUS_ASSERT(_rep != NULL);
Line 141 
Line 135 
    return _rep->getPropertyList(inClassName);    return _rep->getPropertyList(inClassName);
 } }
  
 CIMPropertyList CQLSelectStatement::getSelectPropertyList(const CIMObjectPath& inClassName)  CIMPropertyList CQLSelectStatement::getSelectPropertyList(
       const CIMObjectPath& inClassName)
 { {
   // Should be set by the concrete sub-classes   // Should be set by the concrete sub-classes
   PEGASUS_ASSERT(_rep != NULL);   PEGASUS_ASSERT(_rep != NULL);
Line 149 
Line 144 
   return _rep->getSelectPropertyList(inClassName);   return _rep->getSelectPropertyList(inClassName);
 } }
  
 CIMPropertyList CQLSelectStatement::getWherePropertyList(const CIMObjectPath& inClassName)  CIMPropertyList CQLSelectStatement::getWherePropertyList(
       const CIMObjectPath& inClassName)
 { {
   // Should be set by the concrete sub-classes   // Should be set by the concrete sub-classes
   PEGASUS_ASSERT(_rep != NULL);   PEGASUS_ASSERT(_rep != NULL);
Line 194 
Line 190 
   return _rep->getPredicate();   return _rep->getPredicate();
 } }
  
 void CQLSelectStatement::insertClassPathAlias(const CQLIdentifier& inIdentifier, String inAlias)  void CQLSelectStatement::insertClassPathAlias(
       const CQLIdentifier& inIdentifier, String inAlias)
 { {
   PEGASUS_ASSERT(_rep != NULL);   PEGASUS_ASSERT(_rep != NULL);
  


Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2