VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtQtModelSetStringProvider.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2009 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 #include <vrvCoreQt/vrvCoreQt.h>
13 #include <boost/bimap.hpp>
14 
15 namespace makVrv
16 {
17 
18  class DtDe;
19 
27  {
28 
29  public:
30 
33 
35  virtual ~DtQtModelSetStringProvider();
36 
38  virtual void getModelSetList( StringList& outList ) const;
39 
41  virtual DtUnicode modelSetToString( DtModelSetId modelSet ) const;
42 
44  virtual int stringToModelSet( const DtUnicode& modelSetString ) const;
45 
47  int numModelSets() const;
48 
51  virtual void setModelSetName( int modelSet, const DtUnicode& name );
52 
53  protected:
54 
55  typedef boost::bimap<DtUnicode, int> ModelSetMap;
57  };
58 }
A unicode string. DtUnicode stores a UTF-16 encoded unicode string. Code Point, a Unicode character...
Definition: DtUnicode.h:33
DtModelSetStringProvider is an interface for a class to provide strings for model sets...
Definition: DtModelSetStringProvider.h:25
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
Contains DLL export macros.
std::vector< DtUnicode > StringList
Definition: DtModelSetStringProvider.h:30
boost::bimap< DtUnicode, int > ModelSetMap
Definition: DtQtModelSetStringProvider.h:55
ModelSetMap myModelSetMap
Definition: DtQtModelSetStringProvider.h:56
Contains makVrv::DtModelSetStringProvider class.
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
DtModelSetId
Definition: DtModelSetEnums.h:19
DtQtModelSetStringProvider provides Qt-translated strings to for model sets. Model sets themselves ar...
Definition: DtQtModelSetStringProvider.h:25

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)