CmpiResult Class Reference

This class acts as a container to hold values returned by provider functions. More...

#include <CmpiResult.h>

Inheritance diagram for CmpiResult:

Inheritance graph
[legend]
Collaboration diagram for CmpiResult:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void returnData (const CmpiData &d)
 returnData - Return a CmpiData instance.
void returnData (const CmpiInstance &d)
 returnData - Return a CmpiInstance object.
void returnData (const CmpiObjectPath &d)
 returnData - Return a CmpiObjectPath object.
void returnDone ()
 returnDone - Indicate all data returned.

Protected Member Functions

 CmpiResult (CMPIResult *r)
 Protected constructor used by MIDrivers to encapsulate CMPIResult.
CMPIResultgetEnc () const
 getEnc - Gets the encapsulated CMPIResult.

Private Member Functions

 CmpiResult ()
 Constructor - Should not be called.

Friends

class CmpiInstanceMI
class CmpiAssociationMI
class CmpiMethodMI
class CmpiPropertyMI
class CmpiIndicationMI

Detailed Description

This class acts as a container to hold values returned by provider functions.

Definition at line 38 of file CmpiResult.h.


Constructor & Destructor Documentation

CmpiResult::CmpiResult  )  [inline, private]
 

Constructor - Should not be called.

Definition at line 48 of file CmpiResult.h.

CmpiResult::CmpiResult CMPIResult r  )  [inline, protected]
 

Protected constructor used by MIDrivers to encapsulate CMPIResult.

Definition at line 53 of file CmpiResult.h.


Member Function Documentation

CMPIResult* CmpiResult::getEnc  )  const [inline, protected]
 

getEnc - Gets the encapsulated CMPIResult.

Definition at line 58 of file CmpiResult.h.

References CmpiObject::enc.

Referenced by returnData(), and returnDone().

void CmpiResult::returnData const CmpiObjectPath d  ) 
 

returnData - Return a CmpiObjectPath object.

Definition at line 911 of file CmpiImpl.cpp.

References CMPI_RC_OK, _CMPIResult::ft, CmpiObjectPath::getEnc(), getEnc(), _CMPIStatus::rc, and _CMPIResultFT::returnObjectPath.

void CmpiResult::returnData const CmpiInstance d  ) 
 

returnData - Return a CmpiInstance object.

Definition at line 905 of file CmpiImpl.cpp.

References CMPI_RC_OK, _CMPIResult::ft, CmpiInstance::getEnc(), getEnc(), _CMPIStatus::rc, and _CMPIResultFT::returnInstance.

void CmpiResult::returnData const CmpiData d  ) 
 

returnData - Return a CmpiData instance.

Definition at line 898 of file CmpiImpl.cpp.

References CMPI_RC_OK, _CMPIResult::ft, getEnc(), _CMPIStatus::rc, and _CMPIResultFT::returnData.

void CmpiResult::returnDone  ) 
 

returnDone - Indicate all data returned.

Definition at line 920 of file CmpiImpl.cpp.

References CMPI_RC_OK, _CMPIResult::ft, getEnc(), _CMPIStatus::rc, and _CMPIResultFT::returnDone.


Friends And Related Function Documentation

friend class CmpiAssociationMI [friend]
 

Definition at line 40 of file CmpiResult.h.

friend class CmpiIndicationMI [friend]
 

Definition at line 43 of file CmpiResult.h.

friend class CmpiInstanceMI [friend]
 

Definition at line 39 of file CmpiResult.h.

friend class CmpiMethodMI [friend]
 

Definition at line 41 of file CmpiResult.h.

friend class CmpiPropertyMI [friend]
 

Definition at line 42 of file CmpiResult.h.


The documentation for this class was generated from the following files:
Generated on Thu Feb 9 09:12:11 2006 for openwbem by  doxygen 1.4.6