cmpiObjectPath.cpp File Reference

#include <iostream>
#include "cmpisrv.h"

Include dependency graph for cmpiObjectPath.cpp:

Go to the source code of this file.

Functions

static CMPIStatus refRelease (CMPIObjectPath *eRef)
static CMPIStatus refReleaseNop (CMPIObjectPath *eRef)
static CMPIObjectPathrefClone (const CMPIObjectPath *eRef, CMPIStatus *rc)
static CMPIStatus refSetNameSpace (CMPIObjectPath *eRef, const char *ns)
static CMPIStringrefGetNameSpace (const CMPIObjectPath *eRef, CMPIStatus *rc)
static CMPIStatus refSetClassName (CMPIObjectPath *eRef, const char *cl)
static CMPIStringrefGetClassName (const CMPIObjectPath *eRef, CMPIStatus *rc)
static long locateKey (const OpenWBEM::CIMPropertyArray &kb, const OpenWBEM::String &eName)
static CMPIStatus refAddKey (CMPIObjectPath *eRef, const char *name, const CMPIValue *data, const CMPIType type)
static CMPIData refGetKey (const CMPIObjectPath *eRef, const char *name, CMPIStatus *rc)
static CMPIData refGetKeyAt (const CMPIObjectPath *eRef, unsigned pos, CMPIString **name, CMPIStatus *rc)
static CMPICount refGetKeyCount (const CMPIObjectPath *eRef, CMPIStatus *rc)
static CMPIStatus refSetNameSpaceFromObjectPath (CMPIObjectPath *eRef, const CMPIObjectPath *eSrc)
static CMPIStringrefToString (const CMPIObjectPath *op, CMPIStatus *rc)
 Generates a well formed string representation of this ObjectPath.

Variables

static CMPIObjectPathFT objectPath_FT
CMPIObjectPathFTCMPI_ObjectPath_Ftab = &objectPath_FT
static CMPIObjectPathFT objectPathOnStack_FT
CMPIObjectPathFTCMPI_ObjectPathOnStack_Ftab = &objectPathOnStack_FT


Function Documentation

static long locateKey const OpenWBEM::CIMPropertyArray kb,
const OpenWBEM::String &  eName
[static]
 

Definition at line 91 of file cmpiObjectPath.cpp.

References i, and s.

Referenced by refAddKey().

static CMPIStatus refAddKey CMPIObjectPath eRef,
const char *  name,
const CMPIValue data,
const CMPIType  type
[static]
 

Definition at line 104 of file cmpiObjectPath.cpp.

References CMPI_RC_OK, CMReturn, _CMPIObjectPath::hdl, i, locateKey(), val, and value2CIMValue().

static CMPIObjectPath* refClone const CMPIObjectPath eRef,
CMPIStatus rc
[static]
 

Definition at line 44 of file cmpiObjectPath.cpp.

References CMPI_ObjectPath_Ftab, CMPI_RC_OK, CMSetStatus, and _CMPIObjectPath::hdl.

static CMPIString* refGetClassName const CMPIObjectPath eRef,
CMPIStatus rc
[static]
 

Definition at line 81 of file cmpiObjectPath.cpp.

References CMPI_RC_OK, CMSetStatus, _CMPIObjectPath::hdl, and string2CMPIString().

static CMPIData refGetKey const CMPIObjectPath eRef,
const char *  name,
CMPIStatus rc
[static]
 

Definition at line 124 of file cmpiObjectPath.cpp.

References CMPI_nullValue, CMPI_RC_ERR_NOT_FOUND, CMPI_RC_OK, CMSetStatus, _CMPIObjectPath::hdl, type2CMPIType(), and value2CMPIData().

static CMPIData refGetKeyAt const CMPIObjectPath eRef,
unsigned  pos,
CMPIString **  name,
CMPIStatus rc
[static]
 

Definition at line 144 of file cmpiObjectPath.cpp.

References CMPI_nullValue, CMPI_RC_ERR_NOT_FOUND, CMPI_RC_OK, CMSetStatus, _CMPIObjectPath::hdl, name, string2CMPIString(), type2CMPIType(), and value2CMPIData().

static CMPICount refGetKeyCount const CMPIObjectPath eRef,
CMPIStatus rc
[static]
 

Definition at line 169 of file cmpiObjectPath.cpp.

References CMPI_RC_OK, CMSetStatus, and _CMPIObjectPath::hdl.

static CMPIString* refGetNameSpace const CMPIObjectPath eRef,
CMPIStatus rc
[static]
 

Definition at line 65 of file cmpiObjectPath.cpp.

References CMPI_RC_OK, CMSetStatus, _CMPIObjectPath::hdl, ns, and string2CMPIString().

static CMPIStatus refRelease CMPIObjectPath eRef  )  [static]
 

Definition at line 27 of file cmpiObjectPath.cpp.

References CMPI_RC_OK, CMReturn, and _CMPIObjectPath::hdl.

static CMPIStatus refReleaseNop CMPIObjectPath eRef  )  [static]
 

Definition at line 39 of file cmpiObjectPath.cpp.

References CMPI_RC_OK, and CMReturn.

static CMPIStatus refSetClassName CMPIObjectPath eRef,
const char *  cl
[static]
 

Definition at line 74 of file cmpiObjectPath.cpp.

References CMPI_RC_OK, CMReturn, and _CMPIObjectPath::hdl.

static CMPIStatus refSetNameSpace CMPIObjectPath eRef,
const char *  ns
[static]
 

Definition at line 58 of file cmpiObjectPath.cpp.

References CMPI_RC_OK, CMReturn, and _CMPIObjectPath::hdl.

static CMPIStatus refSetNameSpaceFromObjectPath CMPIObjectPath eRef,
const CMPIObjectPath eSrc
[static]
 

Definition at line 177 of file cmpiObjectPath.cpp.

References CMPI_RC_OK, CMReturn, and _CMPIObjectPath::hdl.

static CMPIString* refToString const CMPIObjectPath op,
CMPIStatus rc
[static]
 

Generates a well formed string representation of this ObjectPath.

Parameters:
op ObjectPath this pointer.
rc Output: Service return status (suppressed when NULL).
Returns:
String representation.

Definition at line 200 of file cmpiObjectPath.cpp.

References CMPI_RC_ERR_METHOD_NOT_AVAILABLE, and _CMPIStatus::rc.


Variable Documentation

CMPIObjectPathFT* CMPI_ObjectPath_Ftab = &objectPath_FT
 

Definition at line 234 of file cmpiObjectPath.cpp.

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

CMPIObjectPathFT* CMPI_ObjectPathOnStack_Ftab = &objectPathOnStack_FT
 

Definition at line 261 of file cmpiObjectPath.cpp.

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

CMPIObjectPathFT objectPath_FT [static]
 

Initial value:

Definition at line 209 of file cmpiObjectPath.cpp.

CMPIObjectPathFT objectPathOnStack_FT [static]
 

Initial value:

Definition at line 236 of file cmpiObjectPath.cpp.


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