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

DtModelSetStringProvider is an interface for a class to provide strings for model sets. More...

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

List of all members.

Public Types

typedef std::vector< DtUnicodeStringList

Public Member Functions

virtual ~DtModelSetStringProvider ()
 Virtual Destructor.
virtual void getModelSetList (StringList &outList) const =0
 Get the list of model set names.
virtual DtUnicode modelSetToString (int modelSet) const =0
 Get the string that's mapped to the specified model set.
virtual int stringToModelSet (const DtUnicode &modelSetString) const =0
 Get the model set that's mapped to the specified string.
virtual int numModelSets () const =0
 Get the current number of model set names on the model set list.
virtual void setModelSetName (int modelSet, const DtUnicode &name)=0
 Change the string associated with a model set (if it exists) or add a new string to model set mapping.

Static Public Member Functions

static DtModelSetStringProviderinstance (DtDe &de)
 Get the instance of a DtModelSetStringProvider.
static void registerInstance (DtDe &de, DtModelSetStringProvider *instance)
 Register the provider with a DtDe.

Protected Member Functions

 DtModelSetStringProvider (DtDe &de)
 Constructor.

Protected Attributes

DtDemyDe

Detailed Description

DtModelSetStringProvider is an interface for a class to provide strings for model sets.


Member Typedef Documentation


Constructor & Destructor Documentation

Virtual Destructor.

Constructor.


Member Function Documentation

Get the instance of a DtModelSetStringProvider.

Exceptions:
DtCorruptedStateif the instance is unable to be found.
static void makVrv::DtModelSetStringProvider::registerInstance ( DtDe de,
DtModelSetStringProvider instance 
) [static]

Register the provider with a DtDe.

virtual void makVrv::DtModelSetStringProvider::getModelSetList ( StringList outList) const [pure virtual]

Get the list of model set names.

Implemented in makVrv::DtQtModelSetStringProvider.

virtual DtUnicode makVrv::DtModelSetStringProvider::modelSetToString ( int  modelSet) const [pure virtual]

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

Implemented in makVrv::DtQtModelSetStringProvider.

virtual int makVrv::DtModelSetStringProvider::stringToModelSet ( const DtUnicode modelSetString) const [pure virtual]

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

Implemented in makVrv::DtQtModelSetStringProvider.

virtual int makVrv::DtModelSetStringProvider::numModelSets ( ) const [pure virtual]

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

Implemented in makVrv::DtQtModelSetStringProvider.

virtual void makVrv::DtModelSetStringProvider::setModelSetName ( int  modelSet,
const DtUnicode name 
) [pure virtual]

Change the string associated with a model set (if it exists) or add a new string to model set mapping.

Implemented in makVrv::DtQtModelSetStringProvider.


Member Data Documentation


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)