NPIExternal.hpp File Reference

#include "OW_FTABLERef.hpp"

Include dependency graph for NPIExternal.hpp:

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

Go to the source code of this file.

Namespaces

namespace  OW_NAMESPACE

Functions

void OW_NAMESPACE::_NPIGarbageCan (NPIHandle *nh, void *object, NPIGarbageType type)
CIMClass OW_NAMESPACE::NPI_getmyClass (NPIHandle *npiHandle, const String &nameSpace, const String &className)
CIMObjectPathEnumeration OW_NAMESPACE::NPI_enumeratemyInstanceNames (NPIHandle *npiHandle, const String &nameSpace, const String &className)
CIMInstanceEnumeration OW_NAMESPACE::NPI_enumeratemyInstances (NPIHandle *npiHandle, const String &nameSpace, const String &className)
CIMInstance OW_NAMESPACE::NPI_getmyInstance (NPIHandle *npiHandle, const CIMObjectPath &owcop, const int localOnly)
Vector VectorNew (NPIHandle *npiHandle)
void _VectorAddTo (NPIHandle *npiHandle, Vector v, void *obj)
int VectorSize (NPIHandle *npiHandle, Vector v)
void * _VectorGet (NPIHandle *npiHandle, Vector v, int pos)
::CIMType CIMValueGetType (NPIHandle *npiHandle,::CIMValue cv)
::CIMValue CIMValueNewString (NPIHandle *npiHandle, const char *val)
::CIMValue CIMValueNewInteger (NPIHandle *npiHandle, int val)
::CIMValue CIMValueNewRef (NPIHandle *npiHandle,::CIMObjectPath cop)
char * CIMValueGetString (NPIHandle *npiHandle,::CIMValue cv)
int CIMValueGetInteger (NPIHandle *npiHandle,::CIMValue cv)
::CIMObjectPath CIMValueGetRef (NPIHandle *npiHandle,::CIMValue cv)
::CIMType CIMParameterGetType (NPIHandle *npiHandle,::CIMParameter cp)
char * CIMParameterGetName (NPIHandle *npiHandle,::CIMParameter cp)
::CIMParameter CIMParameterNewString (NPIHandle *npiHandle, const char *name, const char *value)
::CIMParameter CIMParameterNewInteger (NPIHandle *npiHandle, const char *name, int value)
::CIMParameter CIMParameterNewRef (NPIHandle *npiHandle, const char *name, CIMObjectPath value)
char * CIMParameterGetString (NPIHandle *npiHandle,::CIMParameter cp)
int CIMParameterGetIntegerValue (NPIHandle *npiHandle,::CIMParameter cp)
CIMObjectPath CIMParameterGetRefValue (NPIHandle *npiHandle,::CIMParameter cp)
::CIMInstance CIMClassNewInstance (NPIHandle *npiHandle,::CIMClass cc)
void CIMInstanceSetStringProperty (NPIHandle *npiHandle,::CIMInstance ci, const char *name, const char *value)
void CIMInstanceSetIntegerProperty (NPIHandle *npiHandle,::CIMInstance ci, const char *name, const int value)
void CIMInstanceSetLongProperty (NPIHandle *,::CIMInstance, const char *, const long long)
void CIMInstanceSetBooleanProperty (NPIHandle *,::CIMInstance, const char *, const unsigned char)
void CIMInstanceSetRefProperty (NPIHandle *npiHandle,::CIMInstance ci, const char *name,::CIMObjectPath value)
void CIMInstanceAddStringArrayPropertyValue (NPIHandle *npiHandle,::CIMInstance ci, const char *name, const char *value)
char * CIMInstanceGetStringArrayPropertyValue (NPIHandle *npiHandle,::CIMInstance ci, const char *name, const int pos)
char * CIMInstanceGetStringValue (NPIHandle *npiHandle,::CIMInstance ci, const char *name)
int CIMInstanceGetIntegerValue (NPIHandle *npiHandle,::CIMInstance ci, const char *name)
::CIMObjectPath CIMInstanceGetRefValue (NPIHandle *npiHandle, CIMInstance ci, const char *name)
::CIMObjectPath CIMObjectPathNew (NPIHandle *npiHandle, const char *classname)
void CIMObjectPathDel (NPIHandle *npiHandle,::CIMObjectPath cop)
::CIMObjectPath CIMObjectPathFromCIMInstance (NPIHandle *npiHandle,::CIMInstance ci)
char * CIMObjectPathGetClassName (NPIHandle *npiHandle,::CIMObjectPath cop)
char * CIMObjectPathGetNameSpace (NPIHandle *npiHandle,::CIMObjectPath cop)
void CIMObjectPathSetNameSpace (NPIHandle *npiHandle,::CIMObjectPath cop, const char *str)
void CIMObjectPathSetNameSpaceFromCIMObjectPath (NPIHandle *npiHandle,::CIMObjectPath cop,::CIMObjectPath src)
char * CIMObjectPathGetStringKeyValue (NPIHandle *npiHandle,::CIMObjectPath cop, const char *key)
void CIMObjectPathAddStringKeyValue (NPIHandle *npiHandle,::CIMObjectPath cop, const char *key, const char *value)
int CIMObjectPathGetIntegerKeyValue (NPIHandle *npiHandle,::CIMObjectPath cop, const char *key)
void CIMObjectPathAddIntegerKeyValue (NPIHandle *npiHandle,::CIMObjectPath cop, const char *key, const int value)
::CIMObjectPath CIMObjectPathGetRefKeyValue (NPIHandle *npiHandle,::CIMObjectPath cop, const char *key)
void CIMObjectPathAddRefKeyValue (NPIHandle *npiHandle,::CIMObjectPath cop, const char *key,::CIMObjectPath cop2)
::CIMClass CIMOMGetClass (NPIHandle *npiHandle,::CIMObjectPath cop, int localOnly)
::Vector CIMOMEnumInstanceNames (NPIHandle *npiHandle,::CIMObjectPath cop, int i)
::Vector CIMOMEnumInstances (NPIHandle *npiHandle,::CIMObjectPath cop, int i, int j)
::CIMInstance CIMOMGetInstance (NPIHandle *npiHandle,::CIMObjectPath cop, int i)
void CIMOMDeliverProcessEvent (NPIHandle *npiHandle, char *ns,::CIMInstance indication)
void CIMOMDeliverInstanceEvent (NPIHandle *npiHandle, char *ns,::CIMInstance indication,::CIMInstance source,::CIMInstance previous)
int errorCheck (NPIHandle *npiHandle)
void raiseError (NPIHandle *npiHandle, const char *msg)
char * _ObjectToString (NPIHandle *npiHandle, void *co)


