(file) Return to NameSpaceManager.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Repository

Diff for /pegasus/src/Pegasus/Repository/NameSpaceManager.cpp between version 1.45 and 1.46

version 1.45, 2006/01/30 16:18:20 version 1.46, 2006/09/22 18:53:57
Line 1722 
Line 1722 
     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;
  
Line 1750 
Line 1750 
     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


Legend:
Removed from v.1.45  
changed lines
  Added in v.1.46

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2