00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00029
00030
00031
00032 #ifndef Pegasus_Qualifier_h
00033 #define Pegasus_Qualifier_h
00034
00035 #include <Pegasus/Common/Config.h>
00036 #include <Pegasus/Common/Linkage.h>
00037 #include <Pegasus/Common/CIMName.h>
00038 #include <Pegasus/Common/CIMFlavor.h>
00039 #include <Pegasus/Common/CIMType.h>
00040 #include <Pegasus/Common/CIMValue.h>
00041
00042 PEGASUS_NAMESPACE_BEGIN
00043
00045
00046
00047
00049
00050 class CIMConstQualifier;
00051 class CIMClassRep;
00052 class Resolver;
00053 class CIMQualifierRep;
00054
00068 class PEGASUS_COMMON_LINKAGE CIMQualifier
00069 {
00070 public:
00071
00079 CIMQualifier();
00080
00087 CIMQualifier(const CIMQualifier& x);
00088
00101 CIMQualifier(
00102 const CIMName& name,
00103 const CIMValue& value,
00104 const CIMFlavor & flavor = CIMFlavor (CIMFlavor::NONE),
00105 Boolean propagated = false);
00106
00110 ~CIMQualifier();
00111
00119 CIMQualifier& operator=(const CIMQualifier& x);
00120
00127 const CIMName& getName() const;
00128
00137 void setName(const CIMName& name);
00138
00145 CIMType getType() const;
00146
00153 Boolean isArray() const;
00154
00161 const CIMValue& getValue() const;
00162
00169 void setValue(const CIMValue& value);
00170
00177 void setFlavor(const CIMFlavor & flavor);
00178
00185 void unsetFlavor(const CIMFlavor & flavor);
00186
00193 const CIMFlavor & getFlavor() const;
00194
00207 Uint32 getPropagated() const;
00208
00217 void setPropagated(Boolean propagated);
00218
00223 Boolean isUninitialized() const;
00224
00233 Boolean identical(const CIMConstQualifier& x) const;
00234
00242 CIMQualifier clone() const;
00243
00244 private:
00245
00246 CIMQualifier(CIMQualifierRep* rep);
00247
00248 CIMQualifierRep* _rep;
00249
00250 friend class CIMConstQualifier;
00251 friend class CIMClassRep;
00252 friend class Resolver;
00253 friend class XmlWriter;
00254 friend class MofWriter;
00255 friend class BinaryStreamer;
00256 friend class CIMQualifierList;
00257 };
00258
00259
00261
00262
00263
00265
00273 class PEGASUS_COMMON_LINKAGE CIMConstQualifier
00274 {
00275 public:
00276
00284 CIMConstQualifier();
00285
00293 CIMConstQualifier(const CIMConstQualifier& x);
00294
00302 CIMConstQualifier(const CIMQualifier& x);
00303
00316 CIMConstQualifier(
00317 const CIMName& name,
00318 const CIMValue& value,
00319 const CIMFlavor & flavor = CIMFlavor (CIMFlavor::NONE),
00320 Boolean propagated = false);
00321
00325 ~CIMConstQualifier();
00326
00334 CIMConstQualifier& operator=(const CIMConstQualifier& x);
00335
00343 CIMConstQualifier& operator=(const CIMQualifier& x);
00344
00351 const CIMName& getName() const;
00352
00359 CIMType getType() const;
00360
00367 Boolean isArray() const;
00368
00375 const CIMValue& getValue() const;
00376
00383 const CIMFlavor & getFlavor() const;
00384
00397 Uint32 getPropagated() const;
00398
00403 Boolean isUninitialized() const;
00404
00413 Boolean identical(const CIMConstQualifier& x) const;
00414
00423 CIMQualifier clone() const;
00424
00425 private:
00426
00427 CIMQualifierRep* _rep;
00428
00429 friend class CIMQualifier;
00430 friend class XmlWriter;
00431 friend class MofWriter;
00432 };
00433
00434 #define PEGASUS_ARRAY_T CIMQualifier
00435 # include <Pegasus/Common/ArrayInter.h>
00436 #undef PEGASUS_ARRAY_T
00437
00438 PEGASUS_NAMESPACE_END
00439
00440 #endif