cmpi
|
#include <cmpi/cmpift.h>
This structure is a table of pointers providing access to ObjectPath support sevices.
CMPIStatus(* _CMPIObjectPathFT::addKey)(CMPIObjectPath *op, const char *name, const CMPIValue *value, const CMPIType type) |
Adds/replaces a named key property.
op | ObjectPath this pointer. |
name | Key property name. |
value | Address of value structure. |
type | Value type. |
Referenced by CmpiObjectPath::setKey().
CMPIObjectPath*(* _CMPIObjectPathFT::clone)(const CMPIObjectPath *op, CMPIStatus *rc) |
Create an independent copy of this ObjectPath object. The resulting object must be released explicitly.
op | ObjectPath this pointer. |
rc | Output: Service return status (suppressed when NULL). |
Function table version
CMPIString*(* _CMPIObjectPathFT::getClassName)(const CMPIObjectPath *op, CMPIStatus *rc) |
Get the classname component.
op | ObjectPath this pointer. |
rc | Output: Service return status (suppressed when NULL). |
Referenced by CmpiObjectPath::getClassName().
CMPIData(* _CMPIObjectPathFT::getClassQualifier)(const CMPIObjectPath *op, const char *qName, CMPIStatus *rc) |
Get class qualifier value.
op | ObjectPath this pointer. |
qName | Qualifier name. |
rc | Output: Service return status (suppressed when NULL). |
CMPIString*(* _CMPIObjectPathFT::getHostname)(const CMPIObjectPath *op, CMPIStatus *rc) |
Get the hostname component.
op | ObjectPath this pointer. |
rc | Output: Service return status (suppressed when NULL). |
Referenced by CmpiObjectPath::getHostname().
CMPIData(* _CMPIObjectPathFT::getKey)(const CMPIObjectPath *op, const char *name, CMPIStatus *rc) |
Gets a named key property value.
op | ObjectPath this pointer. |
name | Key property name. |
rc | Output: Service return status (suppressed when NULL). |
Referenced by CmpiObjectPath::getKey().
CMPIData(* _CMPIObjectPathFT::getKeyAt)(const CMPIObjectPath *op, CMPICount index, CMPIString **name, CMPIStatus *rc) |
Gets a key property value defined by its index.
op | ObjectPath this pointer. |
index | Position in the internal Data array. |
name | Output: Returned property name (suppressed when NULL). |
rc | Output: Service return status (suppressed when NULL). |
Referenced by CmpiObjectPath::getKey().
CMPICount(* _CMPIObjectPathFT::getKeyCount)(const CMPIObjectPath *op, CMPIStatus *rc) |
Gets the number of key properties contained in this ObjectPath.
op | ObjectPath this pointer. |
rc | Output: Service return status (suppressed when NULL). |
Referenced by CmpiObjectPath::getKeyCount().
CMPIData(* _CMPIObjectPathFT::getMethodQualifier)(const CMPIObjectPath *op, const char *methodName, const char *qName, CMPIStatus *rc) |
Get method qualifier value.
op | ObjectPath this pointer. |
mName | Method name. |
qName | Qualifier name. |
rc | Output: Service return status (suppressed when NULL). |
CMPIString*(* _CMPIObjectPathFT::getNameSpace)(const CMPIObjectPath *op, CMPIStatus *rc) |
Get the namespace component.
op | ObjectPath this pointer. |
rc | Output: Service return status (suppressed when NULL). |
Referenced by CmpiObjectPath::getNameSpace().
CMPIData(* _CMPIObjectPathFT::getParameterQualifier)(const CMPIObjectPath *op, const char *mName, const char *pName, const char *qName, CMPIStatus *rc) |
Get method parameter quailifier value.
op | ObjectPath this pointer. |
mName | Method name. |
pName | Parameter name. |
qName | Qualifier name. |
rc | Output: Service return status (suppressed when NULL). |
CMPIData(* _CMPIObjectPathFT::getPropertyQualifier)(const CMPIObjectPath *op, const char *pName, const char *qName, CMPIStatus *rc) |
Get property qualifier value.
op | ObjectPath this pointer. |
pName | Property name. |
qName | Qualifier name. |
rc | Output: Service return status (suppressed when NULL). |
The ObjectPath object will not be used any further and may be freed by CMPI run time system.
op | ObjectPath this pointer. |
CMPIStatus(* _CMPIObjectPathFT::setClassName)(CMPIObjectPath *op, const char *cn) |
Set/replace the classname component.
op | ObjectPath this pointer. |
cn | The hostname string |
Referenced by CmpiObjectPath::setClassName().
CMPIStatus(* _CMPIObjectPathFT::setHostAndNameSpaceFromObjectPath)(CMPIObjectPath *op, const CMPIObjectPath *src) |
Set/replace hostname, namespace and classname components from <src>.
op | ObjectPath this pointer. |
src | Source input. |
CMPIStatus(* _CMPIObjectPathFT::setHostname)(CMPIObjectPath *op, const char *hn) |
Set/replace the hostname component.
op | ObjectPath this pointer. |
hn | The hostname string |
Referenced by CmpiObjectPath::setHostname().
CMPIStatus(* _CMPIObjectPathFT::setNameSpace)(CMPIObjectPath *op, const char *ns) |
Set/replace the namespace component.
op | ObjectPath this pointer. |
ns | The namespace string |
Referenced by CmpiObjectPath::setNameSpace().
CMPIStatus(* _CMPIObjectPathFT::setNameSpaceFromObjectPath)(CMPIObjectPath *op, const CMPIObjectPath *src) |
Set/replace namespace and classname components from <src>.
op | ObjectPath this pointer. |
src | Source input. |
CMPIString*(* _CMPIObjectPathFT::toString)(const CMPIObjectPath *op, CMPIStatus *rc) |
Generates a well formed string representation of this ObjectPath
op | ObjectPath this pointer. |
rc | Output: Service return status (suppressed when NULL). |