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

Diff for /pegasus/src/Pegasus/CQL/CQLTerm.cpp between version 1.1.2.12 and 1.1.2.13

version 1.1.2.12, 2004/10/20 14:55:25 version 1.1.2.13, 2004/11/12 16:46:11
Line 47 
Line 47 
 #undef PEGASUS_ARRAY_T #undef PEGASUS_ARRAY_T
  
  
 CQLTerm::CQLTerm(){  CQLTerm::CQLTerm()
   {
         _rep = new CQLTermRep();         _rep = new CQLTermRep();
 } }
  
 CQLTerm::CQLTerm(const CQLTerm& inTerm){  CQLTerm::CQLTerm(const CQLTerm& inTerm)
         _rep = new CQLTermRep(inTerm._rep);  {
     _rep = new CQLTermRep(*inTerm._rep);
 } }
  
 CQLTerm::CQLTerm(const CQLFactor& theFactor) CQLTerm::CQLTerm(const CQLFactor& theFactor)
Line 60 
Line 62 
         _rep = new CQLTermRep(theFactor);         _rep = new CQLTermRep(theFactor);
 } }
  
 CQLTerm::~CQLTerm(){  CQLTerm::~CQLTerm()
   {
         if(_rep)         if(_rep)
                 delete _rep;                 delete _rep;
 } }
Line 106 
Line 109 
   _rep->applyContext(inContext,inCid);   _rep->applyContext(inContext,inCid);
 } }
  
 CQLTerm& CQLTerm::operator=(const CQLTerm& rhs){  CQLTerm& CQLTerm::operator=(const CQLTerm& rhs)
   {
         if(&rhs != this){         if(&rhs != this){
                 if(_rep) delete _rep;                 if(_rep) delete _rep;
                 _rep = new CQLTermRep(rhs._rep);      _rep = new CQLTermRep(*rhs._rep);
         }         }
         return *this;         return *this;
   
 } }
  
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END


Legend:
Removed from v.1.1.2.12  
changed lines
  Added in v.1.1.2.13

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2