version 1.1.2.9, 2004/09/17 14:52:11
|
version 1.1.2.10, 2004/09/20 21:03:03
|
|
|
#include <Pegasus/Common/ArrayImpl.h> | #include <Pegasus/Common/ArrayImpl.h> |
#undef PEGASUS_ARRAY_T | #undef PEGASUS_ARRAY_T |
| |
|
CQLFactor::CQLFactor(){ |
|
_rep = new CQLFactorRep(); |
|
} |
|
|
CQLFactor::CQLFactor(const CQLFactor& inCQLFact) | CQLFactor::CQLFactor(const CQLFactor& inCQLFact) |
{ | { |
_rep = inCQLFact._rep; |
_rep = new CQLFactorRep(inCQLFact._rep); |
} | } |
| |
CQLFactor::CQLFactor(CQLValue& inCQLVal) | CQLFactor::CQLFactor(CQLValue& inCQLVal) |
|
|
_rep->applyScopes(inScopes); | _rep->applyScopes(inScopes); |
} | } |
| |
|
CQLFactor& CQLFactor::operator=(const CQLFactor& rhs){ |
|
if(&rhs != this){ |
|
if(_rep) delete _rep; |
|
_rep = new CQLFactorRep(rhs._rep); |
|
} |
|
|
|
return *this; |
|
} |
|
|
Boolean CQLFactor::operator==(const CQLFactor& factor){ | Boolean CQLFactor::operator==(const CQLFactor& factor){ |
return (_rep == factor._rep); | return (_rep == factor._rep); |
} | } |