Function Documentation

char* _ObjectToString NPIHandle npiHandle,
void *  co
 

Definition at line 1192 of file NPIExternal.cpp.

void _VectorAddTo NPIHandle npiHandle,
Vector  v,
void *  obj
 

Definition at line 146 of file NPIExternal.cpp.

References Vector::ptr.

void* _VectorGet NPIHandle npiHandle,
Vector  v,
int  pos
 

Definition at line 158 of file NPIExternal.cpp.

References Vector::ptr, and result.

::CIMInstance CIMClassNewInstance NPIHandle npiHandle,
::CIMClass  cc
 

Definition at line 411 of file NPIExternal.cpp.

References OW_NAMESPACE::_NPIGarbageCan(), OW_NAMESPACE::CIM_INSTANCE, CIMInstance::ptr, CIMClass::ptr, and raiseError().

void CIMInstanceAddStringArrayPropertyValue NPIHandle npiHandle,
::CIMInstance  ci,
const char *  name,
const char *  value
 

Definition at line 555 of file NPIExternal.cpp.

References CIMInstance::ptr, and raiseError().

int CIMInstanceGetIntegerValue NPIHandle npiHandle,
::CIMInstance  ci,
const char *  name
 

Definition at line 662 of file NPIExternal.cpp.

References BOOLEAN, i, and CIMInstance::ptr.

::CIMObjectPath CIMInstanceGetRefValue NPIHandle npiHandle,
CIMInstance  ci,
const char *  name
 

char* CIMInstanceGetStringArrayPropertyValue NPIHandle npiHandle,
::CIMInstance  ci,
const char *  name,
const int  pos
 

