#include <CmpiObjectPath.h>
Inheritance diagram for CmpiObjectPath:
Public Member Functions | |
CmpiObjectPath (CMPIObjectPath *c) | |
Protected constructor used by MIDrivers to encapsulate CMPIObjectPathes. | |
CMPIObjectPath * | getEnc () const |
Gets the encapsulated CMPIObjectPath. | |
CmpiObjectPath () | |
Constructor - Should not be called. | |
void * | makeObjectPath (CMPIBroker *mb, const char *ns, const char *cls) |
void * | makeObjectPath (CMPIBroker *mb, const CmpiString &ns, const char *cls) |
CMPIBoolean | doClassPathIsA (CMPIBroker *mb, const char *className) |
CmpiObjectPath (const char *ns, const char *cls) | |
Constructor - Creates an ObjectPath object with the classname from the input parameter. | |
CmpiObjectPath (const CmpiString &ns, const char *cls) | |
CMPIBoolean | classPathIsA (const char *className) |
classPathIsA - Tests whether this CIM ObjectPath is a reference to a CIM class is of type <className>. | |
CmpiString | getHostname () const |
getHostname - returns the hostname component of the ObjectPath | |
void | setHostname (const char *hn) |
setHostname - Sets the hostname component. | |
void | setHostname (CmpiString hn) |
CmpiString | getNameSpace () const |
getNameSpace - returns the namespace component of the ObjectPath | |
void | setNameSpace (const char *ns) |
setNameSpace - Sets the namespace component. | |
void | setNameSpace (CmpiString ns) |
CmpiString | getClassName () const |
getClassName - returns the classname component of the ObjectPath | |
void | setClassName (const char *hn) |
setClassName - Sets the classname component. | |
void | setClassName (CmpiString hn) |
unsigned int | getKeyCount () const |
getKeyCount - Gets the number of key properties defined for this ObjectPath. | |
CmpiData | getKey (const char *name) const |
getKey - Gets the CmpiData object representing the value associated with the key | |
CmpiData | getKey (const int index, CmpiString *name=NULL) const |
getKey - Gets the CmpiData object defined by the input index parameter. | |
void | setKey (const char *name, CmpiData data) |
setKey - adds/replaces a key value defined by the input parameter to the ObjectPath | |
Friends | |
class | CmpiBroker |
class | CmpiResult |
class | CmpiInstance |
class | CmpiInstanceMI |
class | CmpiMethodMI |
class | CmpiAssociationMI |
class | CmpiPropertyMI |
class | CmpiIndicationMI |
class | CmpiData |
It constains the namespace, classname and key properties. ObjectPath can also be used to represent a class reference. In that case key properties will be ignored.
Definition at line 39 of file CmpiObjectPath.h.
|
Protected constructor used by MIDrivers to encapsulate CMPIObjectPathes.
Definition at line 53 of file CmpiObjectPath.h. |
|
Constructor - Should not be called.
Definition at line 64 of file CmpiObjectPath.h. |
|
Constructor - Creates an ObjectPath object with the classname from the input parameter.
Definition at line 76 of file CmpiObjectPath.h. References CmpiObject::enc, CmpiProviderBase::getBroker(), and makeObjectPath(). |
|
Definition at line 79 of file CmpiObjectPath.h. References CmpiObject::enc, CmpiProviderBase::getBroker(), makeObjectPath(), and ns. |
|
classPathIsA - Tests whether this CIM ObjectPath is a reference to a CIM class is of type <className>.
Definition at line 88 of file CmpiObjectPath.h. References doClassPathIsA(), and CmpiProviderBase::getBroker(). |
|
Definition at line 814 of file CmpiImpl.cpp. References _CMPIBrokerEncFT::classPathIsA, CMPI_RC_OK, CmpiBoolean, _CMPIBroker::eft, getEnc(), and _CMPIStatus::rc. Referenced by classPathIsA(). |
|
getClassName - returns the classname component of the ObjectPath
Definition at line 845 of file CmpiImpl.cpp. References CMPI_RC_OK, _CMPIObjectPath::ft, _CMPIObjectPathFT::getClassName, getEnc(), _CMPIStatus::rc, and s. |
|
Gets the encapsulated CMPIObjectPath.
Definition at line 58 of file CmpiObjectPath.h. References CmpiObject::enc. Referenced by doClassPathIsA(), getClassName(), getHostname(), getKey(), getKeyCount(), getNameSpace(), CmpiResult::returnData(), setClassName(), setHostname(), setKey(), and setNameSpace(). |
|
getHostname - returns the hostname component of the ObjectPath
Definition at line 833 of file CmpiImpl.cpp. References CMPI_RC_OK, _CMPIObjectPath::ft, getEnc(), _CMPIObjectPathFT::getHostname, _CMPIStatus::rc, and s. |
|
getKey - Gets the CmpiData object defined by the input index parameter.
Definition at line 872 of file CmpiImpl.cpp. References CMPI_RC_OK, CmpiData::data, _CMPIObjectPath::ft, getEnc(), _CMPIObjectPathFT::getKeyAt, name, _CMPIStatus::rc, and s. |
|
getKey - Gets the CmpiData object representing the value associated with the key
Definition at line 857 of file CmpiImpl.cpp. References CMPI_RC_OK, CmpiData::data, _CMPIObjectPath::ft, getEnc(), _CMPIObjectPathFT::getKey, and _CMPIStatus::rc. |
|
getKeyCount - Gets the number of key properties defined for this ObjectPath.
Definition at line 865 of file CmpiImpl.cpp. References CMPI_RC_OK, _CMPIObjectPath::ft, getEnc(), _CMPIObjectPathFT::getKeyCount, and _CMPIStatus::rc. |
|
getNameSpace - returns the namespace component of the ObjectPath
Definition at line 821 of file CmpiImpl.cpp. References CMPI_RC_OK, _CMPIObjectPath::ft, getEnc(), _CMPIObjectPathFT::getNameSpace, _CMPIStatus::rc, and s. |
|
Definition at line 807 of file CmpiImpl.cpp. References CMGetCharPtr, CMPI_RC_OK, _CMPIBroker::eft, _CMPIBrokerEncFT::newObjectPath, ns, and _CMPIStatus::rc. |
|
Definition at line 800 of file CmpiImpl.cpp. References CMPI_RC_OK, _CMPIBroker::eft, _CMPIBrokerEncFT::newObjectPath, and _CMPIStatus::rc. Referenced by CmpiObjectPath(). |
|
Definition at line 128 of file CmpiObjectPath.h. References CmpiString::charPtr(), and setClassName(). |
|
setClassName - Sets the classname component.
Definition at line 852 of file CmpiImpl.cpp. References CMPI_RC_OK, _CMPIObjectPath::ft, getEnc(), _CMPIStatus::rc, and _CMPIObjectPathFT::setClassName. Referenced by setClassName(). |
|
Definition at line 102 of file CmpiObjectPath.h. References CmpiString::charPtr(), and setHostname(). |
|
setHostname - Sets the hostname component.
Definition at line 840 of file CmpiImpl.cpp. References CMPI_RC_OK, _CMPIObjectPath::ft, getEnc(), _CMPIStatus::rc, and _CMPIObjectPathFT::setHostname. Referenced by setHostname(). |
|
setKey - adds/replaces a key value defined by the input parameter to the ObjectPath
Definition at line 882 of file CmpiImpl.cpp. References _CMPIObjectPathFT::addKey, _CMPIValue::chars, CMPI_chars, CMPI_RC_OK, CmpiData::data, _CMPIObjectPath::ft, getEnc(), _CMPIStatus::rc, _CMPIData::type, and _CMPIData::value. |
|
Definition at line 115 of file CmpiObjectPath.h. References ns, and setNameSpace(). |
|
setNameSpace - Sets the namespace component.
Definition at line 828 of file CmpiImpl.cpp. References CMPI_RC_OK, _CMPIObjectPath::ft, getEnc(), _CMPIStatus::rc, and _CMPIObjectPathFT::setNameSpace. Referenced by setNameSpace(). |
|
Definition at line 45 of file CmpiObjectPath.h. |
|
Reimplemented from CmpiObject. Definition at line 40 of file CmpiObjectPath.h. |
|
Definition at line 48 of file CmpiObjectPath.h. |
|
Definition at line 47 of file CmpiObjectPath.h. |
|
Reimplemented from CmpiObject. Definition at line 42 of file CmpiObjectPath.h. |
|
Definition at line 43 of file CmpiObjectPath.h. |
|
Definition at line 44 of file CmpiObjectPath.h. |
|
Definition at line 46 of file CmpiObjectPath.h. |
|
Definition at line 41 of file CmpiObjectPath.h. |