version 1.19.18.1, 2005/12/30 22:01:01
|
version 1.23, 2008/10/01 04:46:17
|
|
|
//%2005//////////////////////////////////////////////////////////////////////// |
//%2006//////////////////////////////////////////////////////////////////////// |
// | // |
// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development | // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development |
// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. | // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. |
|
|
// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. | // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. |
// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; | // Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
// EMC Corporation; VERITAS Software Corporation; The Open Group. | // EMC Corporation; VERITAS Software Corporation; The Open Group. |
|
// Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
|
// EMC Corporation; Symantec Corporation; The Open Group. |
// | // |
// Permission is hereby granted, free of charge, to any person obtaining a copy | // Permission is hereby granted, free of charge, to any person obtaining a copy |
// of this software and associated documentation files (the "Software"), to | // of this software and associated documentation files (the "Software"), to |
|
|
// | // |
//============================================================================== | //============================================================================== |
// | // |
// 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)]; |
} | } |