version 1.11, 2002/08/21 22:45:50
|
version 1.12, 2002/08/26 22:57:44
|
|
|
return objectName; | return objectName; |
} | } |
| |
String CIMObjectPath::toStringCanonical(Boolean includeHost) const |
String CIMObjectPath::_toStringCanonical(Boolean includeHost) const |
{ | { |
CIMObjectPath ref = *this; | CIMObjectPath ref = *this; |
| |
|
|
ref._rep->_keyBindings[i]._rep->_name = keyBindingNameLower; | ref._rep->_keyBindings[i]._rep->_name = keyBindingNameLower; |
} | } |
| |
|
// ATTN-RK-20020826: Need to sort keys? |
|
|
return ref.toString(includeHost); | return ref.toString(includeHost); |
} | } |
| |
|
|
| |
Uint32 CIMObjectPath::makeHashCode() const | Uint32 CIMObjectPath::makeHashCode() const |
{ | { |
return HashFunc<String>::hash(toStringCanonical()); |
return HashFunc<String>::hash(_toStringCanonical()); |
} | } |
| |
Boolean operator==(const CIMObjectPath& x, const CIMObjectPath& y) | Boolean operator==(const CIMObjectPath& x, const CIMObjectPath& y) |