CmpiObject Class Reference

Abstract base class for all Cmpi classes. More...

#include <CmpiObject.h>

Inheritance diagram for CmpiObject:

Inheritance graph
[legend]
List of all members.

Public Member Functions

CMPIBoolean isNull () const
 isNull - Test for valid encapsualtion pointer
CmpiString toString ()
 toString - Produc;s CIMOM specific string representation of object
CMPIBoolean isA (const char *typeName)
 isA - checks this objects type ;

Protected Member Functions

 CmpiObject ()
 Constructor - Do nothing.
 CmpiObject (const void *enc)
 Constructor - Normal base class constructor.
CmpiString doToString (CMPIBroker *mb)
CMPIBoolean doIsA (CMPIBroker *mb, const char *typeName)

Protected Attributes

void * enc
 Protected pointer to encapsulated CMPI instance.

Friends

class CmpiBroker
class CmpiObjectPath
class CmpiInstance

Detailed Description

Abstract base class for all Cmpi classes.

Definition at line 42 of file CmpiObject.h.


Constructor & Destructor Documentation

CmpiObject::CmpiObject  )  [inline, protected]
 

Constructor - Do nothing.

Definition at line 52 of file CmpiObject.h.

CmpiObject::CmpiObject const void *  enc  )  [inline, protected]
 

Constructor - Normal base class constructor.

Definition at line 55 of file CmpiObject.h.


Member Function Documentation

CMPIBoolean CmpiObject::doIsA CMPIBroker mb,
const char *  typeName
[protected]
 

Definition at line 1137 of file CmpiImpl.cpp.

References CMPI_RC_OK, CmpiBoolean, _CMPIBroker::eft, enc, _CMPIBrokerEncFT::isOfType, and _CMPIStatus::rc.

Referenced by isA().

CmpiString CmpiObject::doToString CMPIBroker mb  )  [protected]
 

Definition at line 1130 of file CmpiImpl.cpp.

References CMPI_RC_OK, _CMPIBroker::eft, enc, _CMPIStatus::rc, and _CMPIBrokerEncFT::toString.

Referenced by toString().

CMPIBoolean CmpiObject::isA const char *  typeName  )  [inline]
 

isA - checks this objects type ;

Definition at line 72 of file CmpiObject.h.

References doIsA(), and CmpiProviderBase::getBroker().

CMPIBoolean CmpiObject::isNull  )  const [inline]
 

isNull - Test for valid encapsualtion pointer

Definition at line 63 of file CmpiObject.h.

References enc.

CmpiString CmpiObject::toString  )  [inline]
 

toString - Produc;s CIMOM specific string representation of object

Definition at line 67 of file CmpiObject.h.

References doToString(), and CmpiProviderBase::getBroker().


Friends And Related Function Documentation

friend class CmpiBroker [friend]
 

Reimplemented in CmpiArgs, CmpiContext, CmpiEnumeration, CmpiInstance, CmpiObjectPath, and CmpiSelectExp.

Definition at line 43 of file CmpiObject.h.

friend class CmpiInstance [friend]
 

Reimplemented in CmpiBroker, and CmpiObjectPath.

Definition at line 45 of file CmpiObject.h.

friend class CmpiObjectPath [friend]
 

Reimplemented in CmpiBroker.

Definition at line 44 of file CmpiObject.h.


Member Data Documentation

void* CmpiObject::enc [protected]
 

Protected pointer to encapsulated CMPI instance.

Definition at line 49 of file CmpiObject.h.

Referenced by CmpiArgs::CmpiArgs(), CmpiArray::CmpiArray(), CmpiDateTime::CmpiDateTime(), CmpiEnumeration::CmpiEnumeration(), CmpiInstance::CmpiInstance(), CmpiObjectPath::CmpiObjectPath(), CmpiSelectExp::CmpiSelectExp(), doIsA(), doToString(), CmpiSelectExp::getEnc(), CmpiResult::getEnc(), CmpiObjectPath::getEnc(), CmpiInstance::getEnc(), CmpiEnumeration::getEnc(), CmpiDateTime::getEnc(), CmpiContext::getEnc(), CmpiBroker::getEnc(), CmpiArray::getEnc(), CmpiArgs::getEnc(), and isNull().


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