![]() |
VR-Forces 4.0.4 Class Documentation
|
DtQtModelSetStringProvider provides Qt-translated strings to for model sets. More...

Public Member Functions | |
| DtQtModelSetStringProvider (DtDe &de) | |
| Constructor. | |
| virtual | ~DtQtModelSetStringProvider () |
| Virtual Destructor. | |
| virtual void | getModelSetList (StringList &outList) const |
| Get the list of model set names. | |
| virtual DtUnicode | modelSetToString (int modelSet) const |
| Get the string that's mapped to the specified model set. | |
| virtual int | stringToModelSet (const DtUnicode &modelSetString) const |
| Get the model set that's mapped to the specified string. | |
| int | numModelSets () const |
| Get the current number of model set names on the model set list. | |
| virtual void | setModelSetName (int modelSet, const DtUnicode &name) |
| Change the string associated with a model set (if it exists) or add a new string to model set mapping. | |
Protected Types | |
| typedef boost::bimap < DtUnicode, int > | ModelSetMap |
Protected Attributes | |
| DtDe & | myDe |
| ModelSetMap | myModelSetMap |
DtQtModelSetStringProvider provides Qt-translated strings to for model sets.
Model sets themselves are represented by integers and are Qt-independent. This Qt-dependent class provides translatable representations for those integers
typedef boost::bimap<DtUnicode, int> makVrv::DtQtModelSetStringProvider::ModelSetMap [protected] |
Constructor.
| virtual makVrv::DtQtModelSetStringProvider::~DtQtModelSetStringProvider | ( | ) | [virtual] |
Virtual Destructor.
| virtual void makVrv::DtQtModelSetStringProvider::getModelSetList | ( | StringList & | outList | ) | const [virtual] |
Get the list of model set names.
Implements makVrv::DtModelSetStringProvider.
| virtual DtUnicode makVrv::DtQtModelSetStringProvider::modelSetToString | ( | int | modelSet | ) | const [virtual] |
Get the string that's mapped to the specified model set.
Implements makVrv::DtModelSetStringProvider.
| virtual int makVrv::DtQtModelSetStringProvider::stringToModelSet | ( | const DtUnicode & | modelSetString | ) | const [virtual] |
Get the model set that's mapped to the specified string.
Implements makVrv::DtModelSetStringProvider.
| int makVrv::DtQtModelSetStringProvider::numModelSets | ( | ) | const [virtual] |
Get the current number of model set names on the model set list.
Implements makVrv::DtModelSetStringProvider.
| virtual void makVrv::DtQtModelSetStringProvider::setModelSetName | ( | int | modelSet, |
| const DtUnicode & | name | ||
| ) | [virtual] |
Change the string associated with a model set (if it exists) or add a new string to model set mapping.
Implements makVrv::DtModelSetStringProvider.
DtDe& makVrv::DtQtModelSetStringProvider::myDe [protected] |
Reimplemented from makVrv::DtModelSetStringProvider.