struct _CMPIObjectPathFT

This structure is a table of pointers providing access to ObjectPath support sevices

Documentation

This structure is a table of pointers providing access to ObjectPath support sevices

[more]int ftVersion
Function table version
[more]CMPIStatus (*release)(CMPIObjectPath* op)
The ObjectPath object will not be used any further and may be freed by CMPI run time system.
[more]CMPIObjectPath* (*clone)(const CMPIObjectPath* op, CMPIStatus* rc)
Create an independent copy of this ObjectPath object.
[more]CMPIStatus (*setNameSpace)(CMPIObjectPath* op, const char* ns)
Set/replace the namespace component.
[more]CMPIString* (*getNameSpace)(const CMPIObjectPath* op, CMPIStatus* rc)
Get the namespace component.
[more]CMPIStatus (*setHostname)(CMPIObjectPath* op, const char* hn)
Set/replace the hostname component.
[more]CMPIString* (*getHostname)(const CMPIObjectPath* op, CMPIStatus* rc)
Get the hostname component.
[more]CMPIStatus (*setClassName)(CMPIObjectPath* op, const char* cn)
Set/replace the classname component.
[more]CMPIString* (*getClassName)(const CMPIObjectPath* op, CMPIStatus* rc)
Get the classname component.
[more]CMPIStatus (*addKey)(CMPIObjectPath* op, const char* name, const CMPIValue* value, const CMPIType type)
Adds/replaces a named key property.
[more]CMPIData (*getKey)(const CMPIObjectPath* op, const char* name, CMPIStatus* rc)
Gets a named key property value.
[more]CMPIData (*getKeyAt)(const CMPIObjectPath* op, CMPICount index, CMPIString** name, CMPIStatus* rc)
Gets a key property value defined by its index.
[more]CMPICount (*getKeyCount)(const CMPIObjectPath* op, CMPIStatus* rc)
Gets the number of key properties contained in this ObjectPath.
[more]CMPIStatus (*setNameSpaceFromObjectPath)(CMPIObjectPath* op, const CMPIObjectPath* src)
Set/replace namespace and classname components from <src>.
[more]CMPIStatus (*setHostAndNameSpaceFromObjectPath)(CMPIObjectPath* op, const CMPIObjectPath* src)
Set/replace hostname, namespace and classname components from <src>.
[more]CMPIData (*getClassQualifier)(const CMPIObjectPath* op, const char* qName, CMPIStatus* rc)
Get class qualifier value.
[more]CMPIData (*getPropertyQualifier)(const CMPIObjectPath* op, const char* pName, const char* qName, CMPIStatus* rc)
Get property qualifier value.
[more]CMPIData (*getMethodQualifier)(const CMPIObjectPath* op, const char* methodName, const char* qName, CMPIStatus* rc)
Get method qualifier value.
[more]CMPIData (*getParameterQualifier)(const CMPIObjectPath* op, const char* mName, const char* pName, const char* qName, CMPIStatus* rc)
Get method parameter quailifier value.
[more]CMPIString* (*toString)(const CMPIObjectPath* op, CMPIStatus* rc)
Generates a well formed string representation of this ObjectPath

oint ftVersion
Function table version

oCMPIStatus (*release)(CMPIObjectPath* op)
The ObjectPath object will not be used any further and may be freed by CMPI run time system.
Parameters:
op - ObjectPath this pointer.
Returns:
Service return status.

oCMPIObjectPath* (*clone)(const CMPIObjectPath* op, CMPIStatus* rc)
Create an independent copy of this ObjectPath object. The resulting object must be released explicitly.
Parameters:
op - ObjectPath this pointer.
- rc Output: Service return status (suppressed when NULL).
Returns:
Pointer to copied ObjectPath object.

oCMPIStatus (*setNameSpace)(CMPIObjectPath* op, const char* ns)
Set/replace the namespace component.
Parameters:
op - ObjectPath this pointer.
ns - The namespace string
Returns:
Service return status.

oCMPIString* (*getNameSpace)(const CMPIObjectPath* op, CMPIStatus* rc)
Get the namespace component.
Parameters:
op - ObjectPath this pointer.
- rc Output: Service return status (suppressed when NULL).
Returns:
The namespace component.

