VR-Forces 4.8 Class Documentation
 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 /******************************************************************************
6 ** $RCSfile: DtQtModelSetStringProvider.h,v $ $Revision: 1.16 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #pragma once
14 #include <vrvCoreQt/vrvCoreQt.h>
16 #include <boost/bimap.hpp>
17 
18 namespace makVrv
19 {
20 
21  class DtDe;
22 
30  {
31 
32  public:
33 
36 
38  virtual ~DtQtModelSetStringProvider();
39 
41  virtual void getModelSetList( StringList& outList ) const;
42 
44  virtual DtUnicode modelSetToString( int modelSet ) const;
45 
47  virtual int stringToModelSet( const DtUnicode& modelSetString ) const;
48 
50  int numModelSets() const;
51 
54  virtual void setModelSetName( int modelSet, const DtUnicode& name );
55 
56  protected:
57 
58  typedef boost::bimap<DtUnicode, int> ModelSetMap;
60  };
61 }
A unicode string.
Definition: DtUnicode.h:33
DtModelSetStringProvider is an interface for a class to provide strings for model sets...
Definition: DtModelSetStringProvider.h:27
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
Contains DLL export macros.
std::vector< DtUnicode > StringList
Definition: DtModelSetStringProvider.h:32
boost::bimap< DtUnicode, int > ModelSetMap
Definition: DtQtModelSetStringProvider.h:58
ModelSetMap myModelSetMap
Definition: DtQtModelSetStringProvider.h:59
Contains makVrv::DtModelSetStringProvider class.
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
DtQtModelSetStringProvider provides Qt-translated strings to for model sets.
Definition: DtQtModelSetStringProvider.h:28

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)