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

Inheritance diagram for DtMfcModelSetStringProvider:
Inheritance graph
[legend]

Public Member Functions

 DtMfcModelSetStringProvider (makVrv::DtDe &de)
 
virtual ~DtMfcModelSetStringProvider ()
 
virtual void getModelSetList (StringList &outList) const
 
virtual makVrv::DtUnicode modelSetToString (makVrv::DtModelSetId modelSet) const
 
virtual int stringToModelSet (const makVrv::DtUnicode &modelSetString) const
 
int numModelSets () const
 
virtual void setModelSetName (int modelSet, const makVrv::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
< 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)
 
static void registerInstance (DtDe &de, DtModelSetStringProvider *instance)
 
- Protected Member Functions inherited from makVrv::DtModelSetStringProvider
 DtModelSetStringProvider (DtDe &de)
 

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 ( makVrv::DtModelSetId  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 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)