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

Functions

static CMPIUint64 CMGetBinaryFormat (const CMPIDateTime *dt, CMPIStatus *rc)
 Get the value of a CMPIDateTime object in binary format. More...
 
static CMPIStringCMGetStringFormat (const CMPIDateTime *dt, CMPIStatus *rc)
 Get the value of a CMPIDateTime object in the string format defined for the CIM datetime type. More...
 
static CMPIBoolean CMIsInterval (const CMPIDateTime *dt, CMPIStatus *rc)
 Test whether a CMPIDateTime object contains an interval value. More...
 

Detailed Description

Function Documentation

static CMPIUint64 CMGetBinaryFormat ( const CMPIDateTime dt,
CMPIStatus rc 
)
inlinestatic

Get the value of a CMPIDateTime object in binary format.

Parameters
dtCMPIDateTime object.
[out]rcFunction return status (suppressed when NULL).
Returns
Value of the CMPIDateTime object in binary format: As a 64-bit unsigned integer in microseconds starting since 00:00:00 GMT, January 1, 1970, or as an interval in microseconds, depending on what kind of value the CMPIDateTime object contains.
Full Description
CMPIDateTimeFT.getBinaryFormat()
Status for OpenPegasus:
Used and tested
static CMPIString* CMGetStringFormat ( const CMPIDateTime dt,
CMPIStatus rc 
)
inlinestatic

Get the value of a CMPIDateTime object in the string format defined for the CIM datetime type.

Parameters
dtCMPIDateTime object.
[out]rcFunction return status (suppressed when NULL).
Returns
Value of the CMPIDateTime object as a string in the format defined in DSP0004 for the CIM datetime type.
Full Description
CMPIDateTimeFT.getStringFormat()
Status for OpenPegasus:
TBD
static CMPIBoolean CMIsInterval ( const CMPIDateTime dt,
CMPIStatus rc 
)
inlinestatic

Test whether a CMPIDateTime object contains an interval value.

Parameters
dtCMPIDateTime object.
[out]rcFunction return status (suppressed when NULL).
Return values
trueThe CMPIDateTime object contains an interval value.
falseThe CMPIDateTime object does not contain an interval value.
Full Description
CMPIDateTimeFT.isInterval()
Status for OpenPegasus:
TBD