version 1.13, 2002/06/01 00:56:55
|
version 1.14, 2002/09/13 21:40:42
|
|
|
// | // |
// 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) |
// | // |
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
|
|
} | } |
| |
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); |
|
|
| |
| |
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); |
|
|
} | } |
| |
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 |
|
|
} | } |
| |
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); |