version 1.31, 2006/01/30 16:16:47
|
version 1.35, 2008/10/01 04:46:17
|
|
|
representation type. | representation type. |
| |
<pre> | <pre> |
CIM CIMType Constant C++ CIMType |
CIM Type CIMType Symbol C++ Type |
------------------------------------------------------- |
---------------------------------------------- |
boolean CIMTYPE_BOOLEAN Boolean | boolean CIMTYPE_BOOLEAN Boolean |
uint8 CIMTYPE_UINT8 Uint8 | uint8 CIMTYPE_UINT8 Uint8 |
sint8 CIMTYPE_SINT8 Sint8 | sint8 CIMTYPE_SINT8 Sint8 |
|
|
string CIMTYPE_STRING String | string CIMTYPE_STRING String |
datetime CIMTYPE_DATETIME CIMDateTime | datetime CIMTYPE_DATETIME CIMDateTime |
reference CIMTYPE_REFERENCE CIMObjectPath | reference CIMTYPE_REFERENCE CIMObjectPath |
object CIMTYPE_OBJECT CIMObject (not a "real" CIM type -- see PEP 194) |
object CIMTYPE_OBJECT CIMObject (not a basic CIM type) |
</pre> | </pre> |
*/ | */ |
| |
|
|
CIMTYPE_STRING, | CIMTYPE_STRING, |
CIMTYPE_DATETIME, | CIMTYPE_DATETIME, |
CIMTYPE_REFERENCE, | CIMTYPE_REFERENCE, |
CIMTYPE_OBJECT |
CIMTYPE_OBJECT, |
|
CIMTYPE_INSTANCE |
}; | }; |
| |
/** | /** |
Returns a string representation of the given type. |
Gets a string representation of a CIMType. |
| |
Note: the current implementation returns a string matching the first | Note: the current implementation returns a string matching the first |
column in the table above, but that is subject to change in later | column in the table above, but that is subject to change in later |
revisions. | revisions. |
@param type REVIEWERS: Insert description here. |
@param type The CIMType to convert to string form. |
|
@return The string form of the specified CIMType. |
*/ | */ |
PEGASUS_COMMON_LINKAGE const char * cimTypeToString ( | PEGASUS_COMMON_LINKAGE const char * cimTypeToString ( |
const CIMType type); | const CIMType type); |