Added headers
[tpot/pegasus/.git] / src / Pegasus / Common / CIMQualifierDeclRep.h
index 6a1d55a428cad40bd590ddfb34a4d293bd5ea772..125746f0943d0d80ffea420c1c0f62bf2f61d92c 100644 (file)
-//%/////////////////////////////////////////////////////////////////////////////
-//
-// Copyright (c) 2000 The Open Group, BMC Software, Tivoli Systems, IBM
-//
-// Permission is hereby granted, free of charge, to any person obtaining a
-// copy of this software and associated documentation files (the "Software"),
-// to deal in the Software without restriction, including without limitation
-// the rights to use, copy, modify, merge, publish, distribute, sublicense,
-// and/or sell copies of the Software, and to permit persons to whom the
-// Software is furnished to do so, subject to the following conditions:
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
-// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-// DEALINGS IN THE SOFTWARE.
-//
-//==============================================================================
-//
-// Author: Mike Brasher (mbrasher@bmc.com)
-//
-// Modified By:
-//
-//%/////////////////////////////////////////////////////////////////////////////
-
-#ifndef Pegasus_QualifierDeclRep_h
-#define Pegasus_QualifierDeclRep_h
-
-#include <Pegasus/Common/Config.h>
-#include <Pegasus/Common/String.h>
-#include <Pegasus/Common/CIMValue.h>
-#include <Pegasus/Common/Sharable.h>
-#include <Pegasus/Common/Array.h>
-#include <Pegasus/Common/Pair.h>
-#include <Pegasus/Common/Sharable.h>
-#include <Pegasus/Common/Exception.h>
-#include <Pegasus/Common/CIMFlavor.h>
-#include <Pegasus/Common/CIMScope.h>
-
-PEGASUS_NAMESPACE_BEGIN
-
-class CIMConstQualifierDecl;
-class CIMQualifierDecl;
-
-class PEGASUS_COMMON_LINKAGE CIMQualifierDeclRep : public Sharable
-{
-public:
-
-    CIMQualifierDeclRep(
-       const String& name, 
-       const CIMValue& value, 
-       Uint32 scope,
-       Uint32 flavor,
-       Uint32 arraySize);
-
-    virtual ~CIMQualifierDeclRep();
-
-    const String& getName() const 
-    { 
-       return _name; 
-    }
-
-    void setName(const String& name);
-
-    CIMType getType() const 
-    {
-       return _value.getType(); 
-    }
-
-    Boolean isArray() const 
-    {
-       return _value.isArray(); 
-    }
-
-    const CIMValue& getValue() const 
-    { 
-       return _value; 
-    }
-
-    void setValue(const CIMValue& value);
-
-    Uint32 getScope() const 
-    {
-       return _scope; 
-    }
-
-    Uint32 getFlavor() const 
-    {
-       return _flavor; 
-    }
-
-    Uint32 getArraySize() const 
-    {
-       return _arraySize; 
-    }
-
-    void toXml(Array<Sint8>& out) const;
-
-    void print(PEGASUS_STD(ostream) &o=PEGASUS_STD(cout)) const;
-
-    Boolean identical(const CIMQualifierDeclRep* x) const;
-
-    CIMQualifierDeclRep* clone() const
-    {
-       return new CIMQualifierDeclRep(*this);
-    }
-
-private:
-
-    CIMQualifierDeclRep();
-
-    CIMQualifierDeclRep(const CIMQualifierDeclRep& x);
-
-    CIMQualifierDeclRep& operator=(const CIMQualifierDeclRep& x);
-
-    String _name;
-    CIMValue _value;
-    Uint32 _scope;
-    Uint32 _flavor;
-    Uint32 _arraySize;
-};
-
-PEGASUS_NAMESPACE_END
-
-#endif /* Pegasus_QualifierDeclRep_h */
+//%/////////////////////////////////////////////////////////////////////////////\r
+//\r
+// Copyright (c) 2000, 2001 The Open group, BMC Software, Tivoli Systems, IBM\r
+//\r
+// Permission is hereby granted, free of charge, to any person obtaining a copy\r
+// of this software and associated documentation files (the "Software"), to \r
+// deal in the Software without restriction, including without limitation the \r
+// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or \r
+// sell copies of the Software, and to permit persons to whom the Software is\r
+// furnished to do so, subject to the following conditions:\r
+// \r
+// THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN \r
+// ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED\r
+// "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT\r
+// LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR \r
+// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT \r
+// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN \r
+// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\r
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r
+//\r
+//==============================================================================\r
+//\r
+// Author: Mike Brasher (mbrasher@bmc.com)\r
+//\r
+// Modified By:\r
+//\r
+//%/////////////////////////////////////////////////////////////////////////////\r
+\r
+#ifndef Pegasus_QualifierDeclRep_h\r
+#define Pegasus_QualifierDeclRep_h\r
+\r
+#include <Pegasus/Common/Config.h>\r
+#include <Pegasus/Common/String.h>\r
+#include <Pegasus/Common/CIMValue.h>\r
+#include <Pegasus/Common/Sharable.h>\r
+#include <Pegasus/Common/Array.h>\r
+#include <Pegasus/Common/Pair.h>\r
+#include <Pegasus/Common/Sharable.h>\r
+#include <Pegasus/Common/Exception.h>\r
+#include <Pegasus/Common/CIMFlavor.h>\r
+#include <Pegasus/Common/CIMScope.h>\r
+\r
+PEGASUS_NAMESPACE_BEGIN\r
+\r
+class CIMConstQualifierDecl;\r
+class CIMQualifierDecl;\r
+\r
+class PEGASUS_COMMON_LINKAGE CIMQualifierDeclRep : public Sharable\r
+{\r
+public:\r
+\r
+    CIMQualifierDeclRep(\r
+       const String& name, \r
+       const CIMValue& value, \r
+       Uint32 scope,\r
+       Uint32 flavor,\r
+       Uint32 arraySize);\r
+\r
+    virtual ~CIMQualifierDeclRep();\r
+\r
+    const String& getName() const \r
+    { \r
+       return _name; \r
+    }\r
+\r
+    void setName(const String& name);\r
+\r
+    CIMType getType() const \r
+    {\r
+       return _value.getType(); \r
+    }\r
+\r
+    Boolean isArray() const \r
+    {\r
+       return _value.isArray(); \r
+    }\r
+\r
+    const CIMValue& getValue() const \r
+    { \r
+       return _value; \r
+    }\r
+\r
+    void setValue(const CIMValue& value);\r
+\r
+    Uint32 getScope() const \r
+    {\r
+       return _scope; \r
+    }\r
+\r
+    Uint32 getFlavor() const \r
+    {\r
+       return _flavor; \r
+    }\r
+\r
+    Uint32 getArraySize() const \r
+    {\r
+       return _arraySize; \r
+    }\r
+\r
+    void toXml(Array<Sint8>& out) const;\r
+\r
+    void print(PEGASUS_STD(ostream) &o=PEGASUS_STD(cout)) const;\r
+\r
+    Boolean identical(const CIMQualifierDeclRep* x) const;\r
+\r
+    CIMQualifierDeclRep* clone() const\r
+    {\r
+       return new CIMQualifierDeclRep(*this);\r
+    }\r
+\r
+private:\r
+\r
+    CIMQualifierDeclRep();\r
+\r
+    CIMQualifierDeclRep(const CIMQualifierDeclRep& x);\r
+\r
+    CIMQualifierDeclRep& operator=(const CIMQualifierDeclRep& x);\r
+\r
+    String _name;\r
+    CIMValue _value;\r
+    Uint32 _scope;\r
+    Uint32 _flavor;\r
+    Uint32 _arraySize;\r
+};\r
+\r
+PEGASUS_NAMESPACE_END\r
+\r
+#endif /* Pegasus_QualifierDeclRep_h */\r