32 #ifndef Pegasus_Value_h 33 #define Pegasus_Value_h 35 #include <Pegasus/Common/String.h> 36 #include <Pegasus/Common/Config.h> 37 #include <Pegasus/Common/CIMType.h> 38 #include <Pegasus/Common/CIMObjectPath.h> 39 #include <Pegasus/Common/CIMObject.h> 40 #include <Pegasus/Common/CIMDateTime.h> 41 #include <Pegasus/Common/Exception.h> 42 #include <Pegasus/Common/Array.h> 43 #include <Pegasus/Common/Linkage.h> 45 PEGASUS_NAMESPACE_BEGIN
80 CIMValue(CIMType type, Boolean isArray, Uint32 arraySize = 0);
346 Boolean typeCompatible(
const CIMValue& x)
const;
352 Boolean isArray()
const;
359 Boolean isNull()
const;
367 Uint32 getArraySize()
const;
373 CIMType getType()
const;
383 void setNullValue(CIMType type, Boolean isArray, Uint32 arraySize = 0);
455 void set(
const Char16& x);
461 void set(
const String& x);
629 void get(Boolean& x)
const;
642 void get(Uint8& x)
const;
654 void get(Sint8& x)
const;
666 void get(Uint16& x)
const;
678 void get(Sint16& x)
const;
696 void get(Uint32& x)
const;
708 void get(Sint32& x)
const;
720 void get(Uint64& x)
const;
732 void get(Sint64& x)
const;
744 void get(Real32& x)
const;
756 void get(Real64& x)
const;
768 void get(
Char16& x)
const;
780 void get(
String& x)
const;
1040 Boolean equal(
const CIMValue& x)
const;
1050 #ifdef PEGASUS_USE_DEPRECATED_INTERFACES 1096 void get(
char& x)
const;
1113 void _get(
const String*& data, Uint32& size)
const;
1117 friend class CIMMethodRep;
1118 friend class CIMParameterRep;
1119 friend class CIMPropertyRep;
1120 friend class CIMQualifierRep;
1121 friend class CIMQualifierDeclRep;
1122 friend class BinaryStreamer;
1123 friend class XmlWriter;
1124 friend class SCMOClass;
1125 friend class SCMOInstance;
1135 PEGASUS_COMMON_LINKAGE Boolean operator==(
const CIMValue& x,
const CIMValue& y);
1144 PEGASUS_COMMON_LINKAGE Boolean operator!=(
const CIMValue& x,
const CIMValue& y);
1146 #define PEGASUS_ARRAY_T CIMValue 1147 # include <Pegasus/Common/ArrayInter.h> 1148 #undef PEGASUS_ARRAY_T 1150 PEGASUS_NAMESPACE_END
1152 #ifdef PEGASUS_INTERNALONLY 1153 #include <Pegasus/Common/CIMValueInline.h> Definition: CIMObjectPath.h:388
Definition: CIMInstance.h:64
Definition: CIMValue.h:63
Definition: ArrayInter.h:44
Definition: CIMObject.h:75
Definition: CIMDateTime.h:119