version 1.14, 2002/08/29 00:27:52
|
version 1.15, 2002/09/05 02:15:32
|
|
|
_BubbleSort(_rep->_keyBindings); | _BubbleSort(_rep->_keyBindings); |
} | } |
| |
String CIMObjectPath::toString(Boolean includeHost) const |
String CIMObjectPath::toString() const |
{ | { |
String objectName; | String objectName; |
| |
// Get the host: | // Get the host: |
| |
if (_rep->_host.size() && includeHost) |
if (_rep->_host.size()) |
{ | { |
objectName = "//"; | objectName = "//"; |
objectName.append(_rep->_host); | objectName.append(_rep->_host); |
|
|
return objectName; | return objectName; |
} | } |
| |
String CIMObjectPath::_toStringCanonical(Boolean includeHost) const |
String CIMObjectPath::_toStringCanonical() const |
{ | { |
CIMObjectPath ref = *this; | CIMObjectPath ref = *this; |
| |
|
|
| |
// ATTN-RK-20020826: Need to sort keys? | // ATTN-RK-20020826: Need to sort keys? |
| |
return ref.toString(includeHost); |
return ref.toString(); |
} | } |
| |
Boolean CIMObjectPath::identical(const CIMObjectPath& x) const | Boolean CIMObjectPath::identical(const CIMObjectPath& x) const |