cmpi
cmpi
CmpiPropertyMI.h
Go to the documentation of this file.
1
/*
2
*
3
* $Id: CmpiPropertyMI.h,v 1.4 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 Property MI Definitions
20
*
21
*/
22
23
#ifndef _CmpiPropertyMI_h_
24
#define _CmpiPropertyMI_h_
25
26
#include <iostream>
27
28
#include "
cmpidt.h
"
29
#include "
cmpift.h
"
30
31
#include "
Linkage.h
"
32
#include "
CmpiBaseMI.h
"
33
#include "
CmpiStatus.h
"
34
#include "
CmpiObjectPath.h
"
35
#include "
CmpiResult.h
"
36
#include "
CmpiContext.h
"
37
#include "
CmpiArgs.h
"
38
39
40
class
CMPI_PROVIDER_LINKAGE
CmpiPropertyMI
:
virtual
public
CmpiBaseMI
{
41
public
:
42
CmpiPropertyMI
(
const
CmpiBroker
&mbp,
const
CmpiContext
& ctx);
43
44
static
CMPIStatus
driveSetProperty
45
(
CMPIPropertyMI
* mi,
const
CMPIContext
* eCtx,
const
CMPIResult
* eRslt,
46
const
CMPIObjectPath
* eOp,
const
char
* name,
CMPIData
data);
47
static
CMPIStatus
driveGetProperty
48
(
CMPIPropertyMI
* mi,
const
CMPIContext
* eCtx,
const
CMPIResult
* eRslt,
49
const
CMPIObjectPath
* eOp,
const
char
* name);
50
51
virtual
CmpiStatus
setProperty
52
(
const
CmpiContext
& ctx,
CmpiResult
& rslt,
53
const
CmpiObjectPath
& op,
const
char
* name,
const
CmpiData
& data);
54
virtual
CmpiStatus
getProperty
55
(
const
CmpiContext
& ctx,
CmpiResult
& rslt,
56
const
CmpiObjectPath
& op,
const
char
* name);
57
};
58
59
#endif
60
CmpiArgs.h
_CMPIData
Definition:
cmpidt.h:387
_CMPIObjectPath
Definition:
cmpift.h:1506
cmpift.h
CmpiObjectPath.h
CmpiBroker
Definition:
CmpiBroker.h:46
_CMPIResult
Definition:
cmpift.h:1085
Linkage.h
_CMPIContext
Definition:
cmpift.h:1061
CmpiBaseMI
Definition:
CmpiBaseMI.h:39
CmpiStatus
Definition:
CmpiStatus.h:35
CmpiResult.h
CmpiStatus.h
CmpiData
Definition:
CmpiData.h:52
CmpiBaseMI.h
_CMPIStatus
Definition:
cmpidt.h:511
CmpiContext.h
CmpiObjectPath
Definition:
CmpiObjectPath.h:42
CmpiResult
Definition:
CmpiResult.h:40
CmpiPropertyMI
Definition:
CmpiPropertyMI.h:40
CMPI_PROVIDER_LINKAGE
#define CMPI_PROVIDER_LINKAGE
Definition:
Linkage.h:28
cmpidt.h
_CMPIPropertyMI
Definition:
cmpift.h:3011
CmpiContext
Definition:
CmpiContext.h:38
Generated by
1.8.14