Definition at line 588 of file NPIExternal.cpp.

References CIMInstance::ptr, raiseError(), and result.

char* CIMInstanceGetStringValue NPIHandle npiHandle,
::CIMInstance  ci,
const char *  name
 

Definition at line 639 of file NPIExternal.cpp.

References CIMInstance::ptr, raiseError(), and OW_NAMESPACE::STRING.

void CIMInstanceSetBooleanProperty NPIHandle ,
::CIMInstance  ,
const char *  ,
const unsigned  char
 

Definition at line 499 of file NPIExternal.cpp.

References CIMInstance::ptr, and raiseError().

void CIMInstanceSetIntegerProperty NPIHandle npiHandle,
::CIMInstance  ci,
const char *  name,
const int  value
 

Definition at line 463 of file NPIExternal.cpp.

References CIMInstance::ptr, and raiseError().

void CIMInstanceSetLongProperty NPIHandle ,
::CIMInstance  ,
const char *  ,
const long  long
 

Definition at line 481 of file NPIExternal.cpp.

References CIMInstance::ptr, and raiseError().

void CIMInstanceSetRefProperty NPIHandle npiHandle,
::CIMInstance  ci,
const char *  name,
::CIMObjectPath  value
 

Definition at line 517 of file NPIExternal.cpp.

References CIMObjectPath::ptr, CIMInstance::ptr, and raiseError().

void CIMInstanceSetStringProperty NPIHandle npiHandle,
::CIMInstance  ci,
const char *  name,
const char *  value
 

Definition at line 427 of file NPIExternal.cpp.

References CIMInstance::ptr, and raiseError().

void CIMObjectPathAddIntegerKeyValue NPIHandle npiHandle,
::CIMObjectPath  cop,
const char *  key,
const int  value
 

Definition at line 928 of file NPIExternal.cpp.

References _CIMObjectPathAddKey(), cop, CIMObjectPath::ptr, and raiseError().

void CIMObjectPathAddRefKeyValue NPIHandle npiHandle,
::CIMObjectPath  cop,
const char *  key,
::CIMObjectPath  cop2
 

Definition at line 981 of file NPIExternal.cpp.

References _CIMObjectPathAddKey(), cop, CIMObjectPath::ptr, and raiseError().

void CIMObjectPathAddStringKeyValue NPIHandle npiHandle,
::CIMObjectPath  cop,
const char *  key,
const char *  value
 

Definition at line 861 of file NPIExternal.cpp.

References _CIMObjectPathAddKey(), cop, CIMObjectPath::ptr, and raiseError().

void CIMObjectPathDel NPIHandle npiHandle,
::CIMObjectPath  cop
 

::CIMObjectPath CIMObjectPathFromCIMInstance NPIHandle npiHandle,
::CIMInstance  ci
 

Definition at line 737 of file NPIExternal.cpp.

References OW_NAMESPACE::_NPIGarbageCan(), OW_NAMESPACE::CIM_OBJECTPATH, cop, CIMObjectPath::ptr, CIMInstance::ptr, and raiseError().

char* CIMObjectPathGetClassName NPIHandle npiHandle,
::CIMObjectPath  cop
 

Definition at line 753 of file NPIExternal.cpp.

References cop, CIMObjectPath::ptr, and raiseError().

int CIMObjectPathGetIntegerKeyValue NPIHandle npiHandle,
::CIMObjectPath  cop,
const char *  key
 

Definition at line 881 of file NPIExternal.cpp.

References cop, i, and CIMObjectPath::ptr.

char* CIMObjectPathGetNameSpace NPIHandle npiHandle,
::CIMObjectPath  cop
 

Definition at line 765 of file NPIExternal.cpp.

References cop, CIMObjectPath::ptr, and raiseError().

::CIMObjectPath CIMObjectPathGetRefKeyValue NPIHandle npiHandle,
::CIMObjectPath  cop,
const char *  key
 

Definition at line 947 of file NPIExternal.cpp.

References OW_NAMESPACE::_NPIGarbageCan(), OW_NAMESPACE::CIM_OBJECTPATH, OW_NAMESPACE::CIMNULL, cop, i, and CIMObjectPath::ptr.

