#include <freProfileMediaMap.h>


Public Types | |
| typedef XMLKeyedCollectionBase < std::string, Media, MediaIdentifierBase > ::ElementsCountType | ElementsCountType |
Public Member Functions | |
| Media * | AddMedia (const std::string &sName, const std::string &sType, const DataAccessType access=DAAny, const Media::DimensionType &dim=Media::DT_AllDimensions, const unsigned int &iGroupID=1, const bool &bInternal=false) |
| ProfileMediaMap () | |
| ProfileMediaMap (const ProfileMediaMap &rMediaMap) | |
| virtual | ~ProfileMediaMap () |
Protected Member Functions | |
| virtual void | SubElementLoadProcessing (const std::string &rsXMLSubTag, const std::string &rsXMLSubElement, const std::string &rsXMLSubData) |
Definition at line 44 of file freProfileMediaMap.h.
| typedef XMLKeyedCollectionBase<std::string,Media,MediaIdentifierBase>::ElementsCountType FREE::CtrlProfile::ProfileMediaMap::ElementsCountType |
Reimplemented from FREE::XMLKeyedCollectionBase< TKey, TXMLElement, TIdentifierClass >.
Definition at line 47 of file freProfileMediaMap.h.
| FREE::CtrlProfile::ProfileMediaMap::ProfileMediaMap | ( | ) |
Definition at line 58 of file freProfileMediaMap.cxx.
References FREE::cXML_CP_MediaMap, FREE::XMLKeyedCollectionBase< TKey, TXMLElement, TIdentifierClass >::Reset(), and FREE::XMLStreamObject::SetXMLTag().

| FREE::CtrlProfile::ProfileMediaMap::ProfileMediaMap | ( | const ProfileMediaMap & | rMediaMap | ) |
Copy constructor
Definition at line 65 of file freProfileMediaMap.cxx.
References FREE::cXML_CP_MediaMap, and FREE::XMLStreamObject::SetXMLTag().

| FREE::CtrlProfile::ProfileMediaMap::~ProfileMediaMap | ( | ) | [virtual] |
Definition at line 72 of file freProfileMediaMap.cxx.
References FREE::XMLKeyedCollectionBase< TKey, TXMLElement, TIdentifierClass >::Reset().

| Media * FREE::CtrlProfile::ProfileMediaMap::AddMedia | ( | const std::string & | sName, | |
| const std::string & | sType, | |||
| const DataAccessType | access = DAAny, |
|||
| const Media::DimensionType & | dim = Media::DT_AllDimensions, |
|||
| const unsigned int & | iGroupID = 1, |
|||
| const bool & | bInternal = false | |||
| ) |
Function adds a new media to the profil. If the media already exists, it will be replaced.
| [in] | sName | ID of the media. |
| [in] | sType | Data type of the media (ControllerID). |
| [in] | access | Access type. |
| [in] | iGroupID | ID of the semantic group. 0: this media is optional; 1: normal required media; others are special semantic groups. |
| [in] | bInternal | Indicates if the media is internal (true) or not (false). |
Definition at line 36 of file freProfileMediaMap.cxx.
References FREE::SmartCollectionBase< TXMLElement >::AddElement(), FREE::KeyedCollectionBase< TKey, TXMLElement, TIdentifierClass >::GetElement(), and FREE::CtrlProfile::Media::New().

| void FREE::CtrlProfile::ProfileMediaMap::SubElementLoadProcessing | ( | const std::string & | rsXMLSubTag, | |
| const std::string & | rsXMLSubElement, | |||
| const std::string & | rsXMLSubData | |||
| ) | [protected, virtual] |
Reimplemented from FREE::XMLStreamObject.
Definition at line 79 of file freProfileMediaMap.cxx.
References FREE::SmartCollectionBase< TXMLElement >::AddElement(), catchAllNPassMacro, FREE::cXML_CP_Media, FREE::XMLStreamObject::cXML_Text, FREE::CtrlProfile::Media::New(), and throwExceptionMacro.

1.5.3 written by Dimitri van Heesch,
© 1997-2000