cmpi
cmpi
CmpiDateTime.h
Go to the documentation of this file.
1
/*
2
*
3
* $Id: CmpiDateTime.h,v 1.3 2008/07/09 19:36:59 tyreld Exp $
4
*
5
* (C) Copyright IBM Corp. 2003, 2005, 2008
6
*
7
* THIS FILE IS PROVIDED UNDER THE TERMS OF THE ECLIPSE PUBLIC LICENSE
8
* ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE
9
* CONSTITUTES RECIPIENTS ACCEPTANCE OF THE AGREEMENT.
10
*
11
* You can obtain a current copy of the Eclipse Public License from
12
* http://www.opensource.org/licenses/eclipse-1.0.txt
13
*
14
* Author: Adrian Schuur <schuur@de.ibm.com>
15
* Contributors: Heidi Neumann, heidineu@de.ibm.com
16
* Angel Nunez Mencias, anunez@de.ibm.com
17
* Viktor Mihajlovski, mihajlov@de.ibm.com
18
*
19
* Description: CMPI Datetime Definitions
20
*
21
*/
22
23
#ifndef _CmpiDateTime_h_
24
#define _CmpiDateTime_h_
25
26
#include "
cmpidt.h
"
27
#include "
cmpift.h
"
28
29
#include "
Linkage.h
"
30
#include "
CmpiObject.h
"
31
#include "
CmpiStatus.h
"
32
#include "
CmpiBaseMI.h
"
33
34
38
class
CMPI_PROVIDER_LINKAGE
CmpiDateTime
:
public
CmpiObject
{
39
40
protected
:
41
void
*makeDateTime(
CMPIBroker
*mb);
42
void
*makeDateTime(
CMPIBroker
*mb,
const
char
* utcTime);
43
void
*makeDateTime(
CMPIBroker
*mb,
const
CMPIUint64
binTime,
44
const
CmpiBoolean
interval);
45
private
:
46
public
:
47
50
CmpiDateTime
(
const
CMPIDateTime
* enc);
51
54
CmpiDateTime
();
55
56
CmpiDateTime
(
const
CmpiDateTime
& original);
57
61
CmpiDateTime
(
const
char
* utcTime);
62
68
CmpiDateTime
(
const
CMPIUint64
binTime,
const
CmpiBoolean
interval);
69
73
CmpiBoolean
isInterval()
const
;
74
75
79
CMPIUint64
getDateTime()
const
;
80
83
CMPIDateTime
*getEnc()
const
;
84
};
85
86
#endif
CmpiStatus.h
_CMPIDateTime
Definition:
cmpift.h:2404
CmpiObject.h
Linkage.h
CmpiBaseMI.h
cmpift.h
CMPIUint64
unsigned long long CMPIUint64
Definition:
cmpidt.h:225
cmpidt.h
CmpiDateTime
Definition:
CmpiDateTime.h:38
CmpiBoolean
#define CmpiBoolean
Definition:
CmpiObject.h:30
_CMPIBroker
Definition:
cmpift.h:951
CMPI_PROVIDER_LINKAGE
#define CMPI_PROVIDER_LINKAGE
Definition:
Linkage.h:28
CmpiObject
Definition:
CmpiObject.h:42
Generated by
1.8.18