char* CIMObjectPathGetStringKeyValue NPIHandle npiHandle,
::CIMObjectPath  cop,
const char *  key
 

Definition at line 805 of file NPIExternal.cpp.

References cop, i, CIMObjectPath::ptr, and OW_NAMESPACE::STRING.

::CIMObjectPath CIMObjectPathNew NPIHandle npiHandle,
const char *  classname
 

Definition at line 719 of file NPIExternal.cpp.

References OW_NAMESPACE::_NPIGarbageCan(), OW_NAMESPACE::CIM_OBJECTPATH, className, cop, CIMObjectPath::ptr, and raiseError().

void CIMObjectPathSetNameSpace NPIHandle npiHandle,
::CIMObjectPath  cop,
const char *  str
 

Definition at line 777 of file NPIExternal.cpp.

References cop, CIMObjectPath::ptr, and raiseError().

void CIMObjectPathSetNameSpaceFromCIMObjectPath NPIHandle npiHandle,
::CIMObjectPath  cop,
::CIMObjectPath  src
 

Definition at line 790 of file NPIExternal.cpp.

References cop, CIMObjectPath::ptr, and raiseError().

void CIMOMDeliverInstanceEvent NPIHandle npiHandle,
char *  ns,
::CIMInstance  indication,
::CIMInstance  source,
::CIMInstance  previous
 

Definition at line 1113 of file NPIExternal.cpp.

References OW_NAMESPACE::COMPONENT_NAME, NPIHandle::errorOccurred, OW_LOG_DEBUG, CIMInstance::ptr, and NPIHandle::thisObject.

void CIMOMDeliverProcessEvent NPIHandle npiHandle,
char *  ns,
::CIMInstance  indication
 

Definition at line 1092 of file NPIExternal.cpp.

References NPIHandle::errorOccurred, CIMInstance::ptr, and NPIHandle::thisObject.

::Vector CIMOMEnumInstanceNames NPIHandle npiHandle,
::CIMObjectPath  cop,
int  i
 

Definition at line 1029 of file NPIExternal.cpp.

References OW_NAMESPACE::_NPIGarbageCan(), _VectorAddTo(), OW_NAMESPACE::CIM_OBJECTPATH, cop, OW_NAMESPACE::NPI_enumeratemyInstanceNames(), CIMObjectPath::ptr, and VectorNew().

::Vector CIMOMEnumInstances NPIHandle npiHandle,
::CIMObjectPath  cop,
int  i,
int  j
 

Definition at line 1053 of file NPIExternal.cpp.

References OW_NAMESPACE::_NPIGarbageCan(), _VectorAddTo(), OW_NAMESPACE::CIM_INSTANCE, cop, OW_NAMESPACE::NPI_enumeratemyInstances(), CIMObjectPath::ptr, and VectorNew().

::CIMClass CIMOMGetClass NPIHandle npiHandle,
::CIMObjectPath  cop,
int  localOnly
 

Definition at line 1016 of file NPIExternal.cpp.

References OW_NAMESPACE::_NPIGarbageCan(), OW_NAMESPACE::CIM_CLASS, className, cop, OW_NAMESPACE::NPI_getmyClass(), and CIMObjectPath::ptr.

::CIMInstance CIMOMGetInstance NPIHandle npiHandle,
::CIMObjectPath  cop,
int  i
 

Definition at line 1076 of file NPIExternal.cpp.

References OW_NAMESPACE::_NPIGarbageCan(), OW_NAMESPACE::CIM_INSTANCE, cop, OW_NAMESPACE::NPI_getmyInstance(), CIMObjectPath::ptr, and raiseError().

int CIMParameterGetIntegerValue NPIHandle npiHandle,
::CIMParameter  cp
 

Definition at line 377 of file NPIExternal.cpp.

References CIMParameter::ptr, and raiseError().

char* CIMParameterGetName NPIHandle npiHandle,
::CIMParameter  cp
 

Definition at line 303 of file NPIExternal.cpp.

References CIMParameter::ptr, and raiseError().

CIMObjectPath CIMParameterGetRefValue NPIHandle npiHandle,
::CIMParameter  cp
 

