cmpiBrokerEnc.cpp File Reference

#include "cmpisrv.h"
#include "OW_CIMException.hpp"
#include "OW_CIMProperty.hpp"
#include "OW_CIMObjectPath.hpp"
#include "OW_ProviderEnvironmentIFC.hpp"
#include "OW_Logger.hpp"

Include dependency graph for cmpiBrokerEnc.cpp:

Go to the source code of this file.

Defines

#define CM_LOGGER()   (* static_cast<OpenWBEM::ProviderEnvironmentIFCRef *>(CMPI_ThreadContext::getBroker()->hdl))->getLogger(COMPONENT_NAME)

Functions

const OpenWBEM::String COMPONENT_NAME ("ow.provider.cmpi.ifc")
static CMPIInstancembEncNewInstance (const CMPIBroker *, const CMPIObjectPath *eCop, CMPIStatus *rc)
static CMPIObjectPathmbEncNewObjectPath (const CMPIBroker *, const char *ns, const char *cls, CMPIStatus *rc)
static CMPIArgsmbEncNewArgs (const CMPIBroker *, CMPIStatus *rc)
static CMPIStringmbEncNewString (const CMPIBroker *, const char *cStr, CMPIStatus *rc)
CMPIStringmbIntNewString (char *s)
static CMPIArraymbEncNewArray (const CMPIBroker *, CMPICount count, CMPIType type, CMPIStatus *rc)
CMPIDateTimenewDateTime ()
static CMPIDateTimembEncNewDateTime (const CMPIBroker *, CMPIStatus *rc)
CMPIDateTimenewDateTime (CMPIUint64, CMPIBoolean)
static CMPIDateTimembEncNewDateTimeFromBinary (const CMPIBroker *, CMPIUint64 time, CMPIBoolean interval, CMPIStatus *rc)
CMPIDateTimenewDateTime (const char *)
static CMPIDateTimembEncNewDateTimeFromString (const CMPIBroker *, const char *t, CMPIStatus *rc)
static CMPIStringmbEncToString (const CMPIBroker *, const void *o, CMPIStatus *rc)
static CMPIBoolean mbEncClassPathIsA (const CMPIBroker *, const CMPIObjectPath *eCp, const char *type, CMPIStatus *rc)
CMPIBoolean mbEncIsOfType (const CMPIBroker *mb, const void *o, const char *type, CMPIStatus *rc)
static CMPIStringmbEncGetType (const CMPIBroker *mb, const void *o, CMPIStatus *rc)
CMPIStringmbEncGetMessage (const CMPIBroker *, const char *msgId, const char *defMsg, CMPIStatus *rc, unsigned int count,...)
CMPIStatus mbEncLogMessage (const CMPIBroker *mb, int severity, const char *id, const char *text, const CMPIString *string)
CMPIStatus mbEncTrace (const CMPIBroker *mb, int level, const char *component, const char *text, const CMPIString *string)

Variables

static CMPIBrokerEncFT brokerEnc_FT
CMPIBrokerEncFTCMPI_BrokerEnc_Ftab = &brokerEnc_FT


Define Documentation

 
#define CM_LOGGER  )     (* static_cast<OpenWBEM::ProviderEnvironmentIFCRef *>(CMPI_ThreadContext::getBroker()->hdl))->getLogger(COMPONENT_NAME)
 

Definition at line 34 of file cmpiBrokerEnc.cpp.


Function Documentation

const OpenWBEM::String @0::COMPONENT_NAME "ow.provider.cmpi.ifc"   )  [static]
 

static CMPIBoolean mbEncClassPathIsA const CMPIBroker ,
const CMPIObjectPath eCp,
const char *  type,
CMPIStatus rc
[static]
 

Definition at line 202 of file cmpiBrokerEnc.cpp.

References cop, _CMPIObjectPath::hdl, and mbGetClass().

CMPIString* mbEncGetMessage const CMPIBroker ,
const char *  msgId,
const char *  defMsg,
CMPIStatus rc,
unsigned int  count,
  ...
 

Definition at line 336 of file cmpiBrokerEnc.cpp.

static CMPIString* mbEncGetType const CMPIBroker mb,
const void *  o,
CMPIStatus rc
[static]
 

Definition at line 260 of file cmpiBrokerEnc.cpp.

References CMPI_Array_Ftab, CMPI_Instance_Ftab, CMPI_ObjectPath_Ftab, CMPI_RC_ERR_FAILED, CMPI_RC_OK, CMSetStatus, CMSetStatusWithChars, _CMPIBroker::eft, CMPI_Object::ftab, and _CMPIBrokerEncFT::newString.

CMPIBoolean mbEncIsOfType const CMPIBroker mb,
const void *  o,
const char *  type,
CMPIStatus rc
 

Definition at line 224 of file cmpiBrokerEnc.cpp.

References CMPI_Array_Ftab, CMPI_Instance_Ftab, CMPI_ObjectPath_Ftab, CMPI_RC_ERR_FAILED, CMPI_RC_OK, CMSetStatus, CMSetStatusWithChars, and CMPI_Object::ftab.

