_CMPIBrokerEncFT Struct Reference
#include <cmpi/cmpift.h>
List of all members.
Public Attributes |
int | ftVersion |
CMPIInstance *(* | newInstance )(const CMPIBroker *mb, const CMPIObjectPath *op, CMPIStatus *rc) |
CMPIObjectPath *(* | newObjectPath )(const CMPIBroker *mb, const char *ns, const char *cn, CMPIStatus *rc) |
CMPIArgs *(* | newArgs )(const CMPIBroker *mb, CMPIStatus *rc) |
CMPIString *(* | newString )(const CMPIBroker *mb, const char *data, CMPIStatus *rc) |
CMPIArray *(* | newArray )(const CMPIBroker *mb, CMPICount max, CMPIType type, CMPIStatus *rc) |
CMPIDateTime *(* | newDateTime )(const CMPIBroker *mb, CMPIStatus *rc) |
CMPIDateTime *(* | newDateTimeFromBinary )(const CMPIBroker *mb, CMPIUint64 binTime, CMPIBoolean interval, CMPIStatus *rc) |
CMPIDateTime *(* | newDateTimeFromChars )(const CMPIBroker *mb, const char *utcTime, CMPIStatus *rc) |
CMPISelectExp *(* | newSelectExp )(const CMPIBroker *mb, const char *query, const char *lang, CMPIArray **projection, CMPIStatus *st) |
CMPIBoolean(* | classPathIsA )(const CMPIBroker *mb, const CMPIObjectPath *op, const char *type, CMPIStatus *rc) |
CMPIString *(* | toString )(const CMPIBroker *mb, const void *object, CMPIStatus *rc) |
CMPIBoolean(* | isOfType )(const CMPIBroker *mb, const void *object, const char *type, CMPIStatus *rc) |
CMPIString *(* | getType )(const CMPIBroker *mb, const void *object, CMPIStatus *rc) |
CMPIString *(* | getMessage )(const CMPIBroker *mb, const char *msgId, const char *defMsg, CMPIStatus *rc, CMPICount count,...) |
CMPIStatus(* | logMessage )(const CMPIBroker *, int severity, const char *id, const char *text, const CMPIString *string) |
CMPIStatus(* | trace )(const CMPIBroker *, int level, const char *component, const char *text, const CMPIString *string) |
Detailed Description
This structure is a table of pointers to broker and factory services of encapsulated CMPIObjects. This table is made available by the Management Broker, aka CIMOM, whenever a provider is loaded and initialized.
Member Data Documentation
Function to determine whether a CIM class is of <type> or any of <type> subclasses.
- Parameters:
-
| mb | Pointer to the broker. |
| op | The class path (namespace and classname components). |
| type | The type to tested for. |
| rc | Output: Service return status (suppressed when NULL). |
- Returns:
- True if test successful.
Referenced by CmpiObjectPath::doClassPathIsA().
Retrieves translated message.
- Parameters:
-
| mb | Pointer to the broker. |
| msgId | The message identifier. |
| defMsg | The default message. |
| rc | Output: Service return status (suppressed when NULL). |
| count | The number of message substitution values. |
- Returns:
- the trabslated message.
Retrieves the CMPI type of <object>. Intended for debugging purposes only.
- Parameters:
-
| mb | Pointer to the broker. |
| object | A valid CMPI object. |
| rc | Output: Service return status (suppressed when NULL). |
- Returns:
- CMPI object type.
Verifies whether <object> is of CMPI type <type>. Intended for debugging purposes only.
- Parameters:
-
| mb | Pointer to the broker. |
| object | A valid CMPI object. |
| type | A string specifying a valid CMPI Object type ("CMPIInstance", "CMPIObjectPath", etc). |
| rc | Output: Service return status (suppressed when NULL). |
- Returns:
- True if test successful.
Referenced by CmpiObject::doIsA().
Logs a diagnostic message.
- Parameters:
-
| mb | The mb argument points to a CMPIBroker structure. |
| severity | The level argument describes the level of log message. Levels are defined in Section 4.9. |
| id | The component argument, if not NULL, is the component ID. |
| text | The text argument, if not NULL, is the message text to be logged. |
| string | The string argument, if not NULL, is the message text to be logged. string will be ignored when text is not NULL. |
- Returns:
- Service return status.
Args container factory service.
- Parameters:
-
| mb | Pointer to the broker. |
| rc | Output: Service return status (suppressed when NULL). |
- Returns:
- The newly created Args container.
Referenced by CmpiArgs::makeArgs().
Array container factory service.
- Parameters:
-
| mb | Pointer to the broker. |
| max | Maximum number of elements |
| type | Element type |
| rc | Output: Service return status (suppressed when NULL). |
- Returns:
- The newly created Array.
Referenced by CmpiArray::makeArray().
DateTime factory service. Initialized with the time of day.
- Parameters:
-
| mb | Pointer to the broker. |
| rc | Output: Service return status (suppressed when NULL). |
- Returns:
- The newly created DateTime.
Referenced by CmpiDateTime::makeDateTime().
DateTime factory service. Initialized from <binTime>.
- Parameters:
-
| mb | Pointer to the broker. |
| binTime | Date/Time definition in binary format in microsecods starting since 00:00:00 GMT, Jan 1,1970. |
| interval | Wenn true, defines Date/Time definition to be an interval value |
| rc | Output: Service return status (suppressed when NULL). |
- Returns:
- The newly created DateTime.
Referenced by CmpiDateTime::makeDateTime().
DateTime factory service. Is initialized from <utcTime>.
- Parameters:
-
| mb | Pointer to the broker. |
| utcTime | Date/Time definition in UTC format |
| rc | Output: Service return status (suppressed when NULL). |
- Returns:
- The newly created DateTime.
Referenced by CmpiDateTime::makeDateTime().
Instance factory service.
- Parameters:
-
| mb | Pointer to the broker. |
| op | ObjectPath containing namespace and classname. |
| rc | Output: Service return status (suppressed when NULL). |
- Returns:
- The newly created Instance.
Referenced by CmpiInstance::makeInstance().
ObjectPath factory service.
- Parameters:
-
| mb | Pointer to the broker. |
| ns | Namespace |
| cn | Classname. |
| rc | Output: Service return status (suppressed when NULL). |
- Returns:
- The newly created ObjectPath.
Referenced by CmpiObjectPath::makeObjectPath().
SelectExp factory service.
- Parameters:
-
| mb | Pointer to the broker. |
| query | The select expression. |
| lang | The query language. |
| projection | Output: Projection specification (suppressed when NULL). |
| rc | Output: Service return status (suppressed when NULL). |
- Returns:
- The newly created SelectExp.
String container factory service.
- Parameters:
-
| mb | Pointer to the broker. |
| data | String data |
| rc | Output: Service return status (suppressed when NULL). |
- Returns:
- The newly created String.
Attempts to transforms an CMPI object to a broker specific string format. Intended for debugging purposes only.
- Parameters:
-
| mb | Pointer to the broker. |
| object | A valid CMPI object. |
| rc | Output: Service return status (suppressed when NULL). |
- Returns:
- String from representation of <object>.
Referenced by CmpiObject::doToString().
Logs a trace entry. Intended for debugging purposes.
- Parameters:
-
| mb | The mb argument points to a CMPIBroker structure. |
| level | The level argument describes the level of log message. Levels are defined in Section 4.9. |
| component | The component argument, if not NULL, is the component ID. |
| text | The text argument, if not NULL, is the message text to be logged. |
| string | The string argument, if not NULL, is the message text to be logged. string will be ignored when text is not NULL. |
- Returns:
- Service return status.
The documentation for this struct was generated from the following file: