cmpisrv.h File Reference

#include "OW_config.h"
#include <stdlib.h>
#include <iostream>
#include "cmpidt.h"
#include "cmpift.h"
#include "OW_Cache.hpp"
#include "OW_CIMClass.hpp"
#include "OW_CIMInstance.hpp"
#include "OW_CIMProperty.hpp"
#include "OW_CIMObjectPath.hpp"
#include "OW_CIMParamValue.hpp"
#include "OW_CIMValue.hpp"
#include "OW_ResultHandlerIFC.hpp"
#include "OW_ProviderEnvironmentIFC.hpp"
#include "cmpiThreadContext.h"

Include dependency graph for cmpisrv.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CMPIOperationContext
struct  MIs
struct  _CMPIResultRefFT
struct  _CMPIResultInstFT
struct  _CMPIResultDataFT
struct  _CMPIResultMethFT
struct  CMPI_Object
struct  CMPI_Context
struct  CMPI_ContextOnStack
class  CMPISingleValueResultHandler< T >
struct  CMPI_Result
struct  CMPI_ResultOnStack
struct  CMPI_InstanceOnStack
struct  CMPI_ObjectPathOnStack
struct  CMPI_ArgsOnStack
struct  CMPI_String
struct  CMPI_DateTime
struct  CMPI_ObjEnumeration
struct  CMPI_InstEnumeration
struct  CMPI_OpEnumeration
struct  CMPI_Broker

Defines

#define RESULT_Instance   1
#define RESULT_Object   2
#define RESULT_ObjectPath   4
#define RESULT_Value   8
#define RESULT_Method   16
#define RESULT_Indication   32
#define RESULT_Response   64
#define RESULT_set   128
#define RESULT_done   256
#define ENQ_BOT_LIST(i, f, l, n, p)
#define ENQ_TOP_LIST(i, f, l, n, p)
#define DEQ_FROM_LIST(i, f, l, n, p)
#define CMPI_MIType_Instance   1
#define CMPI_MIType_Association   2
#define CMPI_MIType_Method   4
#define CMPI_MIType_Property   8
#define CMPI_MIType_Indication   16

Typedefs

typedef CMPIInstanceMI *(* CREATE_INST_MI )(CMPIBroker *, CMPIContext *)
typedef CMPIAssociationMI *(* CREATE_ASSOC_MI )(CMPIBroker *, CMPIContext *)
typedef CMPIMethodMI *(* CREATE_METH_MI )(CMPIBroker *, CMPIContext *)
typedef CMPIPropertyMI *(* CREATE_PROP_MI )(CMPIBroker *, CMPIContext *)
typedef CMPIIndicationMI *(* CREATE_IND_MI )(CMPIBroker *, CMPIContext *)
typedef CMPIInstanceMI *(* CREATE_GEN_INST_MI )(CMPIBroker *, CMPIContext *, const char *)
typedef CMPIAssociationMI *(* CREATE_GEN_ASSOC_MI )(CMPIBroker *, CMPIContext *, const char *)
typedef CMPIMethodMI *(* CREATE_GEN_METH_MI )(CMPIBroker *, CMPIContext *, const char *)
typedef CMPIPropertyMI *(* CREATE_GEN_PROP_MI )(CMPIBroker *, CMPIContext *, const char *)
typedef CMPIIndicationMI *(* CREATE_GEN_IND_MI )(CMPIBroker *, CMPIContext *, const char *)
typedef _CMPIResultRefFT CMPIResultRefFT
typedef _CMPIResultInstFT CMPIResultInstFT
typedef _CMPIResultDataFT CMPIResultDataFT
typedef _CMPIResultMethFT CMPIResultMethFT
typedef CMPISingleValueResultHandler<
OpenWBEM::CIMClass > 
CMPIClassValueResultHandler
typedef CMPISingleValueResultHandler<
OpenWBEM::CIMObjectPath > 
CMPIObjectPathValueResultHandler
typedef CMPISingleValueResultHandler<
OpenWBEM::CIMInstance > 
CMPIInstanceValueResultHandler
typedef CMPISingleValueResultHandler<
OpenWBEM::CIMValue > 
CMPIValueValueResultHandler
typedef OpenWBEM::Cache< OpenWBEM::CIMClass > ClassCache

Functions

CMPIStringstring2CMPIString (const OpenWBEM::String &s)
CMPIType type2CMPIType (OpenWBEM::CIMDataType pt, int array)
OpenWBEM::CIMValue value2CIMValue (const CMPIValue *data, const CMPIType type, CMPIrc *rc)
CMPIrc key2CMPIData (const OpenWBEM::String &v, OpenWBEM::CIMDataType t, CMPIData *data)
CMPIrc value2CMPIData (const OpenWBEM::CIMValue &, CMPIType, CMPIData *data)
OpenWBEM::CIMClass * mbGetClass (const CMPIBroker *mb, const OpenWBEM::CIMObjectPath &cop)

Variables

CMPIInstanceFTCMPI_Instance_Ftab
CMPIInstanceFTCMPI_InstanceOnStack_Ftab
CMPIObjectPathFTCMPI_ObjectPath_Ftab
CMPIObjectPathFTCMPI_ObjectPathOnStack_Ftab
CMPIArgsFTCMPI_Args_Ftab
CMPIArgsFTCMPI_ArgsOnStack_Ftab
CMPIContextFTCMPI_Context_Ftab
CMPIContextFTCMPI_ContextOnStack_Ftab
CMPIResultFTCMPI_ResultRefOnStack_Ftab
CMPIResultFTCMPI_ResultInstOnStack_Ftab
CMPIResultFTCMPI_ResultData_Ftab
CMPIResultFTCMPI_ResultMethOnStack_Ftab
CMPIResultFTCMPI_ResultResponseOnStack_Ftab
CMPIDateTimeFTCMPI_DateTime_Ftab
CMPIArrayFTCMPI_Array_Ftab
CMPIStringFTCMPI_String_Ftab
CMPIBrokerFTCMPI_Broker_Ftab
CMPIBrokerEncFTCMPI_BrokerEnc_Ftab
CMPIEnumerationFTCMPI_ObjEnumeration_Ftab
CMPIEnumerationFTCMPI_InstEnumeration_Ftab
CMPIEnumerationFTCMPI_OpEnumeration_Ftab


Define Documentation

#define CMPI_MIType_Association   2
 

Definition at line 77 of file cmpisrv.h.

#define CMPI_MIType_Indication   16
 

Definition at line 80 of file cmpisrv.h.

#define CMPI_MIType_Instance   1
 

Definition at line 76 of file cmpisrv.h.

#define CMPI_MIType_Method   4
 

Definition at line 78 of file cmpisrv.h.

#define CMPI_MIType_Property   8
 

Definition at line 79 of file cmpisrv.h.

#define DEQ_FROM_LIST i,
f,
l,
n,
 ) 
 

Value:

{ if (i->n) i->n->p=i->p; else l=i->p; \
                      if (i->p) i->p->n=i->n; else f=i->n;}

Definition at line 72 of file cmpisrv.h.

Referenced by CMPI_ThreadContext::remove().

#define ENQ_BOT_LIST i,
f,
l,
n,
 ) 
 

Value:

{ if (l) l->n=i; else f=i; \
                                  i->p=l; i->n=NULL; l=i;}

Definition at line 68 of file cmpisrv.h.

#define ENQ_TOP_LIST i,
f,
l,
n,
 ) 
 

Value:

{ if (f) f->p=i; else l=i; \
                                   i->p=NULL; i->n=f; f=i;}

Definition at line 70 of file cmpisrv.h.

Referenced by CMPI_ThreadContext::add().

#define RESULT_done   256
 

Definition at line 65 of file cmpisrv.h.

#define RESULT_Indication   32
 

Definition at line 62 of file cmpisrv.h.

#define RESULT_Instance   1
 

Definition at line 56 of file cmpisrv.h.

Referenced by CMPI_ResultOnStack::CMPI_ResultOnStack().

#define RESULT_Method   16
 

Definition at line 61 of file cmpisrv.h.

#define RESULT_Object   2
 

Definition at line 58 of file cmpisrv.h.

#define RESULT_ObjectPath   4
 

Definition at line 59 of file cmpisrv.h.

Referenced by CMPI_ResultOnStack::CMPI_ResultOnStack().

#define RESULT_Response   64
 

Definition at line 63 of file cmpisrv.h.

Referenced by CMPI_ResultOnStack::CMPI_ResultOnStack().

#define RESULT_set   128
 

Definition at line 64 of file cmpisrv.h.

Referenced by resultReturnData().

#define RESULT_Value   8
 

Definition at line 60 of file cmpisrv.h.


Typedef Documentation

typedef OpenWBEM::Cache<OpenWBEM::CIMClass> ClassCache
 

Definition at line 287 of file cmpisrv.h.

typedef CMPISingleValueResultHandler<OpenWBEM::CIMClass> CMPIClassValueResultHandler
 

Definition at line 209 of file cmpisrv.h.

typedef CMPISingleValueResultHandler<OpenWBEM::CIMInstance> CMPIInstanceValueResultHandler
 

Definition at line 211 of file cmpisrv.h.

typedef CMPISingleValueResultHandler<OpenWBEM::CIMObjectPath> CMPIObjectPathValueResultHandler
 

Definition at line 210 of file cmpisrv.h.

typedef _CMPIResultDataFT CMPIResultDataFT
 

typedef _CMPIResultInstFT CMPIResultInstFT
 

typedef _CMPIResultMethFT CMPIResultMethFT
 

typedef _CMPIResultRefFT CMPIResultRefFT
 

typedef CMPISingleValueResultHandler<OpenWBEM::CIMValue> CMPIValueValueResultHandler
 

Definition at line 212 of file cmpisrv.h.

typedef CMPIAssociationMI*(* CREATE_ASSOC_MI)(CMPIBroker *, CMPIContext *)
 

Definition at line 83 of file cmpisrv.h.

typedef CMPIAssociationMI*(* CREATE_GEN_ASSOC_MI)(CMPIBroker *, CMPIContext *, const char *)
 

Definition at line 89 of file cmpisrv.h.

typedef CMPIIndicationMI*(* CREATE_GEN_IND_MI)(CMPIBroker *, CMPIContext *, const char *)
 

Definition at line 92 of file cmpisrv.h.

typedef CMPIInstanceMI*(* CREATE_GEN_INST_MI)(CMPIBroker *, CMPIContext *, const char *)
 

Definition at line 88 of file cmpisrv.h.

typedef CMPIMethodMI*(* CREATE_GEN_METH_MI)(CMPIBroker *, CMPIContext *, const char *)
 

Definition at line 90 of file cmpisrv.h.

typedef CMPIPropertyMI*(* CREATE_GEN_PROP_MI)(CMPIBroker *, CMPIContext *, const char *)
 

Definition at line 91 of file cmpisrv.h.

typedef CMPIIndicationMI*(* CREATE_IND_MI)(CMPIBroker *, CMPIContext *)
 

Definition at line 86 of file cmpisrv.h.

typedef CMPIInstanceMI*(* CREATE_INST_MI)(CMPIBroker *, CMPIContext *)
 

Definition at line 82 of file cmpisrv.h.

typedef CMPIMethodMI*(* CREATE_METH_MI)(CMPIBroker *, CMPIContext *)
 

Definition at line 84 of file cmpisrv.h.

typedef CMPIPropertyMI*(* CREATE_PROP_MI)(CMPIBroker *, CMPIContext *)
 

Definition at line 85 of file cmpisrv.h.


Function Documentation

CMPIrc key2CMPIData const OpenWBEM::String &  v,
OpenWBEM::CIMDataType  t,
CMPIData data
 

Definition at line 390 of file cmpiValue.cpp.

References CMPI_keyValue, CMPI_sint64, _CMPIValue::sint64, _CMPIData::state, _CMPIData::type, and _CMPIData::value.

OpenWBEM::CIMClass* mbGetClass const CMPIBroker mb,
const OpenWBEM::CIMObjectPath &  cop
 

Definition at line 83 of file cmpiBroker.cpp.

References CM_CIMOM, CM_LOGGER, OW_NAMESPACE::WBEMFlags::E_EXCLUDE_CLASS_ORIGIN, OW_NAMESPACE::WBEMFlags::E_INCLUDE_QUALIFIERS, OW_NAMESPACE::WBEMFlags::E_NOT_LOCAL_ONLY, and OW_LOG_DEBUG.

Referenced by mbEncClassPathIsA(), and mbEncNewInstance().

CMPIString* string2CMPIString const OpenWBEM::String &  s  ) 
 

Definition at line 27 of file cmpiString.cpp.

Referenced by refGetClassName(), refGetKeyAt(), refGetNameSpace(), and value2CMPIData().

CMPIType type2CMPIType OpenWBEM::CIMDataType  pt,
int  array
 

Definition at line 359 of file cmpiValue.cpp.

References CMPI_ARRAY, CMPI_boolean, CMPI_char16, CMPI_dateTime, CMPI_real32, CMPI_real64, CMPI_ref, CMPI_sint16, CMPI_sint32, CMPI_sint64, CMPI_sint8, CMPI_string, CMPI_uint16, CMPI_uint32, CMPI_uint64, and CMPI_uint8.

Referenced by mbGetProperty(), refGetKey(), and refGetKeyAt().

OpenWBEM::CIMValue value2CIMValue const CMPIValue data,
const CMPIType  type,
CMPIrc rc
 

Definition at line 43 of file cmpiValue.cpp.

References _CMPIValue::array, OW_NAMESPACE::CIMNULL, CMPI_ARRAY, CMPI_chars, CMPI_charsA, CMPI_RC_OK, CMPI_SINT, CMPI_sint16, CMPI_sint32, CMPI_sint64, CMPI_sint8, CMPI_string, CMPI_UINT, CopyToArray, _CMPIArray::hdl, i, _CMPIValue::sint32, _CMPIData::type, and _CMPIData::value.

Referenced by argsAddArg(), mbSetProperty(), refAddKey(), and resultReturnData().

CMPIrc value2CMPIData const OpenWBEM::CIMValue &  ,
CMPIType  ,
CMPIData data
 

Definition at line 235 of file cmpiValue.cpp.

References _CMPIValue::array, _CMPIValue::boolean, _CMPIValue::char16, CMPI_ARRAY, CMPI_boolean, CMPI_char16, CMPI_dateTime, CMPI_RC_ERR_NOT_SUPPORTED, CMPI_RC_OK, CMPI_real32, CMPI_real64, CMPI_ref, CMPI_SINT, CMPI_sint16, CMPI_sint32, CMPI_sint64, CMPI_sint8, CMPI_string, CMPI_UINT, CMPI_uint16, CMPI_uint32, CMPI_uint64, CMPI_uint8, CopyFromArray, CopyFromEncArray, CopyFromStringArray, _CMPIValue::dateTime, _CMPIValue::real32, _CMPIValue::real64, _CMPIValue::ref, _CMPIValue::sint16, _CMPIValue::sint32, _CMPIValue::sint64, _CMPIValue::sint8, _CMPIData::state, _CMPIValue::string, string2CMPIString(), _CMPIData::type, _CMPIValue::uint16, _CMPIValue::uint32, _CMPIValue::uint64, _CMPIValue::uint8, and _CMPIData::value.

Referenced by mbGetProperty(), refGetKey(), and refGetKeyAt().


Variable Documentation

CMPIArgsFT* CMPI_Args_Ftab
 

Definition at line 156 of file cmpiContextArgs.cpp.

CMPIArgsFT* CMPI_ArgsOnStack_Ftab
 

Definition at line 168 of file cmpiContextArgs.cpp.

CMPIArrayFT* CMPI_Array_Ftab
 

Definition at line 136 of file cmpiArray.cpp.

Referenced by arrayClone(), CMPI_Object::CMPI_Object(), mbEncGetType(), and mbEncIsOfType().

CMPIBrokerFT* CMPI_Broker_Ftab
 

Definition at line 730 of file cmpiBroker.cpp.

CMPIBrokerEncFT* CMPI_BrokerEnc_Ftab
 

Definition at line 418 of file cmpiBrokerEnc.cpp.

CMPIContextFT* CMPI_Context_Ftab
 

Definition at line 212 of file cmpiContextArgs.cpp.

Referenced by CMPI_Context::CMPI_Context().

CMPIContextFT* CMPI_ContextOnStack_Ftab
 

Definition at line 224 of file cmpiContextArgs.cpp.

Referenced by CMPI_ContextOnStack::CMPI_ContextOnStack().

CMPIDateTimeFT* CMPI_DateTime_Ftab
 

Definition at line 190 of file cmpiDateTime.cpp.

Referenced by CMPI_Object::CMPI_Object(), and dtClone().

CMPIInstanceFT* CMPI_Instance_Ftab
 

Definition at line 266 of file cmpiInstance.cpp.

Referenced by CMPI_Object::CMPI_Object(), instClone(), mbEncGetType(), mbEncIsOfType(), and mbEncToString().

CMPIInstanceFT* CMPI_InstanceOnStack_Ftab
 

Definition at line 267 of file cmpiInstance.cpp.

Referenced by CMPI_InstanceOnStack::CMPI_InstanceOnStack(), and mbEncToString().

CMPIEnumerationFT* CMPI_InstEnumeration_Ftab
 

Definition at line 166 of file cmpiEnumeration.cpp.

Referenced by CMPI_InstEnumeration::CMPI_InstEnumeration(), enumGetNext(), enumHasNext(), and CmpiEnumeration::toFirst().

CMPIObjectPathFT* CMPI_ObjectPath_Ftab
 

Definition at line 234 of file cmpiObjectPath.cpp.

Referenced by CMPI_Object::CMPI_Object(), mbEncGetType(), mbEncIsOfType(), mbEncToString(), and refClone().

CMPIObjectPathFT* CMPI_ObjectPathOnStack_Ftab
 

Definition at line 261 of file cmpiObjectPath.cpp.

Referenced by CMPI_ObjectPathOnStack::CMPI_ObjectPathOnStack(), and mbEncToString().

CMPIEnumerationFT* CMPI_ObjEnumeration_Ftab
 

Definition at line 165 of file cmpiEnumeration.cpp.

Referenced by CMPI_ObjEnumeration::CMPI_ObjEnumeration(), enumGetNext(), enumHasNext(), and CmpiEnumeration::toFirst().

CMPIEnumerationFT* CMPI_OpEnumeration_Ftab
 

Definition at line 167 of file cmpiEnumeration.cpp.

Referenced by CMPI_OpEnumeration::CMPI_OpEnumeration(), and enumRelease().

CMPIResultFT* CMPI_ResultData_Ftab
 

Definition at line 252 of file cmpiResult.cpp.

CMPIResultFT* CMPI_ResultInstOnStack_Ftab
 

Definition at line 254 of file cmpiResult.cpp.

Referenced by CMPI_ResultOnStack::CMPI_ResultOnStack().

CMPIResultFT* CMPI_ResultMethOnStack_Ftab
 

Definition at line 253 of file cmpiResult.cpp.

Referenced by resultReturnData().

CMPIResultFT* CMPI_ResultRefOnStack_Ftab
 

Definition at line 256 of file cmpiResult.cpp.

Referenced by CMPI_ResultOnStack::CMPI_ResultOnStack().

CMPIResultFT* CMPI_ResultResponseOnStack_Ftab
 

Definition at line 257 of file cmpiResult.cpp.

Referenced by CMPI_ResultOnStack::CMPI_ResultOnStack().

CMPIStringFT* CMPI_String_Ftab
 

Definition at line 66 of file cmpiString.cpp.

Referenced by CMPI_Object::CMPI_Object(), and mbEncToString().


Generated on Thu Feb 9 08:49:13 2006 for openwbem by  doxygen 1.4.6