ContentLanguageListContainer Class Reference
#include <OperationContext.h>
Inheritance diagram for ContentLanguageListContainer:![]()
Public Member Functions
ContentLanguageListContainer (const OperationContext::Container &container) ContentLanguageListContainer (const ContentLanguageListContainer &container) ContentLanguageListContainer (const ContentLanguageList &languages) virtual ~ContentLanguageListContainer () ContentLanguageListContainer & operator= (const ContentLanguageListContainer &container) virtual String getName () const virtual OperationContext::Container * clone () const virtual void destroy () ContentLanguageList getLanguages () const Public Member Functions inherited from OperationContext::Container
virtual ~Container ()
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() [1/3]
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() [2/3]
ContentLanguageListContainer::ContentLanguageListContainer ( const ContentLanguageListContainer & container ) Constructs a copy of the specified ContentLanguageListContainer.
- Parameters
container The ContentLanguageListContainer object to copy. ◆ ContentLanguageListContainer() [3/3]
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. ◆ ~ContentLanguageListContainer()
virtual ContentLanguageListContainer::~ContentLanguageListContainer ( ) virtual Destructs the ContentLanguageListContainer.
Member Function Documentation
◆ clone()
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.
◆ destroy()
virtual void ContentLanguageListContainer::destroy ( ) virtual Cleans up a ContentLanguageListContainer object that was created by the clone() method.
Implements OperationContext::Container.
◆ getLanguages()
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.
◆ getName()
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.
◆ operator=()
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
◆ _rep
ContentLanguageListContainerRep* ContentLanguageListContainer::_rep protected An internal representation of the ContentLanguageListContainer attributes.
◆ NAME
const String ContentLanguageListContainer::NAME static The unique name for this container type.
The documentation for this class was generated from the following file:
- /home/loongson/rpmbuild/BUILD/pegasus/src/Pegasus/Common/OperationContext.h