(file) Return to OperationContext.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

  1 karl  1.33 //%2005////////////////////////////////////////////////////////////////////////
  2 mike  1.2  //
  3 karl  1.31 // 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.25 // IBM Corp.; EMC Corporation, The Open Group.
  7 karl  1.31 // 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.33 // Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;
 10            // EMC Corporation; VERITAS Software Corporation; The Open Group.
 11 mike  1.2  //
 12            // Permission is hereby granted, free of charge, to any person obtaining a copy
 13            // of this software and associated documentation files (the "Software"), to
 14            // deal in the Software without restriction, including without limitation the
 15            // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
 16            // sell copies of the Software, and to permit persons to whom the Software is
 17            // furnished to do so, subject to the following conditions:
 18 kumpf 1.10 // 
 19 mike  1.2  // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
 20            // ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
 21            // "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
 22            // LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
 23            // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 24            // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
 25            // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 26            // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 27            //
 28            //==============================================================================
 29            //
 30            //%/////////////////////////////////////////////////////////////////////////////
 31            
 32            #ifndef Pegasus_OperationContext_h
 33            #define Pegasus_OperationContext_h
 34 mike  1.5  
 35 mike  1.2  #include <Pegasus/Common/Config.h>
 36            #include <Pegasus/Common/Exception.h>
 37 kumpf 1.17 #include <Pegasus/Common/CIMInstance.h>
 38 chuck 1.21 #include <Pegasus/Common/AcceptLanguages.h>  // l10n
 39            #include <Pegasus/Common/ContentLanguages.h> // l10n
 40 kumpf 1.12 #include <Pegasus/Common/Linkage.h>
 41 chip  1.8  
 42 mike  1.2  PEGASUS_NAMESPACE_BEGIN
 43            
 44 kumpf 1.9  class OperationContextRep;
 45            
 46 chip  1.8  /**
 47 karl  1.26 Contains context information from clients in objects referred to as containers.
 48 kumpf 1.11 
 49 karl  1.26 <p>The OperationContext class carries information about
 50            the context in which the client program issued the request. The OperationContext 
 51            class contains containers that specify types of information. 
 52            Currently, the only supported container is the container that specifies
 53            the identity of the user. Providers must use the user container
 54            to determine whether the requested operation should be 
 55            permitted on behalf of
 56 kumpf 1.19 the issuing user.
 57            
 58            For example, providers can get the user name information from the
 59            IdentityContext in an OperationContext as shown below:
 60            
 61                <PRE>
 62                IdentityContainer container(context.get(IdentityContainer::NAME));
 63                String userName = container.getUserName();
 64                </PRE>
 65            </p>
 66 chip  1.8  */
 67 chip  1.6  class PEGASUS_COMMON_LINKAGE OperationContext
 68            {
 69            public:
 70 kumpf 1.13     /**
 71                    An element of client context information.
 72                
 73                    <p>The <tt>Container</tt> object carries the information that
 74                    the provider may access. A container name determines which
 75 karl  1.26         container is used. Currently, only the container
 76 kumpf 1.13         carrying the user identity of the client is available.</p>
 77                */
 78 chip  1.6      class PEGASUS_COMMON_LINKAGE Container
 79                {
 80                public:
 81 mike  1.2  
 82 karl  1.26         /** Destructs Container.
 83                    */
 84 chip  1.6          virtual ~Container(void);
 85 mike  1.5  
 86 karl  1.26         /** REVIEWERS: Insert description here. What parameters 
 87                    need to be described, if any?
 88                    */
 89 kumpf 1.13         virtual String getName(void) const = 0;
 90            
 91 kumpf 1.19         /** Makes a copy of the Container object. Caller is responsible 
 92                        for deleting dynamically allocated memory by calling 
 93                        destroy() method.
 94                    */
 95 kumpf 1.13         virtual Container * clone(void) const = 0;
 96 chip  1.8  
 97 kumpf 1.19         /** Cleans up the object, including dynamically allocated memory.
 98                        This should only be used to clean up memory allocated using 
 99                        the clone() method.
100                    */
101 kumpf 1.13         virtual void destroy(void) = 0;
102 chip  1.6      };
103 mike  1.5  
104 chip  1.6  public:
105 karl  1.26     /** REVIEWERS:Insert description here. What parameters need descriptions?
106                */
107 chip  1.6      OperationContext(void);
108 mike  1.4  
109 karl  1.26     /** REVIEWERS:Insert description here. What parameters need descriptions?
110                @param context Specifies the name of the OperationContext container.
111                */
112 chip  1.7      OperationContext(const OperationContext & context);
113            
114 karl  1.26     /** REVIEWERS:Insert description here. What parameters need descriptions?
115                */
116 chip  1.6      virtual ~OperationContext(void);
117 mike  1.4  
118 karl  1.26     /** REVIEWERS:Insert description here. What parameters need descriptions?
119                @param context Specifies the name of the OperationContext container.
120                */
121 chip  1.8      OperationContext & operator=(const OperationContext & context);
122            
123 karl  1.26     /** REVIEWERS:Insert description here. What parameters need descriptions?
124                */
125 chip  1.6      void clear(void);
126 mike  1.5  
127 konrad.r 1.34     /** This operation is used to retrieve the container based on the key name.
128               	* Note: If the key is not present, the Exception("Common.OperationContext.OBJECT_NOT_FOUND") is thrown.
129 karl     1.26     @param containerName Specifies the name of the String container.
130                   */
131                   
132 kumpf    1.13     const Container & get(const String& containerName) const;
133               
134 karl     1.26     /** REVIEWERS:Insert description here. What parameters need descriptions?
135                   @param container Specifies the name of the container.
136                   */
137 chip     1.6      void set(const Container & container);
138 mike     1.5  
139 karl     1.26     /** REVIEWERS:Insert description here. What parameters need descriptions?
140                   @param container Specifies the name of the container.
141                   */
142 chip     1.6      void insert(const Container & container);
143 mike     1.5  
144 karl     1.26 
145                   /** REVIEWERS:Insert description here. What parameters need descriptions?
146                   @param containerName Specifies the name of the container.
147                   */
148 kumpf    1.13     void remove(const String& containerName);
149               
150 chip     1.6  protected:
151 kumpf    1.9      OperationContextRep* _rep;
152 mike     1.5  
153 chip     1.6  };
154 mike     1.5  
155 chip     1.6  
156 kumpf    1.13 class IdentityContainerRep;
157               
158 karl     1.26 /// Insert description here. 
159 kumpf    1.13 class PEGASUS_COMMON_LINKAGE IdentityContainer
160 kumpf    1.29     : virtual public OperationContext::Container
161 mike     1.2  {
162 mike     1.5  public:
163 karl     1.26     /** REVIEWERS: Insert description here. What parameters need descriptions?
164                   */
165 kumpf    1.13     static const String NAME;
166               
167 karl     1.26     /** REVIEWERS: Insert description here. What parameters need descriptions?
168                       @param container Specifies the name of the Container.
169                   */
170 chip     1.8      IdentityContainer(const OperationContext::Container & container);
171 karl     1.26 
172                   /** REVIEWERS: Insert description here. What parameters need descriptions?
173                       @param container Specifies the name of the IdentityContainer.
174                   */
175 kumpf    1.18     IdentityContainer(const IdentityContainer & container);
176 karl     1.26 
177                   /** REVIEWERS: Insert description here. What parameters need descriptions?
178                       @param userName Specifies the name of the String.
179                   */
180 chip     1.6      IdentityContainer(const String & userName);
181 karl     1.26 
182                   /** REVIEWERS: Insert description here.
183                   */
184 kumpf    1.13     virtual ~IdentityContainer(void);
185 karl     1.26 
186                   /** REVIEWERS: Insert description here. What parameters need descriptions?
187                       @param container Specifies the name of the IdentityContainer.
188                   */
189 kumpf    1.18     IdentityContainer & operator=(const IdentityContainer & container);
190 karl     1.26 
191                   /** REVIEWERS: Insert description here. What parameters need descriptions?
192                   */
193 kumpf    1.13     virtual String getName(void) const;
194 karl     1.26 
195                   /** REVIEWERS: Insert description here. What parameters need descriptions?
196                   */
197 chip     1.8      virtual OperationContext::Container * clone(void) const;
198 karl     1.26 
199                   /** REVIEWERS: Insert description here. 
200                   */
201 kumpf    1.13     virtual void destroy(void);
202 karl     1.26 
203                   /** REVIEWERS: Insert description here. What parameters need descriptions?
204                   */
205 chip     1.6      String getUserName(void) const;
206 mike     1.5  
207 chip     1.6  protected:
208 karl     1.26     /** REVIEWERS: Insert description here. What parameters need descriptions?
209                   */
210 kumpf    1.13     IdentityContainerRep* _rep;
211 kumpf    1.17 
212 kumpf    1.28 private:
213                   IdentityContainer();    // Unimplemented
214 kumpf    1.17 };
215 kumpf    1.19 
216 kumpf    1.17 
217               class SubscriptionInstanceContainerRep;
218               
219               class PEGASUS_COMMON_LINKAGE SubscriptionInstanceContainer
220                   : virtual public OperationContext::Container
221               {
222               public:
223 karl     1.26     /** REVIEWERS: Insert description here. What parameters need descriptions?
224                   */
225 kumpf    1.17     static const String NAME;
226               
227 karl     1.26     /** REVIEWERS: Insert description here. What parameters need descriptions?
228                   */
229 kumpf    1.17     SubscriptionInstanceContainer
230                       (const OperationContext::Container & container);
231 karl     1.26 
232                   /** REVIEWERS: Insert description here. What parameters need descriptions?
233                   */
234 kumpf    1.17     SubscriptionInstanceContainer
235                       (const SubscriptionInstanceContainer & container);
236 karl     1.26 
237                   /** REVIEWERS: Insert description here. What parameters need descriptions?
238                   */
239 kumpf    1.17     SubscriptionInstanceContainer(const CIMInstance & subscriptionInstance);
240 karl     1.26 
241                   /** REVIEWERS: Insert description here. What parameters need descriptions?
242                   */
243 kumpf    1.17     virtual ~SubscriptionInstanceContainer(void);
244               
245 karl     1.26     /** REVIEWERS: Insert description here. What parameters need descriptions?
246                   @param operator Specifies the name of the SubscriptionInstanceContainer
247                   */
248 kumpf    1.17     SubscriptionInstanceContainer & operator=
249                       (const SubscriptionInstanceContainer & container);
250               
251 karl     1.26     /** REVIEWERS: Insert description here. What parameters need descriptions?
252                   */
253 kumpf    1.17     virtual String getName(void) const;
254 karl     1.26 
255                   /** REVIEWERS: Insert description here. What parameters need descriptions?
256                   */
257 kumpf    1.17     virtual OperationContext::Container * clone(void) const;
258 karl     1.26 
259                   /** REVIEWERS: Insert description here. 
260                   */
261 kumpf    1.17     virtual void destroy(void);
262               
263 karl     1.26     /** REVIEWERS: Insert description here. 
264                   */
265 kumpf    1.17     CIMInstance getInstance(void) const;
266               
267               protected:
268                   SubscriptionInstanceContainerRep* _rep;
269               
270 kumpf    1.28 private:
271                   SubscriptionInstanceContainer();    // Unimplemented
272 kumpf    1.17 };
273               
274               class SubscriptionFilterConditionContainerRep;
275               
276               class PEGASUS_COMMON_LINKAGE SubscriptionFilterConditionContainer
277                   : virtual public OperationContext::Container
278               {
279               public:
280 karl     1.26     /** REVIEWERS: Insert description here. What parameters need descriptions?
281                   */
282 kumpf    1.17     static const String NAME;
283               
284 karl     1.26     /** REVIEWERS: Insert description here. What parameters need descriptions?
285                   */
286 kumpf    1.17     SubscriptionFilterConditionContainer
287                       (const OperationContext::Container & container);
288 karl     1.26 
289                   /** REVIEWERS: Insert description here. What parameters need descriptions?
290                   @param conainer REVIEWERS: Insert description here.
291                   */
292 kumpf    1.17     SubscriptionFilterConditionContainer
293                       (const SubscriptionFilterConditionContainer & container);
294 karl     1.26 
295                   /** REVIEWERS: Insert description here. What parameters need descriptions?
296                   @param filterCondition REVIEWERS: Insert description here.
297                   @param queryLanguage REVIEWERS: Insert description here.
298                   */
299 kumpf    1.17     SubscriptionFilterConditionContainer
300                       (const String & filterCondition, 
301                       const String & queryLanguage);
302 karl     1.26 
303                   /** REVIEWERS: Insert description here. What parameters need descriptions?
304                   */
305 kumpf    1.17     virtual ~SubscriptionFilterConditionContainer(void);
306               
307 karl     1.26     /** REVIEWERS: Insert description here. What parameters need descriptions?
308                   @param container REVIEWERS: Insert description here.
309                   */
310 kumpf    1.17     SubscriptionFilterConditionContainer & operator=
311                       (const SubscriptionFilterConditionContainer & container);
312               
313 karl     1.26     /** REVIEWERS: Insert description here. 
314                   */
315 kumpf    1.17     virtual String getName(void) const;
316 karl     1.26 
317                   /** REVIEWERS: Insert description here. What parameters need descriptions?
318                   */
319 kumpf    1.17     virtual OperationContext::Container * clone(void) const;
320 karl     1.26 
321                   /** REVIEWERS: Insert description here. 
322                   */
323 kumpf    1.17     virtual void destroy(void);
324               
325 karl     1.26     /** REVIEWERS: Insert description here. 
326                   */
327 kumpf    1.17     String getFilterCondition(void) const;
328 karl     1.26 
329                   /** REVIEWERS: Insert description here. 
330                   */
331 kumpf    1.17     String getQueryLanguage(void) const;
332               
333               protected:
334                   SubscriptionFilterConditionContainerRep* _rep;
335               
336 kumpf    1.28 private:
337                   SubscriptionFilterConditionContainer();    // Unimplemented
338 kumpf    1.17 };
339               
340 chuck    1.32 
341               class SubscriptionFilterQueryContainerRep;
342               
343               /** The SubscriptionFilterQueryContainer class contains a query filter string and
344                   a query language string.  The query filter contains the whole SELECT statement
345                   from the filter associated with the subscription.  This is different than
346                   the filter condition string in SubscriptionFilterConditionContainer, which
347                   only contains the WHERE clause of the filter.  The query language string
348                   contains the language of the filter (eg. "WQL", "CIM:CQL"). 
349               
350                   <pre>
351                   This container may be used by providers that wish to filter indications.
352                   The query filter and query langauge strings may used to constuct a QueryExpression
353                   object for parsing and evaluation.
354                   </pre>
355               */
356               class PEGASUS_COMMON_LINKAGE SubscriptionFilterQueryContainer
357                   : virtual public OperationContext::Container
358               {
359               public:
360                   /** The name of this container.  This is set to "SubscriptionFilterQueryContainer".
361 chuck    1.32     */
362                   static const String NAME;
363               
364                   /** Copy constructor.
365                   @param container The container to be copied. It must be of type 
366                   SubscriptionFilterQueryContainer.
367                   @exception DynamicCastFailedException If the parameter is not the correct type.
368                   */
369                   SubscriptionFilterQueryContainer
370                       (const OperationContext::Container & container);
371               
372                   /** Copy constructor
373                   @param container The container to be copied. 
374                   */
375                   SubscriptionFilterQueryContainer
376                       (const SubscriptionFilterQueryContainer & container);
377               
378                   /** Constructor
379                   @param filterQuery String containing the query filter.
380                   @param queryLanguage String containing the language of the query filter.
381                   */
382 chuck    1.32     SubscriptionFilterQueryContainer
383                     (const String & filterQuery,
384                      const String & queryLanguage,
385                      const CIMNamespaceName & sourceNameSpace);
386               
387                   /** Destructor
388                   */
389                   virtual ~SubscriptionFilterQueryContainer(void);
390               
391                   /** Assignment
392                   @param container Container from which to assign.
393                   */
394                   SubscriptionFilterQueryContainer & operator=
395                       (const SubscriptionFilterQueryContainer & container);
396               
397                   /** Returns the name of this container. 
398                   @return Name of this container.
399                   */
400                   virtual String getName(void) const;
401               
402                   /** Creates a duplicate of this container.
403 chuck    1.32     @return Pointer to the cloned container.
404                   */
405                   virtual OperationContext::Container * clone(void) const;
406               
407                   /** Deletes this container. 
408                   */
409                   virtual void destroy(void);
410               
411                   /** Returns the query filter string.
412                   @return The query filter string.    
413                   */
414                   String getFilterQuery(void) const;
415               
416                   /** Returns the query language string.
417                   @return The query language string.    
418                   */
419                   String getQueryLanguage(void) const;
420               
421                   /** Returns the source namespace for the filter.
422                   @return The source namespace.    
423                   */
424 chuck    1.32     CIMNamespaceName getSourceNameSpace(void) const;
425               
426               protected:
427                   SubscriptionFilterQueryContainerRep* _rep;
428               
429               private:
430                   SubscriptionFilterQueryContainer();    // Unimplemented
431               };
432               
433 karl     1.26     /**REVIEWERS: Insert class description here.
434                   */
435 kumpf    1.17 class SubscriptionInstanceNamesContainerRep;
436               
437 karl     1.26     /**REVIEWERS: Insert class description here.
438                   */
439 kumpf    1.17 class PEGASUS_COMMON_LINKAGE SubscriptionInstanceNamesContainer
440                   : virtual public OperationContext::Container
441               {
442               public:
443 karl     1.26 
444                   /** REVIEWERS: Insert description here. What parameters need descriptions?
445                   */
446 kumpf    1.17     static const String NAME;
447               
448 karl     1.26     /** REVIEWERS: Insert description here. What parameters need descriptions?
449                   */
450 kumpf    1.17     SubscriptionInstanceNamesContainer
451                       (const OperationContext::Container & container);
452 karl     1.26 
453                   /** REVIEWERS: Insert description here. What parameters need descriptions?
454                   */
455 kumpf    1.17     SubscriptionInstanceNamesContainer
456                       (const SubscriptionInstanceNamesContainer & container);
457 karl     1.26 
458                   /** REVIEWERS: Insert description here. What parameters need descriptions?
459                   */
460 kumpf    1.17     SubscriptionInstanceNamesContainer
461                       (const Array<CIMObjectPath> & subscriptionInstanceNames);
462 karl     1.26 
463                   /** REVIEWERS: Insert description here. What parameters need descriptions?
464                   */
465 kumpf    1.17     virtual ~SubscriptionInstanceNamesContainer(void);
466               
467 karl     1.26     /** REVIEWERS: Insert description here. What parameters need descriptions?
468                   @param container REVIEWERS: Insert description here.
469                   */
470 kumpf    1.17     SubscriptionInstanceNamesContainer & operator=
471                       (const SubscriptionInstanceNamesContainer & container);
472               
473 karl     1.26     /** REVIEWERS: Insert description here. 
474                   */
475 kumpf    1.17     virtual String getName(void) const;
476 karl     1.26 
477                   /** REVIEWERS: Insert description here. What parameters need descriptions?
478                   */
479 kumpf    1.17     virtual OperationContext::Container * clone(void) const;
480 karl     1.26 
481                   /** REVIEWERS: Insert description here. 
482                   */
483 kumpf    1.17     virtual void destroy(void);
484               
485 karl     1.26     /** REVIEWERS: Insert description here. What parameters need descriptions?
486                   */
487 kumpf    1.17     Array<CIMObjectPath> getInstanceNames(void) const;
488               
489               protected:
490                   SubscriptionInstanceNamesContainerRep* _rep;
491 chip     1.6  
492 kumpf    1.28 private:
493                   SubscriptionInstanceNamesContainer();    // Unimplemented
494 mike     1.5  };
495 chip     1.6  
496 karl     1.26     ///Insert class description here. 
497 mday     1.20 class PEGASUS_COMMON_LINKAGE TimeoutContainer : virtual public OperationContext::Container
498               {
499                  public:
500 karl     1.26 
501                   /** REVIEWERS: Insert description here. What parameters need descriptions?
502                   */
503 mday     1.20       static const String NAME;
504                     
505 karl     1.26     /** REVIEWERS: Insert description here. What parameters need descriptions?
506                   */
507 mday     1.20       TimeoutContainer(const OperationContext::Container & container);
508 karl     1.26 
509                   /** REVIEWERS: Insert description here. What parameters need descriptions?
510                   */
511 mday     1.20       TimeoutContainer(Uint32 timeout);
512 karl     1.26 
513                   /** REVIEWERS: Insert description here. What parameters need descriptions?
514                   */
515 mday     1.20       virtual String getName(void) const;
516 karl     1.26 
517                   /** REVIEWERS: Insert description here. What parameters need descriptions?
518                   */
519 mday     1.20       virtual OperationContext::Container * clone(void) const;
520 karl     1.26 
521                   /** REVIEWERS: Insert description here. What parameters need descriptions?
522                   */
523 mday     1.20       virtual void destroy(void);
524                     
525 karl     1.26     /** REVIEWERS: Insert description here. What parameters need descriptions?
526                   */
527 mday     1.20       Uint32 getTimeOut(void) const;
528                  protected:
529                     Uint32 _value;
530                  private:
531                     TimeoutContainer(void);
532 chuck    1.21 };
533               
534               
535               // l10n
536               /////////////////////////////////////////////////////////////////////////////
537 chuck    1.23 // Start - Containers used for globalization
538 chuck    1.21 /////////////////////////////////////////////////////////////////////////////
539               
540 chuck    1.24 #ifdef PEGASUS_USE_EXPERIMENTAL_INTERFACES
541               
542 chuck    1.21 class AcceptLanguageListContainerRep;
543               
544 denise.eckstein 1.30 /** <I><B>Experimental Interface</B></I><BR>
545                       */
546 chuck           1.21 class PEGASUS_COMMON_LINKAGE AcceptLanguageListContainer
547                          : virtual public OperationContext::Container
548                      {
549                      public:
550 karl            1.26     /** REVIEWERS: Insert description here. What parameters need descriptions?
551                          */
552 chuck           1.21     static const String NAME;
553 karl            1.26     /** REVIEWERS: Insert description here. What parameters need descriptions?
554                          */
555 chuck           1.21     AcceptLanguageListContainer
556                              (const OperationContext::Container & container);
557 karl            1.26 
558                          /** REVIEWERS: Insert description here. What parameters need descriptions?
559                          */
560 chuck           1.21     AcceptLanguageListContainer
561                              (const AcceptLanguageListContainer & container);
562 karl            1.26 
563                          /** REVIEWERS: Insert description here. What parameters need descriptions?
564                          */
565 chuck           1.21     AcceptLanguageListContainer(const AcceptLanguages & languages);
566 karl            1.26     
567                          /** REVIEWERS: Insert description here. What parameters need descriptions?
568                          */
569 chuck           1.21     virtual ~AcceptLanguageListContainer(void);
570                      
571 karl            1.26     /** REVIEWERS: Insert description here. What parameters need descriptions?
572                          */
573 chuck           1.21     AcceptLanguageListContainer & operator=
574                              (const AcceptLanguageListContainer & container);
575                      
576 karl            1.26     /** REVIEWERS: Insert description here. What parameters need descriptions?
577                          */
578 chuck           1.21     virtual String getName(void) const;
579 karl            1.26 
580                          /** REVIEWERS: Insert description here. What parameters need descriptions?
581                          */
582 chuck           1.21     virtual OperationContext::Container * clone(void) const;
583 karl            1.26 
584                          /** REVIEWERS: Insert description here. What parameters need descriptions?
585                          */
586 chuck           1.21     virtual void destroy(void);
587                      
588 karl            1.26     /** REVIEWERS: Insert description here. What parameters need descriptions?
589                          */
590 chuck           1.21     AcceptLanguages getLanguages(void) const;
591                      
592                      protected:
593                         AcceptLanguageListContainerRep* _rep;
594                      
595 kumpf           1.28 private:
596                          AcceptLanguageListContainer();    // Unimplemented
597 chuck           1.21 };
598 denise.eckstein 1.30 
599 karl            1.26     /** REVIEWERS: Insert class description here. 
600                          */
601 chuck           1.23 class SubscriptionLanguageListContainerRep;
602 chuck           1.21 
603 denise.eckstein 1.30     /** <I><B>Experimental Interface</B></I><BR>
604                          * REVIEWERS: Insert class description here. 
605 karl            1.26     */
606 chuck           1.21 class PEGASUS_COMMON_LINKAGE SubscriptionLanguageListContainer
607 chuck           1.23     : virtual public OperationContext::Container
608 chuck           1.21 {
609                      public:
610 karl            1.26 
611                          /** REVIEWERS: Insert description here. What parameters need descriptions?
612                          */
613 chuck           1.21     static const String NAME;
614                          
615 karl            1.26     /** REVIEWERS: Insert description here. What parameters need descriptions?
616                          */
617 chuck           1.21     SubscriptionLanguageListContainer
618 chuck           1.23         (const OperationContext::Container & container);
619 karl            1.26 
620                          /** REVIEWERS: Insert description here. What parameters need descriptions?
621                          */
622 chuck           1.21     SubscriptionLanguageListContainer
623 chuck           1.23         (const SubscriptionLanguageListContainer & container);
624 karl            1.26 
625                          /** REVIEWERS: Insert description here. What parameters need descriptions?
626                          */
627 chuck           1.23     SubscriptionLanguageListContainer(const AcceptLanguages & languages);
628 karl            1.26 
629                          /** REVIEWERS: Insert description here. What parameters need descriptions?
630                          */
631 chuck           1.23     virtual ~SubscriptionLanguageListContainer(void); 
632                           
633 karl            1.26     /** REVIEWERS: Insert description here. What parameters need descriptions?
634                          @param container Specifies the name of the SubscriptionLanguageListContainer.
635                          */    
636 chuck           1.23     SubscriptionLanguageListContainer & operator=
637                              (const SubscriptionLanguageListContainer & container);
638 chuck           1.21 
639 karl            1.26     /** REVIEWERS: Insert description here. 
640                          */
641 chuck           1.21     virtual String getName(void) const;
642 karl            1.26 
643                          /** REVIEWERS: Insert description here. 
644                          */
645 chuck           1.23     virtual OperationContext::Container * clone(void) const;
646 karl            1.26 
647                          /** REVIEWERS: Insert description here. 
648                          */
649 chuck           1.23     virtual void destroy(void);
650                      
651 karl            1.26     /** REVIEWERS: Insert description here. What parameters need descriptions?
652                          */
653 chuck           1.23     AcceptLanguages getLanguages(void) const;
654                      
655                      protected:
656 karl            1.26     /** REVIEWERS: Insert description here. What parameters need descriptions?
657                          */
658 chuck           1.23     SubscriptionLanguageListContainerRep* _rep;
659 kumpf           1.28 
660                      private:
661                          SubscriptionLanguageListContainer();    // Unimplemented
662 chuck           1.21 };    
663                      
664 karl            1.26     /** REVIEWERS: Insert class description here. 
665                          */
666 chuck           1.21 class ContentLanguageListContainerRep;
667 denise.eckstein 1.30     /** <I><B>Experimental Interface</B></I><BR>
668                          * REVIEWERS: Insert class description here. 
669 karl            1.26     */
670 chuck           1.21 class PEGASUS_COMMON_LINKAGE ContentLanguageListContainer
671                          : virtual public OperationContext::Container
672                      {
673                      public:
674 karl            1.26 
675                          /** REVIEWERS: Insert description here. What parameters need descriptions?
676                          */
677 chuck           1.21     static const String NAME;
678                      
679 karl            1.26     /** REVIEWERS: Insert description here. What parameters need descriptions?
680                          @param container Specifies the name of the OperationContext container.
681                          */
682 chuck           1.21     ContentLanguageListContainer
683                              (const OperationContext::Container & container);
684 karl            1.26 
685                          /** REVIEWERS: Insert description here. What parameters need descriptions?
686                          @param container Specifies the name of the ContentLanguageListContainer.
687                          */
688 chuck           1.21     ContentLanguageListContainer
689                              (const ContentLanguageListContainer & container);
690 karl            1.26 
691                          /** REVIEWERS: Insert description here. What parameters need descriptions?
692                          @param languages Specifies the name of the ContentLanguages container.
693                          */
694 chuck           1.21     ContentLanguageListContainer(const ContentLanguages & languages);
695 karl            1.26 
696                          /** REVIEWERS: Insert description here. 
697                          */
698 chuck           1.21     virtual ~ContentLanguageListContainer(void);
699                      
700 karl            1.26     /** REVIEWERS: Insert description here. What parameters need descriptions?
701                          @param container Specifies the name of the ContentLanguageListContainer.
702                          */
703 chuck           1.21     ContentLanguageListContainer & operator=
704                              (const ContentLanguageListContainer & container);
705                      
706 karl            1.26     /** REVIEWERS: Insert description here. 
707                          */
708 chuck           1.21     virtual String getName(void) const;
709 karl            1.26 
710                          /** REVIEWERS: Insert description here. What parameters need descriptions?
711                          */
712 chuck           1.21     virtual OperationContext::Container * clone(void) const;
713 karl            1.26 
714                          /** REVIEWERS: Insert description here. 
715                          */
716 chuck           1.21     virtual void destroy(void);
717                      
718 karl            1.26     /** REVIEWERS: Insert description here. 
719                          */
720 chuck           1.21     ContentLanguages getLanguages(void) const;
721                      
722                      protected:
723 karl            1.26     /** REVIEWERS: Insert description here. 
724                          */
725 chuck           1.21    ContentLanguageListContainerRep* _rep;
726                      
727 kumpf           1.28 private:
728                          ContentLanguageListContainer();    // Unimplemented
729 mday            1.20 };
730 chuck           1.24 
731                      #endif  // PEGASUS_USE_EXPERIMENTAL_INTERFACES
732 chuck           1.23 
733                      /////////////////////////////////////////////////////////////////////////////
734                      // End - Containers used for globalization
735                      /////////////////////////////////////////////////////////////////////////////
736 mday            1.20 
737 kumpf           1.22 class SnmpTrapOidContainerRep;
738                      
739                      class PEGASUS_COMMON_LINKAGE SnmpTrapOidContainer
740                          : virtual public OperationContext::Container
741                      {
742                      public:
743 karl            1.26 
744                          /** REVIEWERS: Insert description here. What parameters need descriptions?
745                          */
746 kumpf           1.22     static const String NAME;
747                      
748 karl            1.26     /** REVIEWERS: Insert description here. What parameters need descriptions?
749                          @param container Specifies the name of the container.  
750                          */
751 kumpf           1.22     SnmpTrapOidContainer
752                              (const OperationContext::Container & container);
753 karl            1.26     
754                          /** REVIEWERS: Insert description here. What parameters need descriptions?
755                          @param container Specifies the name of the SnmpTrapOidContainer container.   
756                          */
757 kumpf           1.22     SnmpTrapOidContainer
758                              (const SnmpTrapOidContainer & container);
759 karl            1.26 
760                          /** REVIEWERS: Insert description here. What parameters need descriptions?
761                          @param snmpTrapOid Specifies the name of the String container.
762                          */
763 kumpf           1.22     SnmpTrapOidContainer(const String & snmpTrapOid);
764 karl            1.26 
765                          /** REVIEWERS: Insert description here. 
766                          */
767 kumpf           1.22     virtual ~SnmpTrapOidContainer(void);
768                      
769 karl            1.26     /** REVIEWERS: Insert description here. What parameters need descriptions?
770                          @param container Specifies the name of the SnmpTrapOidContainer.
771                          */
772 kumpf           1.22     SnmpTrapOidContainer & operator=
773                              (const SnmpTrapOidContainer & container);
774                      
775 karl            1.26     /** REVIEWERS: Insert description here. What parameters need descriptions?
776                          */
777 kumpf           1.22     virtual String getName(void) const;
778 karl            1.26 
779                          /** REVIEWERS: Insert description here. What parameters need descriptions?
780                          */
781 kumpf           1.22     virtual OperationContext::Container * clone(void) const;
782 karl            1.26 
783                          /** REVIEWERS: Insert description here. What parameters need descriptions?
784                          */    
785 kumpf           1.22     virtual void destroy(void);
786                      
787 karl            1.26     /** REVIEWERS: Insert description here. 
788                          */
789 kumpf           1.22     String getSnmpTrapOid(void) const;
790                      
791                      protected:
792                          SnmpTrapOidContainerRep* _rep;
793                      
794 kumpf           1.28 private:
795                          SnmpTrapOidContainer();    // Unimplemented
796 kumpf           1.22 };
797 mday            1.20 
798                      
799 mike            1.2  PEGASUS_NAMESPACE_END
800                      
801 chip            1.6  #endif

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2