version 1.39, 2006/11/10 18:14:57
|
version 1.41, 2007/09/03 11:27:02
|
|
|
| |
const CIMName& CIMObject::getClassName() const | const CIMName& CIMObject::getClassName() const |
{ | { |
_checkRep(); |
CheckRep(_rep); |
return _rep->getClassName(); | return _rep->getClassName(); |
} | } |
| |
const CIMObjectPath& CIMObject::getPath() const | const CIMObjectPath& CIMObject::getPath() const |
{ | { |
_checkRep(); |
CheckRep(_rep); |
return _rep->getPath(); | return _rep->getPath(); |
} | } |
| |
void CIMObject::setPath(const CIMObjectPath & path) | void CIMObject::setPath(const CIMObjectPath & path) |
{ | { |
_checkRep(); |
CheckRep(_rep); |
_rep->setPath(path); | _rep->setPath(path); |
} | } |
| |
CIMObject& CIMObject::addQualifier(const CIMQualifier& qualifier) | CIMObject& CIMObject::addQualifier(const CIMQualifier& qualifier) |
{ | { |
_checkRep(); |
CheckRep(_rep); |
_rep->addQualifier(qualifier); | _rep->addQualifier(qualifier); |
return *this; | return *this; |
} | } |
| |
Uint32 CIMObject::findQualifier(const CIMName& name) const | Uint32 CIMObject::findQualifier(const CIMName& name) const |
{ | { |
_checkRep(); |
CheckRep(_rep); |
return _rep->findQualifier(name); | return _rep->findQualifier(name); |
} | } |
| |
CIMQualifier CIMObject::getQualifier(Uint32 index) | CIMQualifier CIMObject::getQualifier(Uint32 index) |
{ | { |
_checkRep(); |
CheckRep(_rep); |
return _rep->getQualifier(index); | return _rep->getQualifier(index); |
} | } |
| |
CIMConstQualifier CIMObject::getQualifier(Uint32 index) const | CIMConstQualifier CIMObject::getQualifier(Uint32 index) const |
{ | { |
_checkRep(); |
CheckRep(_rep); |
return _rep->getQualifier(index); | return _rep->getQualifier(index); |
} | } |
| |
void CIMObject::removeQualifier(Uint32 index) | void CIMObject::removeQualifier(Uint32 index) |
{ | { |
_checkRep(); |
CheckRep(_rep); |
_rep->removeQualifier(index); | _rep->removeQualifier(index); |
} | } |
| |
Uint32 CIMObject::getQualifierCount() const | Uint32 CIMObject::getQualifierCount() const |
{ | { |
_checkRep(); |
CheckRep(_rep); |
return _rep->getQualifierCount(); | return _rep->getQualifierCount(); |
} | } |
| |
CIMObject& CIMObject::addProperty(const CIMProperty& x) | CIMObject& CIMObject::addProperty(const CIMProperty& x) |
{ | { |
_checkRep(); |
CheckRep(_rep); |
_rep->addProperty(x); | _rep->addProperty(x); |
return *this; | return *this; |
} | } |
| |
Uint32 CIMObject::findProperty(const CIMName& name) const | Uint32 CIMObject::findProperty(const CIMName& name) const |
{ | { |
_checkRep(); |
CheckRep(_rep); |
return _rep->findProperty(name); | return _rep->findProperty(name); |
} | } |
| |
CIMProperty CIMObject::getProperty(Uint32 index) | CIMProperty CIMObject::getProperty(Uint32 index) |
{ | { |
_checkRep(); |
CheckRep(_rep); |
return _rep->getProperty(index); | return _rep->getProperty(index); |
} | } |
| |
CIMConstProperty CIMObject::getProperty(Uint32 index) const | CIMConstProperty CIMObject::getProperty(Uint32 index) const |
{ | { |
_checkRep(); |
CheckRep(_rep); |
return _rep->getProperty(index); | return _rep->getProperty(index); |
} | } |
| |
void CIMObject::removeProperty(Uint32 index) | void CIMObject::removeProperty(Uint32 index) |
{ | { |
_checkRep(); |
CheckRep(_rep); |
_rep->removeProperty(index); | _rep->removeProperty(index); |
} | } |
| |
Uint32 CIMObject::getPropertyCount() const | Uint32 CIMObject::getPropertyCount() const |
{ | { |
_checkRep(); |
CheckRep(_rep); |
return _rep->getPropertyCount(); | return _rep->getPropertyCount(); |
} | } |
| |
|
|
{ | { |
Buffer out; | Buffer out; |
| |
_checkRep(); |
CheckRep(_rep); |
_rep->toXml(out); | _rep->toXml(out); |
out.append('\0'); |
|
| |
return out.getData(); | return out.getData(); |
} | } |
|
|
| |
Boolean CIMObject::identical(const CIMConstObject& x) const | Boolean CIMObject::identical(const CIMConstObject& x) const |
{ | { |
x._checkRep(); |
CheckRep(x._rep); |
_checkRep(); |
CheckRep(_rep); |
return _rep->identical(x._rep); | return _rep->identical(x._rep); |
} | } |
| |
CIMObject CIMObject::clone() const | CIMObject CIMObject::clone() const |
{ | { |
_checkRep(); |
CheckRep(_rep); |
return CIMObject(_rep->clone()); | return CIMObject(_rep->clone()); |
} | } |
| |
|
|
| |
const CIMName& CIMConstObject::getClassName() const | const CIMName& CIMConstObject::getClassName() const |
{ | { |
_checkRep(); |
CheckRep(_rep); |
return _rep->getClassName(); | return _rep->getClassName(); |
} | } |
| |
const CIMObjectPath& CIMConstObject::getPath() const | const CIMObjectPath& CIMConstObject::getPath() const |
{ | { |
_checkRep(); |
CheckRep(_rep); |
return _rep->getPath(); | return _rep->getPath(); |
} | } |
| |
Uint32 CIMConstObject::findQualifier(const CIMName& name) const | Uint32 CIMConstObject::findQualifier(const CIMName& name) const |
{ | { |
_checkRep(); |
CheckRep(_rep); |
return _rep->findQualifier(name); | return _rep->findQualifier(name); |
} | } |
| |
CIMConstQualifier CIMConstObject::getQualifier(Uint32 index) const | CIMConstQualifier CIMConstObject::getQualifier(Uint32 index) const |
{ | { |
_checkRep(); |
CheckRep(_rep); |
return _rep->getQualifier(index); | return _rep->getQualifier(index); |
} | } |
| |
Uint32 CIMConstObject::getQualifierCount() const | Uint32 CIMConstObject::getQualifierCount() const |
{ | { |
_checkRep(); |
CheckRep(_rep); |
return _rep->getQualifierCount(); | return _rep->getQualifierCount(); |
} | } |
| |
Uint32 CIMConstObject::findProperty(const CIMName& name) const | Uint32 CIMConstObject::findProperty(const CIMName& name) const |
{ | { |
_checkRep(); |
CheckRep(_rep); |
return _rep->findProperty(name); | return _rep->findProperty(name); |
} | } |
| |
CIMConstProperty CIMConstObject::getProperty(Uint32 index) const | CIMConstProperty CIMConstObject::getProperty(Uint32 index) const |
{ | { |
_checkRep(); |
CheckRep(_rep); |
return _rep->getProperty(index); | return _rep->getProperty(index); |
} | } |
| |
Uint32 CIMConstObject::getPropertyCount() const | Uint32 CIMConstObject::getPropertyCount() const |
{ | { |
_checkRep(); |
CheckRep(_rep); |
return _rep->getPropertyCount(); | return _rep->getPropertyCount(); |
} | } |
| |
|
|
{ | { |
Buffer out; | Buffer out; |
| |
_checkRep(); |
CheckRep(_rep); |
_rep->toXml(out); | _rep->toXml(out); |
out.append('\0'); |
|
| |
return out.getData(); | return out.getData(); |
} | } |
|
|
| |
Boolean CIMConstObject::identical(const CIMConstObject& x) const | Boolean CIMConstObject::identical(const CIMConstObject& x) const |
{ | { |
x._checkRep(); |
CheckRep(x._rep); |
_checkRep(); |
CheckRep(_rep); |
return _rep->identical(x._rep); | return _rep->identical(x._rep); |
} | } |
| |