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_QualifierDecl_h
00033 #define Pegasus_QualifierDecl_h
00034
00035 #include <Pegasus/Common/Config.h>
00036 #include <Pegasus/Common/Linkage.h>
00037 #include <Pegasus/Common/CIMName.h>
00038 #include <Pegasus/Common/Array.h>
00039 #include <Pegasus/Common/CIMQualifierDecl.h>
00040 #include <Pegasus/Common/CIMFlavor.h>
00041 #include <Pegasus/Common/CIMScope.h>
00042 #include <Pegasus/Common/CIMType.h>
00043 #include <Pegasus/Common/CIMValue.h>
00044
00045 PEGASUS_NAMESPACE_BEGIN
00046
00048
00049
00050
00052
00053 class CIMConstQualifierDecl;
00054 class CIMClassRep;
00055 class CIMQualifierDeclRep;
00056
00072 class PEGASUS_COMMON_LINKAGE CIMQualifierDecl
00073 {
00074 public:
00075
00083 CIMQualifierDecl();
00084
00092 CIMQualifierDecl(const CIMQualifierDecl& x);
00093
00107 CIMQualifierDecl(
00108 const CIMName& name,
00109 const CIMValue& value,
00110 const CIMScope & scope,
00111 const CIMFlavor & flavor = CIMFlavor (CIMFlavor::DEFAULTS),
00112 Uint32 arraySize = 0);
00113
00117 ~CIMQualifierDecl();
00118
00126 CIMQualifierDecl& operator=(const CIMQualifierDecl& x);
00127
00134 const CIMName& getName() const;
00135
00142 void setName(const CIMName& name);
00143
00150 CIMType getType() const;
00151
00158 Boolean isArray() const;
00159
00166 const CIMValue& getValue() const;
00167
00175 void setValue(const CIMValue& value);
00176
00183 const CIMScope & getScope() const;
00184
00191 const CIMFlavor & getFlavor() const;
00192
00199 Uint32 getArraySize() const;
00200
00205 Boolean isUninitialized() const;
00206
00215 Boolean identical(const CIMConstQualifierDecl& x) const;
00216
00224 CIMQualifierDecl clone() const;
00225
00226 private:
00227
00228 CIMQualifierDecl(CIMQualifierDeclRep* rep);
00229
00230 CIMQualifierDeclRep* _rep;
00231
00232 friend class CIMConstQualifierDecl;
00233 friend class CIMClassRep;
00234 friend class XmlWriter;
00235 friend class MofWriter;
00236 };
00237
00239
00240
00241
00243
00252 class PEGASUS_COMMON_LINKAGE CIMConstQualifierDecl
00253 {
00254 public:
00255
00263 CIMConstQualifierDecl();
00264
00272 CIMConstQualifierDecl(const CIMConstQualifierDecl& x);
00273
00281 CIMConstQualifierDecl(const CIMQualifierDecl& x);
00282
00297 CIMConstQualifierDecl(
00298 const CIMName& name,
00299 const CIMValue& value,
00300 const CIMScope & scope,
00301 const CIMFlavor & flavor = CIMFlavor (CIMFlavor::DEFAULTS),
00302 Uint32 arraySize = 0);
00303
00307 ~CIMConstQualifierDecl();
00308
00316 CIMConstQualifierDecl& operator=(const CIMConstQualifierDecl& x);
00317
00325 CIMConstQualifierDecl& operator=(const CIMQualifierDecl& x);
00326
00333 const CIMName& getName() const;
00334
00341 CIMType getType() const;
00342
00349 Boolean isArray() const;
00350
00357 const CIMValue& getValue() const;
00358
00365 const CIMScope & getScope() const;
00366
00373 const CIMFlavor & getFlavor() const;
00374
00381 Uint32 getArraySize() const;
00382
00387 Boolean isUninitialized() const;
00388
00397 Boolean identical(const CIMConstQualifierDecl& x) const;
00398
00407 CIMQualifierDecl clone() const;
00408
00409 private:
00410
00411 CIMQualifierDeclRep* _rep;
00412
00413 friend class CIMQualifierDecl;
00414 friend class XmlWriter;
00415 friend class MofWriter;
00416 };
00417
00418 #define PEGASUS_ARRAY_T CIMQualifierDecl
00419 # include <Pegasus/Common/ArrayInter.h>
00420 #undef PEGASUS_ARRAY_T
00421
00422 PEGASUS_NAMESPACE_END
00423
00424 #endif