AcceptLanguageListContainer Class Reference
#include <OperationContext.h>
Inheritance diagram for AcceptLanguageListContainer:![]()
Public Member Functions
AcceptLanguageListContainer (const OperationContext::Container &container) AcceptLanguageListContainer (const AcceptLanguageListContainer &container) AcceptLanguageListContainer (const AcceptLanguageList &languages) virtual ~AcceptLanguageListContainer () AcceptLanguageListContainer & operator= (const AcceptLanguageListContainer &container) virtual String getName () const virtual
OperationContext::Container *clone () const virtual void destroy () AcceptLanguageList getLanguages () const Static Public Attributes
static const String NAME Protected Attributes
AcceptLanguageListContainerRep * _rep Detailed Description
An AcceptLanguageListContainer object holds a list of languages that are acceptable in the response for a given operation.
Constructor & Destructor Documentation
AcceptLanguageListContainer::AcceptLanguageListContainer ( const OperationContext::Container & container ) Constructs an AcceptLanguageListContainer object from the specified Container.
- Parameters:
container The Container object to copy.
- Exceptions:
DynamicCastFailedException If the specified Container object is not an AcceptLanguageListContainer object.
AcceptLanguageListContainer::AcceptLanguageListContainer ( const AcceptLanguageListContainer & container ) Constructs a copy of the specified AcceptLanguageListContainer.
- Parameters:
container The AcceptLanguageListContainer object to copy.
AcceptLanguageListContainer::AcceptLanguageListContainer ( const AcceptLanguageList & languages ) Constructs an AcceptLanguageListContainer with the specified accept language list.
- Parameters:
languages An AcceptLanguageList with the response languages that are acceptable in this context.
virtual AcceptLanguageListContainer::~AcceptLanguageListContainer ( ) [virtual]
Destructs the AcceptLanguageListContainer.
Member Function Documentation
virtual OperationContext::Container* AcceptLanguageListContainer::clone ( ) const [virtual]
Makes a copy of this AcceptLanguageListContainer object. The caller is responsible for cleaning up the copy by calling destroy() method.
- Returns:
- A pointer to the new Container object.
Implements OperationContext::Container.
virtual void AcceptLanguageListContainer::destroy ( ) [virtual]
Cleans up an AcceptLanguageListContainer object that was created by the clone() method.
Implements OperationContext::Container.
AcceptLanguageList AcceptLanguageListContainer::getLanguages ( ) const Gets the list of acceptable response languages from the AcceptLanguageListContainer.
- Returns:
- An AcceptLanguageList with the response languages that are acceptable in this context.
virtual String AcceptLanguageListContainer::getName ( ) const [virtual]
Returns the unique name for this Container type.
- Returns:
- The String name of the Container type.
Implements OperationContext::Container.
AcceptLanguageListContainer& AcceptLanguageListContainer::operator= ( const AcceptLanguageListContainer & container ) Assigns the value of the specified AcceptLanguageListContainer object to this object.
- Parameters:
container The AcceptLanguageListContainer object to copy. Member Data Documentation
AcceptLanguageListContainerRep* AcceptLanguageListContainer::_rep [protected]
An internal representation of the AcceptLanguageListContainer attributes.
const String AcceptLanguageListContainer::NAME [static]
The unique name for this container type.
The documentation for this class was generated from the following file:
- /var/tmp/axbld-24884/rpm/BUILD/pegasus/src/Pegasus/Common/OperationContext.h