VR-Forces 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) 2023 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
13 
14 #include <unordered_map>
15 
16 namespace makVrv
17 {
18 
40  {
41  public:
45 
48 
50  DtNavMarkStringParser& operator=( const DtNavMarkStringParser& rhs );
51 
52 
54  virtual ~DtNavMarkStringParser();
55 
58  virtual bool readFeatureMappingFile( const std::string& path,
59  const std::string& daymarkMappingsFileName );
60 
61  protected:
62 
65 
67  virtual void getAttributeValue( const std::string& attr,
68  const std::string& valueString );
69 
70  protected:
71 
72  typedef std::unordered_map<std::string, std::vector<std::string> > DaymarkMap;
73  typedef std::unordered_map<std::string, std::vector<std::string> >::iterator DaymarkMapIter;
75  };
76 
77 
81  {
82 
83  public:
85  static DtNavMarkStringParserCreator& instance( DtDe& de );
86 
88  static void registerInstance( DtDe& de, DtNavMarkStringParserCreator* anInstance );
89 
91  virtual DtNavMarkStringParser* create();
92  };
93 }
94 
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:42
std::unordered_map< std::string, std::vector< std::string > > DaymarkMap
Definition: DtNavMarkStringParser.h:72
Contains makVrv::DtNavigationFeatureStringParser class.
The DtNavMarkStringParser parses the daymark attributes found in the strings used by streamed daymark...
Definition: DtNavMarkStringParser.h:39
std::unordered_map< std::string, std::vector< std::string > >::iterator DaymarkMapIter
Definition: DtNavMarkStringParser.h:73
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
DtNavMarkStringParser creator.
Definition: DtNavMarkStringParser.h:80
DaymarkMap myDaymarkData
Definition: DtNavMarkStringParser.h:74
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

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)