(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.17 and 1.1.2.18

version 1.1.2.17, 2004/11/02 16:18:46 version 1.1.2.18, 2004/11/10 13:57:53
Line 42 
Line 42 
   :SelectStatement()   :SelectStatement()
 { {
   _rep = new CQLSelectStatementRep();   _rep = new CQLSelectStatementRep();
   
     // Set the _rep into the base class also
     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);
   
     // Set the _rep into the base class also
     SelectStatement::_rep = _rep;
 } }
  
 CQLSelectStatement::CQLSelectStatement(const CQLSelectStatement& statement) CQLSelectStatement::CQLSelectStatement(const CQLSelectStatement& statement)
   :SelectStatement()   :SelectStatement()
 { {
   _rep = new CQLSelectStatementRep(*statement._rep);   _rep = new CQLSelectStatementRep(*statement._rep);
   
     // Set the _rep into the base class also
     SelectStatement::_rep = _rep;
 } }
  
 CQLSelectStatement::~CQLSelectStatement() CQLSelectStatement::~CQLSelectStatement()
 { {
   if(_rep)   if(_rep)
     delete _rep;     delete _rep;
   
     // Note - no need to delete the rep in the base class
 } }
  
 CQLSelectStatement& CQLSelectStatement::operator=(const CQLSelectStatement& rhs) CQLSelectStatement& CQLSelectStatement::operator=(const CQLSelectStatement& rhs)
Line 68 
Line 79 
   {   {
     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
       SelectStatement::_rep = _rep;
   }   }
  
   return *this;   return *this;


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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2