#include <OperationContext.h>

Inheritance diagram for AcceptLanguageListContainer:
OperationContext::Container

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::Containerclone () const
 
virtual void destroy ()
 
AcceptLanguageList getLanguages () const
 
- Public Member Functions inherited from OperationContext::Container
virtual ~Container ()
 

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() [1/3]

AcceptLanguageListContainer::AcceptLanguageListContainer ( const OperationContext::Container container)

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.

◆ AcceptLanguageListContainer() [2/3]

AcceptLanguageListContainer::AcceptLanguageListContainer ( const AcceptLanguageListContainer container)

Constructs a copy of the specified AcceptLanguageListContainer.

Parameters
containerThe AcceptLanguageListContainer object to copy.

◆ AcceptLanguageListContainer() [3/3]

AcceptLanguageListContainer::AcceptLanguageListContainer ( const AcceptLanguageList languages)

Constructs an AcceptLanguageListContainer with the specified accept language list.

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

◆ ~AcceptLanguageListContainer()

virtual AcceptLanguageListContainer::~AcceptLanguageListContainer ( )
virtual

Member Function Documentation

◆ clone()

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.

◆ destroy()

virtual void AcceptLanguageListContainer::destroy ( )
virtual

Cleans up an AcceptLanguageListContainer object that was created by the clone() method.

Implements OperationContext::Container.

◆ getLanguages()

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.

◆ getName()

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.

◆ operator=()

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

◆ _rep

AcceptLanguageListContainerRep* AcceptLanguageListContainer::_rep
protected

An internal representation of the AcceptLanguageListContainer attributes.

◆ NAME

const String AcceptLanguageListContainer::NAME
static

The unique name for this container type.


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