VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Types | Protected Attributes
makVrv::DtQtModelSetStringProvider Class Reference

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.

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

Public Member Functions

 DtQtModelSetStringProvider (DtDe &de)
 
virtual ~DtQtModelSetStringProvider ()
 
virtual void getModelSetList (StringList &outList) const
 
virtual DtUnicode modelSetToString (DtModelSetId modelSet) const
 
virtual int stringToModelSet (const DtUnicode &modelSetString) const
 
int numModelSets () const
 
virtual void setModelSetName (int modelSet, const DtUnicode &name)
 
- Public Member Functions inherited from makVrv::DtModelSetStringProvider
virtual ~DtModelSetStringProvider ()
 
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 
virtual ~DtVirtualBaseClass ()
 

Protected Types

typedef boost::bimap
< DtUnicode, int
ModelSetMap
 

Protected Attributes

ModelSetMap myModelSetMap
 
- Protected Attributes inherited from makVrv::DtModelSetStringProvider
DtDemyDe
 

Additional Inherited Members

- Public Types inherited from makVrv::DtModelSetStringProvider
typedef std::vector< DtUnicodeStringList
 
- Static Public Member Functions inherited from makVrv::DtModelSetStringProvider
static DtModelSetStringProviderinstance (DtDe &de)
 
static void registerInstance (DtDe &de, DtModelSetStringProvider *instance)
 
- Protected Member Functions inherited from makVrv::DtModelSetStringProvider
 DtModelSetStringProvider (DtDe &de)
 

Member Typedef Documentation

Constructor & Destructor Documentation

makVrv::DtQtModelSetStringProvider::DtQtModelSetStringProvider ( DtDe de)

Constructor.

virtual makVrv::DtQtModelSetStringProvider::~DtQtModelSetStringProvider ( )
virtual

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 ( DtModelSetId  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.

Member Data Documentation

ModelSetMap makVrv::DtQtModelSetStringProvider::myModelSetMap
protected

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

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)