CmpiArgs Class Reference

#include <cmpi/CmpiArgs.h>

Inheritance diagram for CmpiArgs:

CmpiObject List of all members.

Public Member Functions

 CmpiArgs ()
unsigned int getArgCount () const
CmpiData getArg (const char *name) const
CmpiData getArg (const int index, CmpiString *name=NULL) const
void setArg (const char *name, const CmpiData &data)

Protected Member Functions

 CmpiArgs (CMPIArgs *enc)
CMPIArgsgetEnc () const
void * makeArgs (CMPIBroker *mb)

Friends

class CmpiBroker
class CmpiMethodMI

Detailed Description

This class wraps a CIMOM specific input and output arguments passed to methodInvocation functions.


Constructor & Destructor Documentation

CmpiArgs::CmpiArgs CMPIArgs enc  )  [protected]
 

Protected constructor used by MIDrivers to encapsulate CMPIArgs.

CmpiArgs::CmpiArgs  ) 
 

Constructor - Empty argument container.


Member Function Documentation

CmpiData CmpiArgs::getArg const int  index,
CmpiString name = NULL
const
 

getArgument - Gets the CmpiData object defined by the input index parameter.

Parameters:
index Index into the argument array.
name Optional output parameter returning the argument name.
Returns:
CmpiData value object corresponding to the index.

CmpiData CmpiArgs::getArg const char *  name  )  const
 

getArg - Gets the CmpiData object representing the value associated with the argument name

Parameters:
name argument name.
Returns:
CmpiData value object associated with the argument.

unsigned int CmpiArgs::getArgCount  )  const
 

getArgCount - Gets the number of arguments defined for this argument container.

Returns:
Number of arguments in this container.

CMPIArgs * CmpiArgs::getEnc  )  const [protected]
 

Gets the encapsulated CMPIArgs.

void * CmpiArgs::makeArgs CMPIBroker mb  )  [protected]
 

void CmpiArgs::setArg const char *  name,
const CmpiData data
 

setArg - adds/replaces an argument value defined by the input parameter to the container.

Parameters:
name Property name.
data Type and Value to be added.


Friends And Related Function Documentation

friend class CmpiBroker [friend]
 

Reimplemented from CmpiObject.

friend class CmpiMethodMI [friend]
 


The documentation for this class was generated from the following files:
Generated on Sat Feb 26 13:04:35 2022 for cmpi by  doxygen 1.4.6