cmpi
|
#include <cmpi/CmpiObject.h>
Public Member Functions | |
CmpiBoolean | isNull () const |
CmpiString | toString () |
CmpiBoolean | isA (const char *typeName) const |
Protected Member Functions | |
CmpiObject () | |
CmpiObject (const void *enc) | |
CmpiString | doToString (CMPIBroker *mb) |
CmpiBoolean | doIsA (CMPIBroker *mb, const char *typeName) const |
Protected Attributes | |
void * | enc |
Friends | |
class | CmpiBroker |
class | CmpiObjectPath |
class | CmpiInstance |
Abstract base class for all Cmpi classes.
CmpiObject::CmpiObject | ( | ) | [protected] |
Constructor - Do nothing
CmpiObject::CmpiObject | ( | const void * | enc | ) | [protected] |
Constructor - Normal base class constructor
CmpiBoolean CmpiObject::doIsA | ( | CMPIBroker * | mb, |
const char * | typeName | ||
) | const [protected] |
References CMPI_RC_OK, CmpiBoolean, _CMPIBroker::eft, enc, _CMPIBrokerEncFT::isOfType, and _CMPIStatus::rc.
Referenced by isA().
CmpiString CmpiObject::doToString | ( | CMPIBroker * | mb | ) | [protected] |
References CMPI_RC_OK, _CMPIBroker::eft, enc, _CMPIStatus::rc, and _CMPIBrokerEncFT::toString.
Referenced by toString().
CmpiBoolean CmpiObject::isA | ( | const char * | typeName | ) | const |
isA - checks this objects type ;
References doIsA(), and CmpiProviderBase::getBroker().
CmpiBoolean CmpiObject::isNull | ( | ) | const |
isNull - Test for valid encapsualtion pointer
References enc.
CmpiString CmpiObject::toString | ( | ) |
toString - Produces CIMOM specific string representation of object
References doToString(), and CmpiProviderBase::getBroker().
friend class CmpiBroker [friend] |
Reimplemented in CmpiArgs, CmpiContext, CmpiEnumeration, CmpiInstance, CmpiObjectPath, and CmpiSelectExp.
friend class CmpiInstance [friend] |
Reimplemented in CmpiObjectPath.
Referenced by CmpiBroker::getInstance().
friend class CmpiObjectPath [friend] |
Referenced by CmpiBroker::createInstance().
void* CmpiObject::enc [protected] |
Protected pointer to encapsulated CMPI instance
Referenced by CmpiArgs::CmpiArgs(), CmpiArray::CmpiArray(), CmpiDateTime::CmpiDateTime(), CmpiEnumeration::CmpiEnumeration(), CmpiInstance::CmpiInstance(), CmpiObjectPath::CmpiObjectPath(), doIsA(), doToString(), CmpiDateTime::getEnc(), CmpiSelectExp::getEnc(), CmpiContext::getEnc(), CmpiEnumeration::getEnc(), CmpiArgs::getEnc(), CmpiBroker::getEnc(), CmpiResult::getEnc(), CmpiObjectPath::getEnc(), CmpiInstance::getEnc(), CmpiArray::getEnc(), and isNull().