version 1.30, 2003/11/05 04:10:41
|
version 1.30.10.1, 2004/11/12 17:48:28
|
|
|
return (_rep == 0)? true : false; | return (_rep == 0)? true : false; |
} | } |
| |
|
String CIMObject::toString () const |
|
{ |
|
Array<Sint8> out; |
|
|
|
_checkRep(); |
|
// PEP says to use toMof for "human readable", but testcases seem to expect XML. |
|
// _rep->toMof(out); |
|
_rep->toXml(out); |
|
|
|
return out.getData(); |
|
} |
|
|
Boolean CIMObject::isClass () const | Boolean CIMObject::isClass () const |
{ | { |
try | try |
|
|
return (_rep == 0)? true : false; | return (_rep == 0)? true : false; |
} | } |
| |
|
String CIMConstObject::toString () const |
|
{ |
|
Array<Sint8> out; |
|
|
|
_checkRep(); |
|
_rep->toMof(out); |
|
|
|
return out.getData(); |
|
} |
|
|
Boolean CIMConstObject::isClass() const | Boolean CIMConstObject::isClass() const |
{ | { |
try | try |