Definition at line 391 of file NPIExternal.cpp.

References OW_NAMESPACE::_NPIGarbageCan(), OW_NAMESPACE::CIM_OBJECTPATH, OW_NAMESPACE::CIMNULL, cop, CIMParameter::ptr, and raiseError().

char* CIMParameterGetString NPIHandle npiHandle,
::CIMParameter  cp
 

Definition at line 363 of file NPIExternal.cpp.

References CIMParameter::ptr, and raiseError().

::CIMType CIMParameterGetType NPIHandle npiHandle,
::CIMParameter  cp
 

Definition at line 267 of file NPIExternal.cpp.

References BOOLEAN, CIM_INTEGER, CIM_REF, CIM_STRING, CIMParameter::ptr, raiseError(), and OW_NAMESPACE::STRING.

::CIMParameter CIMParameterNewInteger NPIHandle npiHandle,
const char *  name,
int  value
 

Definition at line 332 of file NPIExternal.cpp.

References OW_NAMESPACE::_NPIGarbageCan(), and OW_NAMESPACE::CIM_PARAMVALUE.

::CIMParameter CIMParameterNewRef NPIHandle npiHandle,
const char *  name,
CIMObjectPath  value
 

::CIMParameter CIMParameterNewString NPIHandle npiHandle,
const char *  name,
const char *  value
 

Definition at line 316 of file NPIExternal.cpp.

References OW_NAMESPACE::_NPIGarbageCan(), and OW_NAMESPACE::CIM_PARAMVALUE.

int CIMValueGetInteger NPIHandle npiHandle,
::CIMValue  cv
 

Definition at line 236 of file NPIExternal.cpp.

References CIMValue::ptr, and raiseError().

::CIMObjectPath CIMValueGetRef NPIHandle npiHandle,
::CIMValue  cv
 

Definition at line 249 of file NPIExternal.cpp.

References OW_NAMESPACE::_NPIGarbageCan(), OW_NAMESPACE::CIM_OBJECTPATH, OW_NAMESPACE::CIMNULL, cop, CIMValue::ptr, and raiseError().

char* CIMValueGetString NPIHandle npiHandle,
::CIMValue  cv
 

Definition at line 223 of file NPIExternal.cpp.

References CIMValue::ptr, and raiseError().

::CIMType CIMValueGetType NPIHandle npiHandle,
::CIMValue  cv
 

Definition at line 167 of file NPIExternal.cpp.

References BOOLEAN, CIM_INTEGER, CIM_REF, CIM_STRING, CIMValue::ptr, and OW_NAMESPACE::STRING.

::CIMValue CIMValueNewInteger NPIHandle npiHandle,
int  val
 

Definition at line 205 of file NPIExternal.cpp.

References OW_NAMESPACE::_NPIGarbageCan(), and OW_NAMESPACE::CIM_VALUE.

::CIMValue CIMValueNewRef NPIHandle npiHandle,
::CIMObjectPath  cop
 

Definition at line 214 of file NPIExternal.cpp.

References OW_NAMESPACE::_NPIGarbageCan(), OW_NAMESPACE::CIM_VALUE, cop, and CIMObjectPath::ptr.

::CIMValue CIMValueNewString NPIHandle npiHandle,
const char *  val
 

Definition at line 196 of file NPIExternal.cpp.

References OW_NAMESPACE::_NPIGarbageCan(), and OW_NAMESPACE::CIM_VALUE.

int errorCheck NPIHandle npiHandle  ) 
 

Definition at line 1200 of file NPIExternal.cpp.

References NPIHandle::errorOccurred.

void raiseError NPIHandle npiHandle,
const char *  msg
 

Definition at line 1212 of file NPIExternal.cpp.

References NPIHandle::errorOccurred, and NPIHandle::providerError.

Vector VectorNew NPIHandle npiHandle  ) 
 

Definition at line 137 of file NPIExternal.cpp.

References OW_NAMESPACE::_NPIGarbageCan(), Vector::ptr, and OW_NAMESPACE::VECTOR.

int VectorSize NPIHandle npiHandle,
Vector  v
 

Definition at line 152 of file NPIExternal.cpp.

References Vector::ptr.


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