AcceptLanguageListContainer Class Reference

#include <OperationContext.h>

Inheritance diagram for AcceptLanguageListContainer:
OperationContext::Container

List of all members.

Public Member Functions

 AcceptLanguageListContainer (const OperationContext::Container &container)
 AcceptLanguageListContainer (const AcceptLanguageListContainer &container)
 AcceptLanguageListContainer (const AcceptLanguageList &languages)
virtual ~AcceptLanguageListContainer ()
AcceptLanguageListContaineroperator= (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

Constructs an AcceptLanguageListContainer object from the specified Container.

Parameters:
containerThe Container object to copy.
Exceptions:
DynamicCastFailedExceptionIf the specified Container object is not an AcceptLanguageListContainer object.

Constructs a copy of the specified AcceptLanguageListContainer.

Parameters:
containerThe AcceptLanguageListContainer object to copy.

Constructs an AcceptLanguageListContainer with the specified accept language list.

Parameters:
languagesAn AcceptLanguageList with the response languages that are acceptable in this context.

Member Function Documentation

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.

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:
containerThe AcceptLanguageListContainer object to copy.

Member Data Documentation

AcceptLanguageListContainerRep* AcceptLanguageListContainer::_rep [protected]

An internal representation of the AcceptLanguageListContainer attributes.

The unique name for this container type.


The documentation for this class was generated from the following file: