version 1.21, 2006/05/02 20:26:59
|
version 1.23, 2008/10/01 04:46:17
|
|
|
// | // |
//============================================================================== | //============================================================================== |
// | // |
// Author: Mike Brasher (mbrasher@bmc.com) |
|
// |
|
// Modified By: Roger Kumpf, Hewlett-Packard Company (roger_kumpf@hp.com) |
|
// Carol Ann Krug Graves, Hewlett-Packard Company |
|
// (carolann_graves@hp.com) |
|
// Dave Sudlik, IBM (dsudlik@us.ibm.com) |
|
// |
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
#include "CIMType.h" | #include "CIMType.h" |
|
|
{ | { |
"boolean", "uint8", "sint8", "uint16", "sint16", "uint32", "sint32", | "boolean", "uint8", "sint8", "uint16", "sint16", "uint32", "sint32", |
"uint64", "sint64", "real32", "real64", "char16", "string", "datetime", | "uint64", "sint64", "real32", "real64", "char16", "string", "datetime", |
"reference", "object" |
"reference", "object", "instance" |
#ifdef PEGASUS_EMBEDDED_INSTANCE_SUPPORT |
|
, "instance" |
|
#endif // PEGASUS_EMBEDDED_INSTANCE_SUPPORT |
|
}; | }; |
| |
static const Uint32 _NUM_TYPES = sizeof(_typeStrings) / sizeof(_typeStrings[0]); | static const Uint32 _NUM_TYPES = sizeof(_typeStrings) / sizeof(_typeStrings[0]); |
| |
const char * cimTypeToString ( |
const char* cimTypeToString(const CIMType type) |
const CIMType type) |
|
{ | { |
return _typeStrings [Uint32 (type)]; | return _typeStrings [Uint32 (type)]; |
} | } |