version 1.45, 2006/01/30 16:18:20
|
version 1.46, 2006/09/22 18:53:57
|
|
|
const CIMName& className, | const CIMName& className, |
Boolean throwExcp) const | Boolean throwExcp) const |
{ | { |
PEG_METHOD_ENTER(TRC_REPOSITORY, "NameSpaceManager::classHasChildren()"); |
PEG_METHOD_ENTER(TRC_REPOSITORY, "NameSpaceManager::classExists()"); |
| |
Boolean first=true; | Boolean first=true; |
| |
|
|
return false; | return false; |
} | } |
| |
|
Boolean NameSpaceManager::classExists( |
|
const CIMNamespaceName& nameSpaceName, |
|
const CIMName& className) const |
|
{ |
|
PEG_METHOD_ENTER(TRC_REPOSITORY, "NameSpaceManager::classExists()"); |
|
|
|
NameSpace *nameSpace = 0; |
|
|
|
if (!_rep->table.lookup(nameSpaceName.getString(), nameSpace)) |
|
{ |
|
PEG_METHOD_EXIT(); |
|
throw PEGASUS_CIM_EXCEPTION( |
|
CIM_ERR_INVALID_NAMESPACE, nameSpaceName.getString()); |
|
} |
|
|
|
Boolean exists = classExists(nameSpace, className, false); |
|
|
|
PEG_METHOD_EXIT(); |
|
return exists; |
|
} |
|
|
PEGASUS_NAMESPACE_END | PEGASUS_NAMESPACE_END |