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

Diff for /pegasus/src/Pegasus/Compiler/cimmofRepository.cpp between version 1.13 and 1.14

version 1.13, 2002/06/01 00:56:55 version 1.14, 2002/09/13 21:40:42
Line 23 
Line 23 
 // //
 // Author: Bob Blair (bblair@bmc.com) // Author: Bob Blair (bblair@bmc.com)
 // //
 // Modified By:  // Modified By: Carol Ann Krug Graves, Hewlett-Packard Company
   //                (carolann_graves@hp.com)
 // //
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
Line 63 
Line 64 
 } }
  
 int int
 cimmofRepository::addClass(const String &nameSpace, CIMClass *classdecl)  cimmofRepository::addClass(const CIMNamespaceName &nameSpace,
                              CIMClass *classdecl)
 { {
   // Don't catch errors: pass them up to the requester   // Don't catch errors: pass them up to the requester
   _context->addClass( nameSpace,  *classdecl);   _context->addClass( nameSpace,  *classdecl);
Line 72 
Line 74 
  
  
 int int
 cimmofRepository::addInstance(const String &nameSpace, CIMInstance *instance)  cimmofRepository::addInstance(const CIMNamespaceName &nameSpace,
                                 CIMInstance *instance)
 { {
   // Don't catch errors: pass them up to the requester   // Don't catch errors: pass them up to the requester
   _context->addInstance(nameSpace, *instance);   _context->addInstance(nameSpace, *instance);
Line 80 
Line 83 
 } }
  
 int int
 cimmofRepository::addQualifier(const String &nameSpace,  cimmofRepository::addQualifier(const CIMNamespaceName &nameSpace,
                                CIMQualifierDecl *qualifier)                                CIMQualifierDecl *qualifier)
 { {
   // Don't catch errors: pass them up to the requester   // Don't catch errors: pass them up to the requester
Line 89 
Line 92 
 } }
  
 CIMQualifierDecl CIMQualifierDecl
 cimmofRepository::getQualifierDecl(const String &nameSpace, const String &name)  cimmofRepository::getQualifierDecl(const CIMNamespaceName &nameSpace,
                                      const CIMName &name)
 { {
   // Don't catch errors: pass them up to the requester   // Don't catch errors: pass them up to the requester
   return _context->lookupQualifierDecl(nameSpace, name);   return _context->lookupQualifierDecl(nameSpace, name);
 } }
  
 CIMClass CIMClass
 cimmofRepository::getClass(const String &nameSpace, const String &classname)  cimmofRepository::getClass(const CIMNamespaceName &nameSpace,
                              const CIMName &classname)
 { {
   // Don't catch errors: pass them up to the requester   // Don't catch errors: pass them up to the requester
   return _context->lookupClass(nameSpace, classname);   return _context->lookupClass(nameSpace, classname);
 } }
  
 void void
 cimmofRepository::createNameSpace(const String &nameSpaceName)  cimmofRepository::createNameSpace(const CIMNamespaceName &nameSpaceName)
 { {
   if (_cimrepository && _ot != compilerCommonDefs::IGNORE_REPOSITORY)   if (_cimrepository && _ot != compilerCommonDefs::IGNORE_REPOSITORY)
     _cimrepository->createNameSpace(nameSpaceName);     _cimrepository->createNameSpace(nameSpaceName);


Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2