1 karl 1.15 //%2006////////////////////////////////////////////////////////////////////////
|
2 kumpf 1.1 //
|
3 karl 1.7 // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
4 // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
5 // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.;
|
6 karl 1.3 // IBM Corp.; EMC Corporation, The Open Group.
|
7 karl 1.7 // Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;
8 // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.
|
9 karl 1.12 // Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;
10 // EMC Corporation; VERITAS Software Corporation; The Open Group.
|
11 karl 1.15 // Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;
12 // EMC Corporation; Symantec Corporation; The Open Group.
|
13 kumpf 1.1 //
14 // Permission is hereby granted, free of charge, to any person obtaining a copy
15 // of this software and associated documentation files (the "Software"), to
16 // deal in the Software without restriction, including without limitation the
17 // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
18 // sell copies of the Software, and to permit persons to whom the Software is
19 // furnished to do so, subject to the following conditions:
|
20 karl 1.15 //
|
21 kumpf 1.1 // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
22 // ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
23 // "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
24 // LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
25 // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
26 // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
27 // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
28 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29 //
30 //==============================================================================
31 //
32 // Author: Chip Vincent (cvincent@us.ibm.com)
33 //
34 // Modified By: Mike Day (mdday@us.ibm.com)
35 //
36 //%/////////////////////////////////////////////////////////////////////////////
37
38 #ifndef Pegasus_OperationContextInternal_h
39 #define Pegasus_OperationContextInternal_h
40
41 #include <Pegasus/Common/Config.h>
42 kumpf 1.1 #include <Pegasus/Common/Linkage.h>
43 #include <Pegasus/Common/OperationContext.h>
|
44 chip 1.11 #include <Pegasus/Common/CIMClass.h>
|
45 kumpf 1.1 #include <Pegasus/Common/CIMInstance.h>
46
|
47 a.dunfey 1.16 #include <Pegasus/Common/ObjectNormalizer.h>
48
|
49 kumpf 1.1 PEGASUS_NAMESPACE_BEGIN
50
51 // This class should be moved to the OperationContext module when localization
52 // support is added to Pegasus and this class definition is firm.
53 class PEGASUS_COMMON_LINKAGE LocaleContainer
|
54 kumpf 1.5 : virtual public OperationContext::Container
|
55 kumpf 1.1 {
56 public:
57 static const String NAME;
58
59 LocaleContainer(const OperationContext::Container & container);
60 LocaleContainer(const String & languageId);
61 virtual ~LocaleContainer(void);
|
62 chip 1.11
|
63 kumpf 1.18 // NOTE: The compiler default implementation of the copy constructor
64 // is used for this class.
65
|
66 chip 1.11 LocaleContainer & operator=(const LocaleContainer & container);
|
67 kumpf 1.1
68 virtual String getName(void) const;
69 virtual OperationContext::Container * clone(void) const;
70 virtual void destroy(void);
71
72 String getLanguageId(void) const;
73
74 protected:
75 String _languageId;
76
77 };
78
79 class PEGASUS_COMMON_LINKAGE ProviderIdContainer
|
80 kumpf 1.5 : virtual public OperationContext::Container
|
81 kumpf 1.1 {
82 public:
83 static const String NAME;
84
85 ProviderIdContainer(const OperationContext::Container & container);
|
86 schuur 1.6 ProviderIdContainer(const CIMInstance & module, const CIMInstance & provider,
|
87 chip 1.14 Boolean isRemoteNameSpace = false, const String & remoteInfo = String::EMPTY);
|
88 kumpf 1.1 virtual ~ProviderIdContainer(void);
|
89 chip 1.11
|
90 kumpf 1.18 // NOTE: The compiler default implementation of the copy constructor
91 // is used for this class.
92
|
93 chip 1.11 ProviderIdContainer & operator=(const ProviderIdContainer & container);
|
94 kumpf 1.1
95 virtual String getName(void) const;
96 virtual OperationContext::Container * clone(void) const;
97 virtual void destroy(void);
98
99 CIMInstance getModule(void) const;
100 CIMInstance getProvider(void) const;
|
101 chip 1.11 Boolean isRemoteNameSpace(void) const;
|
102 chip 1.13 String getRemoteInfo(void) const;
|
103 kumpf 1.1
104 protected:
105 CIMInstance _module;
106 CIMInstance _provider;
|
107 chip 1.13 Boolean _isRemoteNameSpace;
|
108 schuur 1.6 String _remoteInfo;
|
109 kumpf 1.1
110 };
111
|
112 chip 1.11 class PEGASUS_COMMON_LINKAGE CachedClassDefinitionContainer
113 : virtual public OperationContext::Container
114 {
115 public:
116 static const String NAME;
117
118 CachedClassDefinitionContainer(const OperationContext::Container & container);
119 CachedClassDefinitionContainer(const CIMClass & cimClass);
120 virtual ~CachedClassDefinitionContainer(void);
121
|
122 kumpf 1.18 // NOTE: The compiler default implementation of the copy constructor
123 // is used for this class.
124
|
125 chip 1.11 CachedClassDefinitionContainer & operator=(const CachedClassDefinitionContainer & container);
126
127 virtual String getName(void) const;
128 virtual OperationContext::Container * clone(void) const;
129 virtual void destroy(void);
130
131 CIMClass getClass(void) const;
132
133 protected:
134 CIMClass _cimClass;
135
136 };
137
|
138 a.dunfey 1.16 class PEGASUS_COMMON_LINKAGE NormalizerContextContainer
139 : virtual public OperationContext::Container
140 {
141 public:
142 static const String NAME;
143
144 NormalizerContextContainer(const OperationContext::Container & container);
145 NormalizerContextContainer(AutoPtr<NormalizerContext> & context);
|
146 marek 1.17 NormalizerContextContainer(const NormalizerContextContainer & container);
|
147 a.dunfey 1.16 virtual ~NormalizerContextContainer(void);
148
149 NormalizerContextContainer & operator=(const NormalizerContextContainer & container);
150
151 virtual String getName(void) const;
152 virtual OperationContext::Container * clone(void) const;
153 virtual void destroy(void);
154
155 NormalizerContext * getContext(void) const;
156
157 protected:
158 AutoPtr<NormalizerContext> normalizerContext;
159
160 private:
161 NormalizerContextContainer();
162 };
163
|
164 kumpf 1.1 PEGASUS_NAMESPACE_END
165
166 #endif
|