VR-Forces 4.10 Class Documentation
 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
DtMfcModelSetStringProvider Class Reference

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

Inheritance diagram for DtMfcModelSetStringProvider:
Inheritance graph
[legend]

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
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)
 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...
 

Detailed Description

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.

Member Typedef Documentation

Constructor & Destructor Documentation

DtMfcModelSetStringProvider::DtMfcModelSetStringProvider ( makVrv::DtDe de)

Constructor.

virtual DtMfcModelSetStringProvider::~DtMfcModelSetStringProvider ( )
virtual

Virtual Destructor.

Member Function Documentation

virtual void DtMfcModelSetStringProvider::getModelSetList ( StringList outList) const
virtual

Get the list of model set names.

Implements makVrv::DtModelSetStringProvider.

virtual makVrv::DtUnicode DtMfcModelSetStringProvider::modelSetToString ( int  modelSet) const
virtual

Get the string that's mapped to the specified model set.

Implements makVrv::DtModelSetStringProvider.

virtual int DtMfcModelSetStringProvider::stringToModelSet ( const makVrv::DtUnicode modelSetString) const
virtual

Get the model set that's mapped to the specified string.

Implements makVrv::DtModelSetStringProvider.

int DtMfcModelSetStringProvider::numModelSets ( ) const
virtual

Get the current number of model set names on the model set list.

Implements makVrv::DtModelSetStringProvider.

virtual void DtMfcModelSetStringProvider::setModelSetName ( int  modelSet,
const makVrv::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 DtMfcModelSetStringProvider::myModelSetMap
protected

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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)