oCMPIStatus (*setHostname)(CMPIObjectPath* op, const char* hn)
Set/replace the hostname component.
Parameters:
op - ObjectPath this pointer.
hn - The hostname string
Returns:
Service return status.

oCMPIString* (*getHostname)(const CMPIObjectPath* op, CMPIStatus* rc)
Get the hostname component.
Parameters:
op - ObjectPath this pointer.
- rc Output: Service return status (suppressed when NULL).
Returns:
The hostname component.

oCMPIStatus (*setClassName)(CMPIObjectPath* op, const char* cn)
Set/replace the classname component.
Parameters:
op - ObjectPath this pointer.
cn - The hostname string
Returns:
Service return status.

oCMPIString* (*getClassName)(const CMPIObjectPath* op, CMPIStatus* rc)
Get the classname component.
Parameters:
op - ObjectPath this pointer.
- rc Output: Service return status (suppressed when NULL).
Returns:
The classname component.

oCMPIStatus (*addKey)(CMPIObjectPath* op, const char* name, const CMPIValue* value, const CMPIType type)
Adds/replaces a named key property.
Parameters:
op - ObjectPath this pointer.
name - Key property name.
- value Address of value structure.
- type Value type.
Returns:
Service return status.

oCMPIData (*getKey)(const CMPIObjectPath* op, const char* name, CMPIStatus* rc)
Gets a named key property value.
Parameters:
op - ObjectPath this pointer.
name - Key property name.
- rc Output: Service return status (suppressed when NULL).
Returns:
Entry value.

oCMPIData (*getKeyAt)(const CMPIObjectPath* op, CMPICount index, CMPIString** name, CMPIStatus* rc)
Gets a key property value defined by its index.
Parameters:
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).
Returns:
Data value.

oCMPICount (*getKeyCount)(const CMPIObjectPath* op, CMPIStatus* rc)
Gets the number of key properties contained in this ObjectPath.
Parameters:
op - ObjectPath this pointer.
- rc Output: Service return status (suppressed when NULL).
Returns:
Number of properties.

oCMPIStatus (*setNameSpaceFromObjectPath)(CMPIObjectPath* op, const CMPIObjectPath* src)
Set/replace namespace and classname components from <src>.
Parameters:
op - ObjectPath this pointer.
src - Source input.
Returns:
Service return status.

oCMPIStatus (*setHostAndNameSpaceFromObjectPath)(CMPIObjectPath* op, const CMPIObjectPath* src)
Set/replace hostname, namespace and classname components from <src>.
Parameters:
op - ObjectPath this pointer.
src - Source input.
Returns:
Service return status.

oCMPIData (*getClassQualifier)(const CMPIObjectPath* op, const char* qName, CMPIStatus* rc)
Get class qualifier value.
Parameters:
op - ObjectPath this pointer.
qName - Qualifier name.
- rc Output: Service return status (suppressed when NULL).
Returns:
Qualifier value.

oCMPIData (*getPropertyQualifier)(const CMPIObjectPath* op, const char* pName, const char* qName, CMPIStatus* rc)
Get property qualifier value.
Parameters:
op - ObjectPath this pointer.
pName - Property name.
qName - Qualifier name.
- rc Output: Service return status (suppressed when NULL).
Returns:
Qualifier value.

oCMPIData (*getMethodQualifier)(const CMPIObjectPath* op, const char* methodName, const char* qName, CMPIStatus* rc)
Get method qualifier value.
Parameters:
op - ObjectPath this pointer.
mName - Method name.
qName - Qualifier name.
- rc Output: Service return status (suppressed when NULL).
Returns:
Qualifier value.

oCMPIData (*getParameterQualifier)(const CMPIObjectPath* op, const char* mName, const char* pName, const char* qName, CMPIStatus* rc)
Get method parameter quailifier value.
Parameters:
op - ObjectPath this pointer.
mName - Method name.
pName - Parameter name.
qName - Qualifier name.
- rc Output: Service return status (suppressed when NULL).
Returns:
Qualifier value.

oCMPIString* (*toString)(const CMPIObjectPath* op, CMPIStatus* rc)
Generates a well formed string representation of this ObjectPath
Parameters:
op - ObjectPath this pointer.
- rc Output: Service return status (suppressed when NULL).
Returns:
String representation.

Alphabetic index