|
cmpi
|
#include <cmpi/CmpiResult.h>
Public Member Functions | |
| void | returnData (const CmpiData &d) |
| void | returnData (const CmpiInstance &d) |
| void | returnData (const CmpiObjectPath &d) |
| void | returnDone () |
Protected Member Functions | |
| CmpiResult (CMPIResult *r) | |
| CMPIResult * | getEnc () const |
Private Member Functions | |
| CmpiResult () | |
Friends | |
| class | CmpiInstanceMI |
| class | CmpiAssociationMI |
| class | CmpiMethodMI |
| class | CmpiPropertyMI |
| class | CmpiIndicationMI |
This class acts as a container to hold values returned by provider functions.
| CmpiResult::CmpiResult | ( | ) | [private] |
Constructor - Should not be called
| CmpiResult::CmpiResult | ( | CMPIResult * | r | ) | [protected] |
Protected constructor used by MIDrivers to encapsulate CMPIResult.
| CMPIResult * CmpiResult::getEnc | ( | ) | const [protected] |
getEnc - Gets the encapsulated CMPIResult.
References CmpiObject::enc.
Referenced by returnData(), and returnDone().
| void CmpiResult::returnData | ( | const CmpiData & | d | ) |
returnData - Return a CmpiData instance.
References CmpiData::_data, _CMPIValue::chars, CMPI_chars, CMPI_RC_OK, _CMPIResult::ft, getEnc(), _CMPIStatus::rc, _CMPIResultFT::returnData, _CMPIData::type, and _CMPIData::value.
| void CmpiResult::returnData | ( | const CmpiObjectPath & | d | ) |
returnData - Return a CmpiObjectPath object.
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.
References CMPI_RC_OK, _CMPIResult::ft, CmpiInstance::getEnc(), getEnc(), _CMPIStatus::rc, and _CMPIResultFT::returnInstance.
| void CmpiResult::returnDone | ( | ) |
returnDone - Indicate all data returned.
References CMPI_RC_OK, _CMPIResult::ft, getEnc(), _CMPIStatus::rc, and _CMPIResultFT::returnDone.
friend class CmpiAssociationMI [friend] |
friend class CmpiIndicationMI [friend] |
friend class CmpiInstanceMI [friend] |
friend class CmpiMethodMI [friend] |
friend class CmpiPropertyMI [friend] |
1.7.3