cmpi
CmpiArgs.h
Go to the documentation of this file.
1/*
2 *
3 * $Id: CmpiArgs.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:
16 *
17 * Description: CMPI Function Arguments Definitions
18 *
19 */
20
21#ifndef _CmpiArgs_h_
22#define _CmpiArgs_h_
23
24#include "cmpidt.h"
25#include "cmpift.h"
26
27#include "Linkage.h"
28#include "CmpiBaseMI.h"
29#include "CmpiObject.h"
30#include "CmpiStatus.h"
31#include "CmpiObjectPath.h"
32#include "CmpiBroker.h"
33#include "CmpiBaseMI.h"
34
40 friend class CmpiBroker;
41 friend class CmpiMethodMI;
42 protected:
43
46 CmpiArgs(CMPIArgs* enc);
47
50 CMPIArgs *getEnc() const;
51
52 void *makeArgs(CMPIBroker* mb);
53 private:
54 public:
55
58 CmpiArgs();
59
64 unsigned int getArgCount() const;
65
71 CmpiData getArg(const char* name) const;
72
79 CmpiData getArg(const int index, CmpiString *name=NULL) const;
80
86 void setArg(const char* name, const CmpiData& data);
87};
88
89#endif
#define CMPI_PROVIDER_LINKAGE
Definition Linkage.h:28
Definition CmpiArgs.h:39
Definition CmpiBroker.h:46
Definition CmpiData.h:52
Definition CmpiMethodMI.h:41
Definition CmpiObject.h:42
Definition CmpiString.h:49
Definition cmpift.h:2066
Definition cmpift.h:951