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

Function table for some MB services (factory and miscellaneous services). More...

#include <cmpift.h>

Data Fields

CMPIVersion ftVersion
 CMPI version supported by the MB for this function table. More...
 
CMPIInstance *(* newInstance )(const CMPIBroker *mb, const CMPIObjectPath *instPath, CMPIStatus *rc)
 Create a new CMPIInstance object initialized to a given instance path. More...
 
CMPIObjectPath *(* newObjectPath )(const CMPIBroker *mb, const char *ns, const char *cn, CMPIStatus *rc)
 Create a new CMPIObjectPath initialized to a given namespace and class name. More...
 
CMPIArgs *(* newArgs )(const CMPIBroker *mb, CMPIStatus *rc)
 Create a new CMPIArgs object initialized to have no method parameters. More...
 
CMPIString *(* newString )(const CMPIBroker *mb, const char *data, CMPIStatus *rc)
 Create a new CMPIString object initialized from a C-language string. More...
 
CMPIArray *(* newArray )(const CMPIBroker *mb, CMPICount size, CMPIType type, CMPIStatus *rc)
 Create a new CMPIArray object of a given size and type of elements. More...
 
CMPIDateTime *(* newDateTime )(const CMPIBroker *mb, CMPIStatus *rc)
 Create a new CMPIDateTime object initialized to the current date and time. More...
 
CMPIDateTime *(* newDateTimeFromBinary )(const CMPIBroker *mb, CMPIUint64 binTime, CMPIBoolean interval, CMPIStatus *rc)
 Create a new CMPIDateTime object initialized to a specific value. More...
 
CMPIDateTime *(* newDateTimeFromChars )(const CMPIBroker *mb, const char *datetime, CMPIStatus *rc)
 Create a new CMPIDateTime object initialized to a specified value. More...
 
CMPISelectExp *(* newSelectExp )(const CMPIBroker *mb, const char *query, const char *lang, CMPIArray **projection, CMPIStatus *rc)
 Create a new CMPISelectExp object initialized from a select expression specified in a query language. More...
 
CMPIBoolean(* classPathIsA )(const CMPIBroker *mb, const CMPIObjectPath *classPath, const char *className, CMPIStatus *rc)
 Test whether a class path is of a specified class or any of its subclasses. More...
 
CMPIString *(* toString )(const CMPIBroker *mb, const void *object, CMPIStatus *rc)
 Convert any CMPI encapsulated data type object into a string representation. More...
 
CMPIBoolean(* isOfType )(const CMPIBroker *mb, const void *object, const char *type, CMPIStatus *rc)
 Test whether a CMPI encapsulated data type object is of a specified CMPI type. More...
 
CMPIString *(* getType )(const CMPIBroker *mb, const void *object, CMPIStatus *rc)
 Get the type name of a CMPI ensapsulated data type object. More...
 
CMPIString *(* getMessage )(const CMPIBroker *mb, const char *msgId, const char *defMsg, CMPIStatus *rc, CMPICount count,...)
 Get a translated MB implementation-specific message text by message ID. (Deprecated) More...
 
CMPIStatus(* logMessage )(const CMPIBroker *mb, CMPISeverity severity, const char *id, const char *text, const CMPIString *string)
 Log a diagnostic message. More...
 
CMPIStatus(* trace )(const CMPIBroker *mb, CMPILevel level, const char *component, const char *text, const CMPIString *string)
 Trace a diagnostic message with a specific trace level. More...
 
CMPIError *(* newCMPIError )(const CMPIBroker *mb, const char *owner, const char *msgID, const char *msg, const CMPIErrorSeverity sev, const CMPIErrorProbableCause pc, const CMPIrc cimStatusCode, CMPIStatus *rc)
 Create a new CMPIError object initialized with certain core attributes. More...
 
CMPIStatus(* openMessageFile )(const CMPIBroker *mb, const char *msgFile, CMPIMsgFileHandle *msgFileHandle)
 Open a message file and return a handle to the file. More...
 
CMPIStatus(* closeMessageFile )(const CMPIBroker *mb, const CMPIMsgFileHandle msgFileHandle)
 Close a message file. More...
 
CMPIString *(* getMessage2 )(const CMPIBroker *mb, const char *msgId, const CMPIMsgFileHandle msgFileHandle, const char *defMsg, CMPIStatus *rc, CMPICount count,...)
 Get a translated message text from an open message file by message ID. More...
 
CMPIPropertyList *(* newPropertyList )(const CMPIBroker *mb, const char **properties, CMPIStatus *rc)
 Create a new CMPIPropertyList object initialized to a list of property names. More...
 
CMPIString *(* newStringCP )(const CMPIBroker *mb, const char *data, const CMPICodepageID cpid, CMPIStatus *rc)
 Create a new CMPIString object from a C-language string in a specific codepage. More...
 
CMPIEnumerationFilter *(* newEnumerationFilter )(const CMPIBroker *mb, const char *filterQueryLanguage, const char *filterQuery, CMPIStatus *rc)
 Create a new CMPIEnumerationFilter object initialized with a filter query. More...
 

Detailed Description

Function table for some MB services (factory and miscellaneous services).

This function table is referenced by the CMPIBroker structure, and provides Factory Services and Miscellaneous Services.

For functions that are not supported, their function pointers in this function table shall not be NULL, but shall point to a function that can be called and then indicate back to the caller that it is not supported, as specified in the description of the function.

Field Documentation

CMPIVersion CMPIBrokerEncFT::ftVersion

CMPI version supported by the MB for this function table.

Any earlier CMPI versions are implicitly also supported.

See CMPIVersion<NNN> for valid CMPI version numbers.


The documentation for this struct was generated from the following file: