#include <iostream>
#include "cmpisrv.h"
#include "OW_Format.hpp"
#include "OW_CIMException.hpp"
#include "OW_CIMProperty.hpp"
#include "OW_CIMObjectPath.hpp"
#include "OW_ProviderEnvironmentIFC.hpp"
#include "OW_ResultHandlers.hpp"
#include "OW_String.hpp"
#include "OW_Logger.hpp"
#include "OW_CIMOMHandleIFC.hpp"
Include dependency graph for cmpiBroker.cpp:
Go to the source code of this file.
Namespaces | |
namespace | OpenWBEM::WBEMFlags |
Defines | |
#define | CM_CIMOM() (* static_cast<OpenWBEM::ProviderEnvironmentIFCRef *>(CMPI_ThreadContext::getBroker()->hdl))->getCIMOMHandle() |
#define | CM_LOGGER() (* static_cast<OpenWBEM::ProviderEnvironmentIFCRef *>(CMPI_ThreadContext::getBroker()->hdl))->getLogger(COMPONENT_NAME) |
#define | CM_Context(ctx) (((CMPI_Context*)ctx)->ctx) |
#define | CM_Instance(ci) ((OpenWBEM::CIMInstance*)ci->hdl) |
#define | CM_ObjectPath(cop) ((OpenWBEM::CIMObjectPath*)cop->hdl) |
#define | CM_LocalOnly(flgs) (((flgs) & CMPI_FLAG_LocalOnly)!=0) |
#define | CM_ClassOrigin(flgs) (((flgs) & CMPI_FLAG_IncludeClassOrigin)!=0) |
#define | CM_IncludeQualifiers(flgs) (((flgs) & CMPI_FLAG_IncludeQualifiers) !=0) |
#define | CM_DeepInheritance(flgs) (((flgs) & CMPI_FLAG_DeepInheritance)!=0) |
#define | DDD(X) X |
Functions | |
const OpenWBEM::String | COMPONENT_NAME ("ow.provider.cmpi.ifc") |
OpenWBEM::StringArray * | getList (const char **l, OpenWBEM::StringArray &sra) |
OpenWBEM::CIMClass * | mbGetClass (const CMPIBroker *, const OpenWBEM::CIMObjectPath &cop) |
static CMPIInstance * | mbGetInstance (const CMPIBroker *, const CMPIContext *ctx, const CMPIObjectPath *cop, const char **properties, CMPIStatus *rc) |
static CMPIObjectPath * | mbCreateInstance (const CMPIBroker *, const CMPIContext *ctx, const CMPIObjectPath *cop, const CMPIInstance *ci, CMPIStatus *rc) |
static CMPIStatus | mbModifyInstance (const CMPIBroker *, const CMPIContext *ctx, const CMPIObjectPath *cop, const CMPIInstance *ci, const char **) |
static CMPIStatus | mbDeleteInstance (const CMPIBroker *, const CMPIContext *ctx, const CMPIObjectPath *cop) |
static CMPIEnumeration * | mbExecQuery (const CMPIBroker *, const CMPIContext *ctx, const CMPIObjectPath *cop, const char *query, const char *lang, CMPIStatus *rc) |
static CMPIEnumeration * | mbEnumInstances (const CMPIBroker *, const CMPIContext *ctx, const CMPIObjectPath *cop, const char **properties, CMPIStatus *rc) |
static CMPIEnumeration * | mbEnumInstanceNames (const CMPIBroker *, const CMPIContext *ctx, const CMPIObjectPath *cop, CMPIStatus *rc) |
static CMPIEnumeration * | mbAssociators (const CMPIBroker *, const CMPIContext *ctx, const CMPIObjectPath *cop, const char *assocClass, const char *resultClass, const char *role, const char *resultRole, const char **properties, CMPIStatus *rc) |
static CMPIEnumeration * | mbAssociatorNames (const CMPIBroker *, const CMPIContext *ctx, const CMPIObjectPath *cop, const char *assocClass, const char *resultClass, const char *role, const char *resultRole, CMPIStatus *rc) |
static CMPIEnumeration * | mbReferences (const CMPIBroker *, const CMPIContext *ctx, const CMPIObjectPath *cop, const char *resultClass, const char *role, const char **properties, CMPIStatus *rc) |
static CMPIEnumeration * | mbReferenceNames (const CMPIBroker *, const CMPIContext *ctx, const CMPIObjectPath *cop, const char *resultClass, const char *role, CMPIStatus *rc) |
static CMPIData | mbInvokeMethod (const CMPIBroker *, const CMPIContext *ctx, const CMPIObjectPath *cop, const char *method, const CMPIArgs *in, CMPIArgs *out, CMPIStatus *rc) |
static CMPIStatus | mbSetProperty (const CMPIBroker *, const CMPIContext *ctx, const CMPIObjectPath *cop, const char *name, const CMPIValue *val, CMPIType type) |
static CMPIData | mbGetProperty (const CMPIBroker *, const CMPIContext *ctx, const CMPIObjectPath *cop, const char *name, CMPIStatus *rc) |
Variables | |
static CMPIBrokerFT | broker_FT |
CMPIBrokerFT * | CMPI_Broker_Ftab = & broker_FT |
|
Definition at line 43 of file cmpiBroker.cpp. Referenced by mbAssociatorNames(), mbAssociators(), mbCreateInstance(), mbDeleteInstance(), mbEnumInstanceNames(), mbEnumInstances(), mbExecQuery(), mbGetClass(), mbGetInstance(), mbGetProperty(), mbModifyInstance(), mbReferenceNames(), mbReferences(), and mbSetProperty(). |
|
Definition at line 51 of file cmpiBroker.cpp. Referenced by mbAssociators(), mbEnumInstances(), mbGetInstance(), and mbReferences(). |
|
Definition at line 47 of file cmpiBroker.cpp. |
|
Definition at line 55 of file cmpiBroker.cpp. Referenced by mbEnumInstances(). |
|
Definition at line 53 of file cmpiBroker.cpp. Referenced by mbAssociators(), mbEnumInstances(), mbGetInstance(), mbModifyInstance(), and mbReferences(). |
|
Definition at line 48 of file cmpiBroker.cpp. Referenced by mbCreateInstance(), and mbModifyInstance(). |
|
Definition at line 50 of file cmpiBroker.cpp. Referenced by mbEnumInstances(), and mbGetInstance(). |
|
Definition at line 45 of file cmpiBroker.cpp. Referenced by mbAssociatorNames(), mbAssociators(), mbCreateInstance(), mbDeleteInstance(), mbEncNewArray(), mbEncNewInstance(), mbEncNewObjectPath(), mbEnumInstanceNames(), mbEnumInstances(), mbExecQuery(), mbGetClass(), mbGetInstance(), mbGetProperty(), mbInvokeMethod(), mbModifyInstance(), mbReferenceNames(), mbReferences(), and mbSetProperty(). |
|
Definition at line 49 of file cmpiBroker.cpp. Referenced by mbAssociatorNames(), mbAssociators(), mbCreateInstance(), mbDeleteInstance(), mbEnumInstanceNames(), mbEnumInstances(), mbExecQuery(), mbGetInstance(), mbGetProperty(), mbModifyInstance(), mbReferenceNames(), mbReferences(), and mbSetProperty(). |
|
Definition at line 58 of file cmpiBroker.cpp. |
|
|
|
Definition at line 65 of file cmpiBroker.cpp. References i. Referenced by mbAssociators(), mbEnumInstances(), mbGetInstance(), and mbReferences(). |
|
Definition at line 457 of file cmpiBroker.cpp. References cia, CM_CIMOM, CM_LOGGER, CM_ObjectPath, CMPI_RC_ERR_FAILED, CMPI_RC_ERROR_SYSTEM, CMPI_RC_OK, CMSetStatus, cop, OW_NAMESPACE::XMLClass::getNameSpace(), OW_LOG_DEBUG, and result. |
|
|
Definition at line 161 of file cmpiBroker.cpp. References CM_CIMOM, CM_Instance, CM_LOGGER, CM_ObjectPath, CMPI_RC_ERR_NOT_SUPPORTED, CMPI_RC_ERROR_SYSTEM, CMPI_RC_OK, CMSetStatus, cop, OW_NAMESPACE::XMLClass::getNameSpace(), and OW_LOG_DEBUG. |
|
Definition at line 238 of file cmpiBroker.cpp. References CM_CIMOM, CM_LOGGER, CM_ObjectPath, CMPI_RC_ERROR, CMPI_RC_ERROR_SYSTEM, CMPI_RC_OK, CMReturn, cop, OW_NAMESPACE::XMLClass::getNameSpace(), and OW_LOG_DEBUG. |
|
Definition at line 362 of file cmpiBroker.cpp. References cia, CM_CIMOM, CM_LOGGER, CM_ObjectPath, CMPI_RC_ERR_FAILED, CMPI_RC_ERROR_SYSTEM, CMPI_RC_OK, CMSetStatus, cop, OW_NAMESPACE::getClassName(), OW_NAMESPACE::XMLClass::getNameSpace(), OW_LOG_DEBUG, and result. |
|
|
Definition at line 275 of file cmpiBroker.cpp. References cia, CM_CIMOM, CM_LOGGER, CM_ObjectPath, CMPI_RC_ERROR_SYSTEM, CMPI_RC_OK, CMSetStatus, cop, OW_NAMESPACE::XMLClass::getNameSpace(), OW_LOG_DEBUG, and result. |
|
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(). |
|
|
Definition at line 664 of file cmpiBroker.cpp. References CM_CIMOM, CM_LOGGER, CM_ObjectPath, CMPI_nullValue, CMPI_RC_ERROR_SYSTEM, CMPI_RC_OK, CMSetStatus, cop, OW_NAMESPACE::XMLClass::getNameSpace(), OW_LOG_DEBUG, type2CMPIType(), and value2CMPIData(). |
|
Definition at line 607 of file cmpiBroker.cpp. References CM_LOGGER, CMPI_nullValue, CMPI_RC_ERR_NOT_SUPPORTED, CMSetStatus, cop, and OW_LOG_DEBUG. |
|
|
Definition at line 561 of file cmpiBroker.cpp. References cia, CM_CIMOM, CM_LOGGER, CM_ObjectPath, CMPI_RC_ERR_FAILED, CMPI_RC_ERROR_SYSTEM, CMPI_RC_OK, CMSetStatus, cop, OW_NAMESPACE::XMLClass::getNameSpace(), OW_LOG_DEBUG, and result. |
|
|
Definition at line 623 of file cmpiBroker.cpp. References CM_CIMOM, CM_LOGGER, CM_ObjectPath, CMPI_RC_ERR_FAILED, CMPI_RC_ERROR_SYSTEM, CMPI_RC_OK, CMReturn, cop, OW_NAMESPACE::XMLClass::getNameSpace(), OW_LOG_DEBUG, val, and value2CIMValue(). |
|
Initial value: { 0, 100 , const_cast<char*>("OpenWBEM"), NULL, NULL, NULL, NULL, mbEnumInstanceNames, mbGetInstance, mbCreateInstance, mbModifyInstance, mbDeleteInstance, mbExecQuery, mbEnumInstances, mbAssociators, mbAssociatorNames, mbReferences, mbReferenceNames, mbInvokeMethod, mbSetProperty, mbGetProperty, } Definition at line 706 of file cmpiBroker.cpp. |
|
Definition at line 730 of file cmpiBroker.cpp. |