VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtHeaderParser.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2019 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
6 
10 
11 #ifndef DtHeaderParser_H_
12 #define DtHeaderParser_H_
13 
14 #include <vrvCore/vrvCore.h>
16 #include <string>
17 
18 namespace makVrv
19 {
20  class DtDe;
21 
25  {
26 
27  public:
28 
30  DtHeaderParser(const std::string& filePath);
31 
33  virtual ~DtHeaderParser();
34 
37  virtual bool isValid() = 0;
38 
40  virtual const std::string& terrainCoordinateSystem();
41 
43  virtual const std::string& terrainCoordinateSystemParameters();
44 
46  virtual const std::string& filePath();
47 
48  typedef std::list<makArchives::DtTerrainPatchRecord> TerrainPatchRecords;
49 
51  const TerrainPatchRecords& terrainPatchRecords() const;
52 
53  protected:
54 
55  std::string myFilePath;
59 
60  };
61 
65  {
66 
67  public:
68 
71 
73  virtual ~DtHeaderParserCreator();
74 
76  virtual DtHeaderParser* create(DtDe& de, const std::string& filePath) const = 0;
77 
78  };
79 }
80 
81 #endif
82 
Abstact header parser creator class.
Definition: DtHeaderParser.h:64
std::string myTerrainCoordinateSystem
Definition: DtHeaderParser.h:56
Abstract header parser class.
Definition: DtHeaderParser.h:24
TerrainPatchRecords myTerrainPatchRecords
Definition: DtHeaderParser.h:58
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
Contains makVrv::DtTerrainPatchRecord class.
std::list< makArchives::DtTerrainPatchRecord > TerrainPatchRecords
Definition: DtHeaderParser.h:48
std::string myTerrainCoordinateSystemParameters
Definition: DtHeaderParser.h:57
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
std::string myFilePath
Definition: DtHeaderParser.h:55
Contains DLL export macros.

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)