CmpiStatus Class Reference

This class represents the status of a provider function invocation. More...

#include <CmpiStatus.h>

Collaboration diagram for CmpiStatus:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CmpiStatus (const CMPIrc rc)
 Constructor - set rc only.
 CmpiStatus (const CMPIrc rcp, const char *msg)
 Constructor - set rc and message.
CMPIrc rc () const
 rc - get the rc value.
const char * msg ()
 msg - get the msg component.

Protected Member Functions

CMPIStatus status () const
 status - Returns CMPIStatus struct, to be used by MI drivers only.

Protected Attributes

CMPIStatus st
 CmpiStatus actually is a CMPIStatus struct.

Private Member Functions

 CmpiStatus ()
 Constructor - not to be used.

Friends

class CmpiInstanceMI
class CmpiMethodMI
class CmpiBaseMI
class CmpiAssociationMI
class CmpiPropertyMI
class CmpiIndicationMI

Detailed Description

This class represents the status of a provider function invocation.

Definition at line 33 of file CmpiStatus.h.


Constructor & Destructor Documentation

CmpiStatus::CmpiStatus  )  [private]
 

Constructor - not to be used.

Definition at line 782 of file CmpiImpl.cpp.

References CMPI_RC_OK, _CMPIStatus::msg, _CMPIStatus::rc, and st.

CmpiStatus::CmpiStatus const CMPIrc  rc  ) 
 

Constructor - set rc only.

Parameters:
rc the return code.

Definition at line 787 of file CmpiImpl.cpp.

References _CMPIStatus::msg, _CMPIStatus::rc, and st.

CmpiStatus::CmpiStatus const CMPIrc  rcp,
const char *  msg
[inline]
 

Constructor - set rc and message.

Parameters:
rc The return code.
msg Descriptive message.

Definition at line 66 of file CmpiStatus.h.

References CMNewString, CmpiProviderBase::getBroker(), _CMPIStatus::msg, _CMPIStatus::rc, and st.


Member Function Documentation

const char* CmpiStatus::msg  )  [inline]
 

msg - get the msg component.

Definition at line 78 of file CmpiStatus.h.

References CMGetCharPtr, _CMPIStatus::msg, and st.

CMPIrc CmpiStatus::rc  )  const [inline]
 

rc - get the rc value.

Definition at line 73 of file CmpiStatus.h.

References _CMPIStatus::rc, and st.

CMPIStatus CmpiStatus::status  )  const [inline, protected]
 

status - Returns CMPIStatus struct, to be used by MI drivers only.

Definition at line 48 of file CmpiStatus.h.

References st.

Referenced by CmpiBaseMI::doDriveBaseCleanup().


Friends And Related Function Documentation

friend class CmpiAssociationMI [friend]
 

Definition at line 37 of file CmpiStatus.h.

friend class CmpiBaseMI [friend]
 

Definition at line 36 of file CmpiStatus.h.

friend class CmpiIndicationMI [friend]
 

Definition at line 39 of file CmpiStatus.h.

friend class CmpiInstanceMI [friend]
 

Definition at line 34 of file CmpiStatus.h.

friend class CmpiMethodMI [friend]
 

Definition at line 35 of file CmpiStatus.h.

friend class CmpiPropertyMI [friend]
 

Definition at line 38 of file CmpiStatus.h.


Member Data Documentation

CMPIStatus CmpiStatus::st [protected]
 

CmpiStatus actually is a CMPIStatus struct.

Definition at line 44 of file CmpiStatus.h.

Referenced by CmpiStatus(), msg(), rc(), and status().


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