VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | 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]

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.
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 Do nothing constructor.
virtual ~DtVirtualBaseClass ()
 Virtual do nothing destructor.

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 makVrv::DtModelSetStringProvider::~DtModelSetStringProvider ( )
virtual

Virtual Destructor.

makVrv::DtModelSetStringProvider::DtModelSetStringProvider ( DtDe de)
protected

Constructor.

Member Function Documentation

static DtModelSetStringProvider& makVrv::DtModelSetStringProvider::instance ( DtDe de)
static

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

DtDe& makVrv::DtModelSetStringProvider::myDe
protected

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

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)