VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtModelSetStringProvider.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2009 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtModelSetStringProvider.h,v $ $Revision: 1.16 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #pragma once
14 #include <vrvCore/vrvCore.h>
16 #include <vrvUtil/DtUnicode.h>
17 #include <vector>
18 
19 namespace makVrv
20 {
21 
22  class DtDe;
23 
28  {
29 
30  public:
31 
32  typedef std::vector<DtUnicode> StringList;
33 
35  virtual ~DtModelSetStringProvider();
36 
39  static DtModelSetStringProvider& instance(DtDe& de);
40 
42  static void registerInstance(DtDe& de, DtModelSetStringProvider* instance);
43 
45  virtual void getModelSetList( StringList& outList ) const = 0;
46 
48  virtual DtUnicode modelSetToString( int modelSet ) const = 0;
49 
51  virtual int stringToModelSet( const DtUnicode& modelSetString ) const = 0;
52 
54  virtual int numModelSets() const = 0;
55 
58  virtual void setModelSetName( int modelSet, const DtUnicode& name ) = 0;
59 
60  protected:
61 
64 
65  protected:
66 
68  };
69 }

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)