CMPI 2.1.0 API
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Functions

Functions

static CMPIStatus CMSetNameSpace (const CMPIObjectPath *op, const char *ns)
 Set the namespace component in a CMPIObjectPath object. More...
 
static CMPIStringCMGetNameSpace (const CMPIObjectPath *op, CMPIStatus *rc)
 Get the namespace component from a CMPIObjectPath object. More...
 
static CMPIStatus CMSetHostname (const CMPIObjectPath *op, const char *hn)
 Set the host name component in a CMPIObjectPath object. More...
 
static CMPIStringCMGetHostname (const CMPIObjectPath *op, CMPIStatus *rc)
 Get the host name component in a CMPIObjectPath object. More...
 
static CMPIStatus CMSetClassName (const CMPIObjectPath *op, const char *cn)
 Set class name component in a CMPIObjectPath object. More...
 
static CMPIStringCMGetClassName (const CMPIObjectPath *op, CMPIStatus *rc)
 Get the class name component from CMPIObjectPath. More...
 
static CMPIStatus CMAddKey (const CMPIObjectPath *op, const char *key, const CMPIValue *value, const CMPIType type)
 Add or replace a key binding in a CMPIObjectPath object. More...
 
static CMPIData CMGetKey (const CMPIObjectPath *op, const char *key, CMPIStatus *rc)
 Get a key binding in a CMPIObjectPath object by name. More...
 
static CMPIData CMGetKeyAt (const CMPIObjectPath *op, CMPICount index, CMPIString **name, CMPIStatus *rc)
 Get a key binding in a CMPIObjectPath object by index. More...
 
static CMPICount CMGetKeyCount (const CMPIObjectPath *op, CMPIStatus *rc)
 Get the number of key bindings in a CMPIObjectPath object. More...
 
static CMPIStatus CMSetNameSpaceFromObjectPath (const CMPIObjectPath *op, const CMPIObjectPath *src)
 Set the namespace and class name components in a CMPIObjectPath object from another CMPIObjectPath object. More...
 
static CMPIStatus CMSetHostAndNameSpaceFromObjectPath (const CMPIObjectPath *op, const CMPIObjectPath *src)
 Set host name, namespace, and class name components in a CMPIObjectPath object from another CMPIObjectPath object. More...
 
static CMPIData CMGetClassQualifier (const CMPIObjectPath *op, const char *qName, CMPIStatus *rc)
 Get a class qualifier. More...
 
static CMPIData CMGetPropertyQualifier (const CMPIObjectPath *op, const char *pName, const char *qName, CMPIStatus *rc)
 Get a property qualifier. More...
 
static CMPIData CMGetMethodQualifier (const CMPIObjectPath *op, const char *mName, const char *qName, CMPIStatus *rc)
 Get a method qualifier. More...
 
static CMPIData CMGetParameterQualifier (const CMPIObjectPath *op, const char *mName, const char *pName, const char *qName, CMPIStatus *rc)
 Get a parameter qualifier. More...
 

Detailed Description

Function Documentation

static CMPIStatus CMSetNameSpace ( const CMPIObjectPath op,
const char *  ns 
)
inlinestatic

Set the namespace component in a CMPIObjectPath object.

Parameters
opCMPIObjectPath object.
nsNew namespace name.
Returns
Function return status.
Full Description
CMPIObjectPathFT.setNameSpace()
Status for OpenPegasus:
Used and tested
static CMPIString* CMGetNameSpace ( const CMPIObjectPath op,
CMPIStatus rc 
)
inlinestatic

Get the namespace component from a CMPIObjectPath object.

Parameters
opCMPIObjectPath object.
[out]rcFunction return status (suppressed when NULL).
Returns
Namespace name.
Full Description
CMPIObjectPathFT.getNameSpace()
Status for OpenPegasus:
Used and tested
static CMPIStatus CMSetHostname ( const CMPIObjectPath op,
const char *  hn 
)
inlinestatic

Set the host name component in a CMPIObjectPath object.

Parameters
opCMPIObjectPath object.
hnNew host name.
Returns
Function return status.
Full Description
CMPIObjectPathFT.setHostname()
Status for OpenPegasus:
Used
static CMPIString* CMGetHostname ( const CMPIObjectPath op,
CMPIStatus rc 
)
inlinestatic

Get the host name component in a CMPIObjectPath object.

Parameters
opCMPIObjectPath object.
[out]rcFunction return status (suppressed when NULL).
Returns
Host name.
Full Description
CMPIObjectPathFT.getHostname()
Status for OpenPegasus:
Used
static CMPIStatus CMSetClassName ( const CMPIObjectPath op,
const char *  cn 
)
inlinestatic

Set class name component in a CMPIObjectPath object.

Parameters
opCMPIObjectPath object.
cnNew class name.
Returns
Function return status.
Full Description
CMPIObjectPathFT.setClassName()
Status for OpenPegasus:
TBD
static CMPIString* CMGetClassName ( const CMPIObjectPath op,
CMPIStatus rc 
)
inlinestatic

Get the class name component from CMPIObjectPath.

