Convience macros for CMPI structures & functions


o CMReturn
This macro builds a CMPIStatus object with <rc> as return code and returns to the CIMOM.
o CMReturnWithString
This macro builds a CMPIStatus object with <rc> as return code and <str> as message and returns to the Broker.
o CMReturnWithChars
This macro builds a CMPIStatus object with <rc> as return code and <msg> as message and returns to the Broker.
o CMSetStatus
Initializes status object with <rc> and NULL message.
o CMSetStatusWithString
Initializes status object with rc and message.
o CMSetStatusWithChars
Initializes status object with <rc> and message.
o CMIsNullObject
Tests for encapsulated NULL object.
o CMIsNullValue
Tests for nullValue data item.
o CMIsKeyValue
Tests for keyValue data item.
o CMIsArray
Tests for keyValue data item.
o CMNewInstance
Instance factory service.
o CMNewObjectPath
ObjectPath factory service.
o CMNewString
String container factory service.
o CMNewArgs
Args container factory service.
o CMNewArray
Array container factory service.
o CMNewDateTime
DateTime factory service.
o CMNewDateTimeFromBinary
DateTime factory service.
o CMNewDateTimeFromChars
DateTime factory service.
o CMNewSelectExp
SelectExp factory service.
o CMClassPathIsA
Function to determine whether a CIM class is of <type> or any of <type> subclasses.
o CDToString
Attempts to transforms an CMPI object to a broker specific string format.
o CDIsOfType
Verifies whether <object> is of CMPI type <type>.
o CDGetType
Retrieves the CMPI type of <object>.
o CMGetProperty
Gets a named property value.
o CMGetPropertyAt
Gets a Property value defined by its index.
o CMSetProperty
Adds/replaces a named Property.
o CMGetPropertyCount
Gets the number of properties contained in this Instance.
o CMGetObjectPath
Generates an ObjectPath out of the namespace, classname and key propeties of this Instance.
o CMSetPropertyFilter
Directs CMPI to ignore any setProperty operations for this instance for any properties not in this list.
o CMSetHostname
Set/replace the hostname component.
o CMGetHostname
Get the hostname component.
o CMSetNameSpace
Set/replace the namespace component.
o CMGetNameSpace
Get the namespace component.
o CMSetClassName
Set/replace the classname component.
o CMGetClassName
Get the classname component.
o CMAddKey
Adds/replaces a named key property.
o CMGetKey
Gets a named key property value.
o CMGetKeyAt
Gets a key property value defined by its index.
o CMGetKeyCount
Gets the number of key properties contained in this ObjectPath.
o CMSetNameSpaceFromObjectPath
Set/replace namespace and classname components from <src>.
o CMSetHostAndNameSpaceFromObjectPath
Set/replace hostname, namespace and classname components from <src>.
o CMGetClassQualifier
Get class qualifier value.
o CMGetPropertyQualifier
Get property qualifier value.
o CMGetMethodQualifier
Get method qualifier value.
o CMGetParameterQualifier
Get method parameter qualifier value.
o CMGetArrayCount
Gets the number of elements contained in this Array.
o CMGetArrayType
Gets the element type.
o CMGetArrayElementAt
Gets an element value defined by its index.
o CMSetArrayElementAt
Sets an element value defined by its index.
o CMAddArg
Adds/replaces a named argument.
o CMGetArg
Gets a named argument value.
o CMGetArgAt
Gets a Argument value defined by its index.
o CMGetArgCount
Gets the number of arguments contained in this Args.
o CMGetCharsPtr
Get a pointer to a C char* representation of this String.
o CMGetStringFormat
Get DateTime setting in UTC string format.
o CMGetBinaryFormat
Get DateTime setting in binary format (in microsecods starting since 00:00:00 GMT, Jan 1,1970).
o CMIsInterval
Tests whether DateTime is an interval value.
o CMGetNext
Get the next element of this Enumeration.
o CMHasNext
Test for any elements left in this Enumeration.
o CMToArray
Convert this Enumeration into an Array.
o CMReturnData
Return a value/type pair.
o CMReturnInstance
Return a Instance object.
o CMReturnObjectPath
Return a ObjectPath object.
o CMReturnDone
Indicates no further data to be returned.
o CMGetContextEntry
Gets a named Context entry value.
o CMGetContextEntryAt
Gets a Context entry value defined by its index.
o CMGetContextEntryCount
Gets the number of entries contained in this Context.
o CMAddContextEntry
adds/replaces a named Context entry
o CMGetSelExpString
Return the select expression in string format.
o CMEvaluateSelExp
Evaluate the instance using this select expression.
o CMGetDoc
Return the select expression as disjunction of conjunctions.
o CMGetCod
Return the select expression as conjunction of disjunctions.
o CMGetSubCondCountAndType
Return the number of sub conditions that are partof this SelectCond.
o CMGetSubCondAt
Return a SubCond element based on its index.
o CMGetPredicateCount
Return the number of predicates that are part of sub condition.
o CMGetPredicateAt
Return a Predicate element based on its index.
o CMGetPredicate
Return a named Predicate element.
o CMGetPredicateData
Get the predicate components.
o CBGetClassification
32 bits describing CMPI features supported by this CIMOM.
o CBBrokerVersion
CIMOM version as defined by CIMOM
o CBBrokerName
CIMOM name
o CBPrepareAttachThread
This function prepares the CMPI run time system to accept a thread that will be using CMPI services.
o CBAttachThread
This function informs the CMPI run time system that the current thread with Context will begin using CMPI services.
o CBDetachThread
This function informs the CMPI run time system that the current thread will not be using CMPI services anymore.
o CBDeliverIndication
This function requests delivery of an Indication.
o CBEnumInstanceNames
Enumerate Instance Names of the class (and subclasses) defined by <op>.
o CBEnumInstances
Enumerate Instances of the class (and subclasses) defined by <op>.
o CBGetInstance
Get Instance using <op> as reference.
o CBCreateInstance
Create Instance from <inst> using <op> as reference.
o CBSetInstance
Replace an existing Instance from <inst> using <op> as reference.
o CBDeleteInstance
Delete an existing Instance using <op> as reference.
o CBExecQuery
Query the enumeration of instances of the class (and subclasses) defined by <op> using <query> expression.
o CBAssociators
Enumerate instances associated with the Instance defined by the <op>.
o CBAssociatorNames
Enumerate ObjectPaths associated with the Instance defined by <op>.
o CBReferences
Enumerates the association instances that refer to the instance defined by <op>.
o CBReferenceNames
Enumerates the association ObjectPaths that refer to the instance defined by <op>.
o CBInvokeMethod
Invoke a named, extrinsic method of an Instance defined by the <op> parameter.
o CBSetProperty
Set the named property value of an Instance defined by the <op> parameter.
o CBGetProperty
Get the named property value of an Instance defined by the <op> parameter.
o CMInstanceMIStub
This macro generates the function table and initialization stub for an instance provider.
o CMAssociationMIStub
This macro generates the function table and initialization stub for an association provider.
o CMMethodMIStub
This macro generates the function table and initialization stub for a method provider.
o CMPropertyMIStub
This macro generates the function table and initialization stub for a property provider.
o CMIndicationMIStub
This macro generates the function table and initialization stub for an indication provider.
o CMInstanceMIFactory
This macro generates the function table and initialization stub for an instance provider.
o CMAssociationMIFactory
This macro generates the function table and initialization stub for an association provider.
o CMMethodMIFactory
This macro generates the function table and initialization stub for an method provider.
o CMPropertyMIFactory
This macro generates the function table and initialization stub for a property provider.

Alphabetic index