version 1.6, 2001/06/16 23:10:05
|
version 1.20, 2005/10/31 18:19:27
|
|
|
//%///////////////////////////////////////////////////////////////////////////// |
//%2005//////////////////////////////////////////////////////////////////////// |
// | // |
// Copyright (c) 2000, 2001 The Open group, BMC Software, Tivoli Systems, IBM |
// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development |
|
// 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) | // Author: Mike Brasher (mbrasher@bmc.com) |
// | // |
// Modified By: |
// Modified By: Roger Kumpf, Hewlett-Packard Company (roger_kumpf@hp.com) |
|
// Dave Sudlik, IBM (dsudlik@us.ibm.com) |
// | // |
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
|
|
#include <Pegasus/Common/CIMType.h> | #include <Pegasus/Common/CIMType.h> |
#include <Pegasus/Common/String.h> | #include <Pegasus/Common/String.h> |
#include <Pegasus/Common/CIMDateTime.h> | #include <Pegasus/Common/CIMDateTime.h> |
#include <Pegasus/Common/CIMReference.h> |
#include <Pegasus/Common/CIMObjectPath.h> |
|
#include <Pegasus/Common/CIMObject.h> |
#include <Pegasus/Common/Array.h> | #include <Pegasus/Common/Array.h> |
| |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
| |
|
struct StringRep; |
|
|
/** This union is used to represent the values of properties, qualifiers, | /** This union is used to represent the values of properties, qualifiers, |
method return values, and method arguments. All of the types | method return values, and method arguments. All of the types |
defined in CIMType.h are represented by a Union. The | defined in CIMType.h are represented by a Union. The |
|
|
Real32 _real32Value; | Real32 _real32Value; |
Real64 _real64Value; | Real64 _real64Value; |
Uint16 _char16Value; | Uint16 _char16Value; |
String* _stringValue; |
char _stringValue[sizeof(String)]; |
CIMDateTime* _dateTimeValue; | CIMDateTime* _dateTimeValue; |
CIMReference* _referenceValue; |
CIMObjectPath* _referenceValue; |
|
CIMObject* _objectValue; |
ArrayRep<Boolean>* _booleanArray; |
|
ArrayRep<Uint8>* _uint8Array; |
|
ArrayRep<Sint8>* _sint8Array; |
|
ArrayRep<Uint16>* _uint16Array; |
|
ArrayRep<Sint16>* _sint16Array; |
|
ArrayRep<Uint32>* _uint32Array; |
|
ArrayRep<Sint32>* _sint32Array; |
|
ArrayRep<Uint64>* _uint64Array; |
|
ArrayRep<Sint64>* _sint64Array; |
|
ArrayRep<Real32>* _real32Array; |
|
ArrayRep<Real64>* _real64Array; |
|
ArrayRep<Char16>* _char16Array; |
|
ArrayRep<String>* _stringArray; |
|
ArrayRep<CIMDateTime>* _dateTimeArray; |
|
| |
void* _voidPtr; |
Array<Boolean>* _booleanArray; |
|
Array<Uint8>* _uint8Array; |
|
Array<Sint8>* _sint8Array; |
|
Array<Uint16>* _uint16Array; |
|
Array<Sint16>* _sint16Array; |
|
Array<Uint32>* _uint32Array; |
|
Array<Sint32>* _sint32Array; |
|
Array<Uint64>* _uint64Array; |
|
Array<Sint64>* _sint64Array; |
|
Array<Real32>* _real32Array; |
|
Array<Real64>* _real64Array; |
|
Array<Char16>* _char16Array; |
|
char _stringArray[sizeof(Array<String>)]; |
|
Array<CIMDateTime>* _dateTimeArray; |
|
Array<CIMObjectPath>* _referenceArray; |
|
Array<CIMObject>* _objectArray; |
}; | }; |
| |
PEGASUS_NAMESPACE_END | PEGASUS_NAMESPACE_END |