(file) Return to Union.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/Union.h between version 1.19 and 1.21

version 1.19, 2005/02/05 22:59:24 version 1.21, 2005/11/07 23:12:52
Line 31 
Line 31 
 // //
 // Modified By: Roger Kumpf, Hewlett-Packard Company (roger_kumpf@hp.com) // Modified By: Roger Kumpf, Hewlett-Packard Company (roger_kumpf@hp.com)
 //              Dave Sudlik, IBM (dsudlik@us.ibm.com) //              Dave Sudlik, IBM (dsudlik@us.ibm.com)
   //              Mike Brasher, Inova Europe (mike-brasher@austin.rr.com)
 // //
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
Line 38 
Line 39 
 #define Pegasus_Union_h #define Pegasus_Union_h
  
 #include <Pegasus/Common/Config.h> #include <Pegasus/Common/Config.h>
 #include <Pegasus/Common/CIMType.h>  
 #include <Pegasus/Common/String.h>  
 #include <Pegasus/Common/CIMDateTime.h>  
 #include <Pegasus/Common/CIMObjectPath.h>  
 #include <Pegasus/Common/CIMObject.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
Line 54 
Line 51 
 */ */
 union Union union Union
 { {
     Uint8 _booleanValue;      Boolean _booleanValue;
     Uint8 _uint8Value;     Uint8 _uint8Value;
     Sint8 _sint8Value;     Sint8 _sint8Value;
     Uint16 _uint16Value;     Uint16 _uint16Value;
Line 66 
Line 63 
     Real32 _real32Value;     Real32 _real32Value;
     Real64 _real64Value;     Real64 _real64Value;
     Uint16 _char16Value;     Uint16 _char16Value;
     String* _stringValue;      char _stringValue[sizeof(void*)];
     CIMDateTime* _dateTimeValue;      char _dateTimeValue[sizeof(void*)];
     CIMObjectPath* _referenceValue;      char _referenceValue[sizeof(void*)];
     CIMObject* _objectValue;      char _objectValue[sizeof(void*)];
   
     Array<Boolean>* _booleanArray;      char _booleanArray[sizeof(void*)];
     Array<Uint8>* _uint8Array;      char _uint8Array[sizeof(void*)];
     Array<Sint8>* _sint8Array;      char _sint8Array[sizeof(void*)];
     Array<Uint16>* _uint16Array;      char _uint16Array[sizeof(void*)];
     Array<Sint16>* _sint16Array;      char _sint16Array[sizeof(void*)];
     Array<Uint32>* _uint32Array;      char _uint32Array[sizeof(void*)];
     Array<Sint32>* _sint32Array;      char _sint32Array[sizeof(void*)];
     Array<Uint64>* _uint64Array;      char _uint64Array[sizeof(void*)];
     Array<Sint64>* _sint64Array;      char _sint64Array[sizeof(void*)];
     Array<Real32>* _real32Array;      char _real32Array[sizeof(void*)];
     Array<Real64>* _real64Array;      char _real64Array[sizeof(void*)];
     Array<Char16>* _char16Array;      char _char16Array[sizeof(void*)];
     Array<String>* _stringArray;      char _stringArray[sizeof(void*)];
     Array<CIMDateTime>* _dateTimeArray;      char _dateTimeArray[sizeof(void*)];
     Array<CIMObjectPath>* _referenceArray;      char _referenceArray[sizeof(void*)];
     Array<CIMObject>* _objectArray;      char _objectArray[sizeof(void*)];
       void* _voidPtr;
 }; };
  
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END


Legend:
Removed from v.1.19  
changed lines
  Added in v.1.21

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2