VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Types | Protected Attributes
makVrv::DtQtModelSetStringProvider Class Reference

DtQtModelSetStringProvider provides Qt-translated strings to for model sets. More...

Inheritance diagram for makVrv::DtQtModelSetStringProvider:
Inheritance graph
[legend]

List of all members.

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

DtDemyDe
ModelSetMap myModelSetMap

Detailed Description

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


Member Typedef Documentation

typedef boost::bimap<DtUnicode, int> makVrv::DtQtModelSetStringProvider::ModelSetMap [protected]

Constructor & Destructor Documentation

Constructor.

Virtual Destructor.


Member Function Documentation

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.

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.


Member Data Documentation

Reimplemented from makVrv::DtModelSetStringProvider.


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)