Parameters
opCMPIObjectPath object.
[out]rcFunction return status (suppressed when NULL).
Returns
Class name.
Full Description
CMPIObjectPathFT.getClassName()
Status for OpenPegasus:
Used and tested
static CMPIStatus CMAddKey ( const CMPIObjectPath op,
const char *  key,
const CMPIValue value,
const CMPIType  type 
)
inlinestatic

Add or replace a key binding in a CMPIObjectPath object.

Parameters
opCMPIObjectPath object.
keyName of the key binding.
valueCMPIValue structure containing the value to be assigned to the key binding. Key bindings are not permitted to be NULL.
typeType of the value.
Returns
Function return status.
Full Description
CMPIObjectPathFT.addKey()
Status for OpenPegasus:
Used and tested
static CMPIData CMGetKey ( const CMPIObjectPath op,
const char *  key,
CMPIStatus rc 
)
inlinestatic

Get a key binding in a CMPIObjectPath object by name.

Parameters
opCMPIObjectPath object.
[out]keyName of the key binding.
[out]rcFunction return status (suppressed when NULL).
Returns
Key binding value and type.
Full Description
CMPIObjectPathFT.getKey()
Status for OpenPegasus:
Used and tested
static CMPIData CMGetKeyAt ( const CMPIObjectPath op,
CMPICount  index,
CMPIString **  name,
CMPIStatus rc 
)
inlinestatic

Get a key binding in a CMPIObjectPath object by index.

Parameters
opCMPIObjectPath object.
indexZero-based position of the key binding within the internal data array.
[out]nameName of the returned key binding (suppressed when NULL).
[out]rcFunction return status (suppressed when NULL).
Returns
Key binding value and type.
Full Description
CMPIObjectPathFT.getKeyAt()
Status for OpenPegasus:
Used and tested
static CMPICount CMGetKeyCount ( const CMPIObjectPath op,
CMPIStatus rc 
)
inlinestatic

Get the number of key bindings in a CMPIObjectPath object.

Parameters
opCMPIObjectPath object.
[out]rcFunction return status (suppressed when NULL).
Returns
Number of key bindings in the CMPIObjectPath object.
Full Description
CMPIObjectPathFT.getKeyCount()
Status for OpenPegasus:
TBD
static CMPIStatus CMSetNameSpaceFromObjectPath ( const CMPIObjectPath op,
const CMPIObjectPath src 
)
inlinestatic

Set the namespace and class name components in a CMPIObjectPath object from another CMPIObjectPath object.

Parameters
opCMPIObjectPath object.
srcThe other CMPIObjectPath object.
Returns
Function return status.
Full Description
CMPIObjectPathFT.setNameSpaceFromObjectPath()
Status for OpenPegasus:
TBD
static CMPIStatus CMSetHostAndNameSpaceFromObjectPath ( const CMPIObjectPath op,
const CMPIObjectPath src 
)
inlinestatic

Set host name, namespace, and class name components in a CMPIObjectPath object from another CMPIObjectPath object.

Parameters
opCMPIObjectPath object.
srcThe other CMPIObjectPath object.
Returns
Function return status.
Full Description
CMPIObjectPathFT.setHostAndNameSpaceFromObjectPath()
Status for OpenPegasus:
TBD
static CMPIData CMGetClassQualifier ( const CMPIObjectPath op,
const char *  qName,
CMPIStatus rc 
)
inlinestatic

Get a class qualifier.

Parameters
opCMPIObjectPath object containing namespace and class components.
qNameQualifier name.
[out]rcFunction return status (suppressed when NULL).
Returns
Qualifier value and type.
Full Description
CMPIObjectPathFT.getClassQualifier()
Status for OpenPegasus:
Not implemented
static CMPIData CMGetPropertyQualifier ( const CMPIObjectPath op,
const char *  pName,
const char *  qName,
CMPIStatus rc 
)
inlinestatic

Get a property qualifier.

Parameters
opCMPIObjectPath object containing namespace and class components.
pNameProperty name.
qNameQualifier name.
[out]rcFunction return status (suppressed when NULL).
Returns
Qualifier value and type.
Full Description
CMPIObjectPathFT.getPropertyQualifier()
Status for OpenPegasus:
Not implemented
static CMPIData CMGetMethodQualifier ( const CMPIObjectPath op,
const char *  mName,
const char *  qName,
CMPIStatus rc 
)
inlinestatic

Get a method qualifier.

Parameters
opCMPIObjectPath object containing namespace and class components.
mNameMethod name.
qNameQualifier name.
[out]rcFunction return status (suppressed when NULL).
Returns
Qualifier value and type.
Full Description
CMPIObjectPathFT.getMethodQualifier()
Status for OpenPegasus:
Not implemented
static CMPIData CMGetParameterQualifier ( const CMPIObjectPath op,
const char *  mName,
const char *  pName,
const char *  qName,
CMPIStatus rc 
)
inlinestatic

Get a parameter qualifier.

Parameters
opCMPIObjectPath object containing namespace and class components.
mNameMethod name.
pNameParameter name.
qNameQualifier name.
[out]rcFunction return status (suppressed when NULL).
Returns
Qualifier value and type.
Full Description
CMPIObjectPathFT.getParameterQualifier()
Status for OpenPegasus:
Not implemented