version 1.24.2.1, 2002/10/28 15:43:21
|
version 1.30.18.1, 2005/12/30 22:01:01
|
|
|
//%///////////////////////////////////////////////////////////////////////////// |
//%2005//////////////////////////////////////////////////////////////////////// |
// | // |
// Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Company, IBM, |
// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development |
// 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.; |
|
// 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. |
// | // |
// 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: Ramnath Ravindran (Ramnath.Ravindran@compaq.com) |
|
// Roger Kumpf, Hewlett-Packard Company (roger_kumpf@hp.com) |
|
// Carol Ann Krug Graves, Hewlett-Packard Company |
|
// (carolann_graves@hp.com) |
|
// |
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
#ifndef Pegasus_Type_h | #ifndef Pegasus_Type_h |
|
|
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) |
</pre> | </pre> |
*/ | */ |
| |
enum CIMType | enum CIMType |
{ | { |
CIMTYPE_NONE, |
|
CIMTYPE_BOOLEAN, | CIMTYPE_BOOLEAN, |
CIMTYPE_UINT8, | CIMTYPE_UINT8, |
CIMTYPE_SINT8, | CIMTYPE_SINT8, |
|
|
CIMTYPE_CHAR16, | CIMTYPE_CHAR16, |
CIMTYPE_STRING, | CIMTYPE_STRING, |
CIMTYPE_DATETIME, | CIMTYPE_DATETIME, |
CIMTYPE_REFERENCE |
CIMTYPE_REFERENCE, |
|
CIMTYPE_OBJECT |
|
#ifdef PEGASUS_EMBEDDED_INSTANCE_SUPPORT |
|
, CIMTYPE_INSTANCE |
|
#endif // PEGASUS_EMBEDDED_INSTANCE_SUPPORT |
}; | }; |
| |
/** | /** |
|
|
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. |
*/ | */ |
PEGASUS_COMMON_LINKAGE const char * cimTypeToString ( | PEGASUS_COMMON_LINKAGE const char * cimTypeToString ( |
const CIMType type); | const CIMType type); |