version 1.27, 2004/08/25 00:14:24
|
version 1.32, 2006/02/17 19:30:37
|
|
|
//%2003//////////////////////////////////////////////////////////////////////// |
//%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. |
// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L. P.; | // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L. P.; |
// IBM Corp.; EMC Corporation, The Open Group. | // IBM Corp.; EMC Corporation, The Open Group. |
|
// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.; |
|
// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. |
|
// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
|
// 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 |
|
|
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 basic CIM type) |
</pre> | </pre> |
*/ | */ |
| |
|
|
CIMTYPE_CHAR16, | CIMTYPE_CHAR16, |
CIMTYPE_STRING, | CIMTYPE_STRING, |
CIMTYPE_DATETIME, | CIMTYPE_DATETIME, |
CIMTYPE_REFERENCE |
CIMTYPE_REFERENCE, |
|
CIMTYPE_OBJECT |
}; | }; |
| |
/** | /** |
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); |