VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtNavMarkStringParser.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
13 
14 namespace makVrv
15 {
16 
38  {
39  public:
43 
46 
48  DtNavMarkStringParser& operator=( const DtNavMarkStringParser& rhs );
49 
50 
52  virtual ~DtNavMarkStringParser();
53 
56  virtual bool readFeatureMappingFile( const std::string& path,
57  const std::string& daymarkMappingsFileName );
58 
59  protected:
60 
63 
65  virtual void getAttributeValue( const std::string& attr,
66  const std::string& valueString );
67 
68  protected:
69 
70  typedef boost::unordered_map<std::string, std::vector<std::string> > DaymarkMap;
71  typedef boost::unordered_map<std::string, std::vector<std::string> >::iterator DaymarkMapIter;
73  };
74 
75 
79  {
80 
81  public:
83  static DtNavMarkStringParserCreator& instance( DtDe& de );
84 
86  static void registerInstance( DtDe& de, DtNavMarkStringParserCreator* anInstance );
87 
89  virtual DtNavMarkStringParser* create();
90  };
91 }
92 
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
The DtNavigationFeatureStringParser parses the object attributes found in the strings used by streame...
Definition: DtNavigationFeatureStringParser.h:43
Contains makVrv::DtNavigationFeatureStringParser class.
boost::unordered_map< std::string, std::vector< std::string > >::iterator DaymarkMapIter
Definition: DtNavMarkStringParser.h:71
The DtNavMarkStringParser parses the daymark attributes found in the strings used by streamed daymark...
Definition: DtNavMarkStringParser.h:37
boost::unordered_map< std::string, std::vector< std::string > > DaymarkMap
Definition: DtNavMarkStringParser.h:70
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
DtNavMarkStringParser creator.
Definition: DtNavMarkStringParser.h:78
DaymarkMap myDaymarkData
Definition: DtNavMarkStringParser.h:72
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:70

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)