ContentLanguageListContainer Class Reference

#include <OperationContext.h>

Inheritance diagram for ContentLanguageListContainer:

OperationContext::Container List of all members.

Public Member Functions

 ContentLanguageListContainer (const OperationContext::Container &container)
 ContentLanguageListContainer (const ContentLanguageListContainer &container)
 ContentLanguageListContainer (const ContentLanguageList &languages)
virtual ~ContentLanguageListContainer ()
ContentLanguageListContaineroperator= (const ContentLanguageListContainer &container)
virtual String getName () const
virtual OperationContext::Containerclone () const
virtual void destroy ()
ContentLanguageList getLanguages () const

Static Public Attributes

static const String NAME

Protected Attributes

ContentLanguageListContainerRep * _rep

Detailed Description

A ContentLanguageListContainer object holds a list of languages that are contained in the associated data.


Constructor & Destructor Documentation

ContentLanguageListContainer::ContentLanguageListContainer ( const OperationContext::Container container  ) 

Constructs a ContentLanguageListContainer object from the specified Container.

Parameters:
container The Container object to copy.
Exceptions:
DynamicCastFailedException If the specified Container object is not a ContentLanguageListContainer object.

ContentLanguageListContainer::ContentLanguageListContainer ( const ContentLanguageListContainer container  ) 

Constructs a copy of the specified ContentLanguageListContainer.

Parameters:
container The ContentLanguageListContainer object to copy.

ContentLanguageListContainer::ContentLanguageListContainer ( const ContentLanguageList languages  ) 

Constructs a ContentLanguageListContainer with the specified content language list.

Parameters:
languages A ContentLanguageList with the languages that are contained in the associated data.

virtual ContentLanguageListContainer::~ContentLanguageListContainer (  )  [virtual]


Member Function Documentation

virtual OperationContext::Container* ContentLanguageListContainer::clone (  )  const [virtual]

Makes a copy of this ContentLanguageListContainer 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 ContentLanguageListContainer::destroy (  )  [virtual]

Cleans up a ContentLanguageListContainer object that was created by the clone() method.

Implements OperationContext::Container.

ContentLanguageList ContentLanguageListContainer::getLanguages (  )  const

Gets the list of content languages from the ContentLanguageListContainer.

Returns:
A ContentLanguageList with the languages that are contained in the associated data.

virtual String ContentLanguageListContainer::getName (  )  const [virtual]

Returns the unique name for this Container type.

Returns:
The String name of the Container type.

Implements OperationContext::Container.

ContentLanguageListContainer& ContentLanguageListContainer::operator= ( const ContentLanguageListContainer container  ) 

Assigns the value of the specified ContentLanguageListContainer object to this object.

Parameters:
container The ContentLanguageListContainer object to copy.


Member Data Documentation

ContentLanguageListContainerRep* ContentLanguageListContainer::_rep [protected]

An internal representation of the ContentLanguageListContainer attributes.

The unique name for this container type.


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