![]() |
VR-Forces 4.10 Class Documentation
|
For the purpose of the example, it doesn't really matter what this class does; but an instance of it is required to be registered by certain underlying support classes to provide a mechanism to get model set names into whatever translation system is being used by a GUI (if any) without the clients of this class needing to have a dependency on that GUI-specific translation model. More...

Public Member Functions | |
| DtMfcModelSetStringProvider (makVrv::DtDe &de) | |
| Constructor. More... | |
| virtual | ~DtMfcModelSetStringProvider () |
| Virtual Destructor. More... | |
| virtual void | getModelSetList (StringList &outList) const |
| Get the list of model set names. More... | |
| virtual makVrv::DtUnicode | modelSetToString (int modelSet) const |
| Get the string that's mapped to the specified model set. More... | |
| virtual int | stringToModelSet (const makVrv::DtUnicode &modelSetString) const |
| Get the model set that's mapped to the specified string. More... | |
| int | numModelSets () const |
| Get the current number of model set names on the model set list. More... | |
| virtual void | setModelSetName (int modelSet, const makVrv::DtUnicode &name) |
| Change the string associated with a model set (if it exists) or add a new string to model set mapping. More... | |
Public Member Functions inherited from makVrv::DtModelSetStringProvider | |
| virtual | ~DtModelSetStringProvider () |
| Virtual Destructor. More... | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. More... | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. More... | |
Protected Types | |
| typedef boost::bimap < makVrv::DtUnicode, int > | ModelSetMap |
Protected Attributes | |
| ModelSetMap | myModelSetMap |
Protected Attributes inherited from makVrv::DtModelSetStringProvider | |
| DtDe & | myDe |
Additional Inherited Members | |
Public Types inherited from makVrv::DtModelSetStringProvider | |
| typedef std::vector< DtUnicode > | StringList |
Static Public Member Functions inherited from makVrv::DtModelSetStringProvider | |
| static DtModelSetStringProvider & | instance (DtDe &de) |
| Get the instance of a DtModelSetStringProvider. More... | |
| static void | registerInstance (DtDe &de, DtModelSetStringProvider *instance) |
| Register the provider with a DtDe. More... | |
Protected Member Functions inherited from makVrv::DtModelSetStringProvider | |
| DtModelSetStringProvider (DtDe &de) | |
| Constructor. More... | |
For the purpose of the example, it doesn't really matter what this class does; but an instance of it is required to be registered by certain underlying support classes to provide a mechanism to get model set names into whatever translation system is being used by a GUI (if any) without the clients of this class needing to have a dependency on that GUI-specific translation model.
|
protected |
| DtMfcModelSetStringProvider::DtMfcModelSetStringProvider | ( | makVrv::DtDe & | de | ) |
Constructor.
|
virtual |
Virtual Destructor.
|
virtual |
Get the list of model set names.
Implements makVrv::DtModelSetStringProvider.
|
virtual |
Get the string that's mapped to the specified model set.
Implements makVrv::DtModelSetStringProvider.
|
virtual |
Get the model set that's mapped to the specified string.
Implements makVrv::DtModelSetStringProvider.
|
virtual |
Get the current number of model set names on the model set list.
Implements makVrv::DtModelSetStringProvider.
|
virtual |
Change the string associated with a model set (if it exists) or add a new string to model set mapping.
Implements makVrv::DtModelSetStringProvider.
|
protected |