CMPIStatus mbEncLogMessage const CMPIBroker mb,
int  severity,
const char *  id,
const char *  text,
const CMPIString string
 

Definition at line 376 of file cmpiBrokerEnc.cpp.

References CMPI_RC_ERR_METHOD_NOT_AVAILABLE, and _CMPIStatus::rc.

static CMPIArgs* mbEncNewArgs const CMPIBroker ,
CMPIStatus rc
[static]
 

Definition at line 85 of file cmpiBrokerEnc.cpp.

References CMPI_RC_OK, and CMSetStatus.

static CMPIArray* mbEncNewArray const CMPIBroker ,
CMPICount  count,
CMPIType  type,
CMPIStatus rc
[static]
 

Definition at line 101 of file cmpiBrokerEnc.cpp.

References CM_LOGGER, CMPI_nullValue, CMPI_RC_OK, CMSetStatus, i, OW_LOG_DEBUG, _CMPIData::state, _CMPIData::type, _CMPIValue::uint32, _CMPIValue::uint64, and _CMPIData::value.

static CMPIDateTime* mbEncNewDateTime const CMPIBroker ,
CMPIStatus rc
[static]
 

Definition at line 121 of file cmpiBrokerEnc.cpp.

References CMPI_RC_OK, CMSetStatus, and newDateTime().

static CMPIDateTime* mbEncNewDateTimeFromBinary const CMPIBroker ,
CMPIUint64  time,
CMPIBoolean  interval,
CMPIStatus rc
[static]
 

Definition at line 129 of file cmpiBrokerEnc.cpp.

References CMPI_RC_OK, CMSetStatus, and newDateTime().

static CMPIDateTime* mbEncNewDateTimeFromString const CMPIBroker ,
const char *  t,
CMPIStatus rc
[static]
 

Definition at line 138 of file cmpiBrokerEnc.cpp.

References CMPI_RC_OK, CMSetStatus, and newDateTime().

static CMPIInstance* mbEncNewInstance const CMPIBroker ,
const CMPIObjectPath eCop,
CMPIStatus rc
[static]
 

Definition at line 39 of file cmpiBrokerEnc.cpp.

References CM_LOGGER, cop, _CMPIObjectPath::hdl, mbGetClass(), and OW_LOG_DEBUG.

static CMPIObjectPath* mbEncNewObjectPath const CMPIBroker ,
const char *  ns,
const char *  cls,
CMPIStatus rc
[static]
 

Definition at line 72 of file cmpiBrokerEnc.cpp.

References className, CM_LOGGER, CMPI_RC_OK, CMSetStatus, cop, and OW_LOG_DEBUG.

static CMPIString* mbEncNewString const CMPIBroker ,
const char *  cStr,
CMPIStatus rc
[static]
 

Definition at line 91 of file cmpiBrokerEnc.cpp.

References CMPI_RC_OK, and CMSetStatus.

Referenced by mbIntNewString().

static CMPIString* mbEncToString const CMPIBroker ,
const void *  o,
CMPIStatus rc
[static]
 

Definition at line 145 of file cmpiBrokerEnc.cpp.

References CMPI_Instance_Ftab, CMPI_InstanceOnStack_Ftab, CMPI_ObjectPath_Ftab, CMPI_ObjectPathOnStack_Ftab, CMPI_RC_ERR_FAILED, CMPI_String_Ftab, CMSetStatus, CMPI_Object::ftab, and CMPI_Object::hdl.

CMPIStatus mbEncTrace const CMPIBroker mb,
int  level,
const char *  component,
const char *  text,
const CMPIString string
 

Definition at line 386 of file cmpiBrokerEnc.cpp.

References CMPI_RC_ERR_METHOD_NOT_AVAILABLE, and _CMPIStatus::rc.

CMPIString* mbIntNewString char *  s  ) 
 

Definition at line 97 of file cmpiBrokerEnc.cpp.

References mbEncNewString().

CMPIDateTime* newDateTime const char *   ) 
 

Definition at line 92 of file cmpiDateTime.cpp.

CMPIDateTime* newDateTime CMPIUint64  ,
CMPIBoolean 
 

Definition at line 86 of file cmpiDateTime.cpp.

CMPIDateTime* newDateTime  ) 
 

Definition at line 77 of file cmpiDateTime.cpp.

Referenced by mbEncNewDateTime(), mbEncNewDateTimeFromBinary(), and mbEncNewDateTimeFromString().


Variable Documentation

CMPIBrokerEncFT brokerEnc_FT [static]
 

Initial value:

Definition at line 396 of file cmpiBrokerEnc.cpp.

CMPIBrokerEncFT* CMPI_BrokerEnc_Ftab = &brokerEnc_FT
 

Definition at line 418 of file cmpiBrokerEnc.cpp.


Generated on Thu Feb 9 08:48:50 2006 for openwbem by  doxygen 1.4.6