cmpi
Public Attributes | List of all members
_CMPIDateTimeFT Struct Reference

#include <cmpi/cmpift.h>

Public Attributes

int ftVersion
 
CMPIStatus(* release )(CMPIDateTime *dt)
 
CMPIDateTime *(* clone )(const CMPIDateTime *dt, CMPIStatus *rc)
 
CMPIUint64(* getBinaryFormat )(const CMPIDateTime *dt, CMPIStatus *rc)
 
CMPIString *(* getStringFormat )(const CMPIDateTime *dt, CMPIStatus *rc)
 
CMPIBoolean(* isInterval )(const CMPIDateTime *dt, CMPIStatus *rc)
 

Detailed Description

This structure is a table of pointers providing access to DateTime support sevices.

Member Data Documentation

CMPIDateTime*(* _CMPIDateTimeFT::clone)(const CMPIDateTime *dt, CMPIStatus *rc)

Create an independent copy of this DateTime object. The resulting object must be released explicitly.

Parameters
dtDateTime this pointer.
rcOutput: Service return status (suppressed when NULL).
Returns
Pointer to copied DateTime object.
int _CMPIDateTimeFT::ftVersion

Function table version

CMPIUint64(* _CMPIDateTimeFT::getBinaryFormat)(const CMPIDateTime *dt, CMPIStatus *rc)

Get DateTime setting in binary format (in microsecods starting since 00:00:00 GMT, Jan 1,1970).

Parameters
dtDateTime this pointer.
rcOutput: Service return status (suppressed when NULL).
Returns
DateTime in binary.

Referenced by CmpiDateTime::getDateTime().

CMPIString*(* _CMPIDateTimeFT::getStringFormat)(const CMPIDateTime *dt, CMPIStatus *rc)

Get DateTime setting in UTC string format.

Parameters
dtDateTime this pointer.
rcOutput: Service return status (suppressed when NULL).
Returns
DateTime as UTC string.
CMPIBoolean(* _CMPIDateTimeFT::isInterval)(const CMPIDateTime *dt, CMPIStatus *rc)

Tests whether DateTime is an interval value.

Parameters
dtDateTime this pointer.
rcOutput: Service return status (suppressed when NULL).
Returns
True if interval value.

Referenced by CmpiDateTime::isInterval().

CMPIStatus(* _CMPIDateTimeFT::release)(CMPIDateTime *dt)

The DateTime object will not be used any further and may be freed by CMPI run time system.

Parameters
dtDateTime this pointer.
Returns
Service return status.

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