VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvCore
DtHeaderParser.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtHeaderParser.h,v $ $Revision: 1.10 $ $State: Exp $
7
******************************************************************************/
8
12
13
#ifndef DtHeaderParser_H_
14
#define DtHeaderParser_H_
15
16
#include <
vrvCore/vrvCore.h
>
17
#include <
makArchives/DtTerrainPatchRecord.h
>
18
#include <string>
19
20
namespace
makVrv
21
{
22
class
DtDe;
23
26
class
DT_DLL_VRVCORE
DtHeaderParser
27
{
28
29
public
:
30
32
DtHeaderParser
(
const
std::string& filePath);
33
35
virtual
~
DtHeaderParser
();
36
39
virtual
bool
isValid() = 0;
40
42
virtual
const
std::string& terrainCoordinateSystem();
43
45
virtual
const
std::string& terrainCoordinateSystemParameters();
46
48
virtual
const
std::string& filePath();
49
50
typedef
std::list<makArchives::DtTerrainPatchRecord>
TerrainPatchRecords
;
51
53
const
TerrainPatchRecords
& terrainPatchRecords()
const
;
54
55
protected
:
56
57
std::string
myFilePath
;
58
std::string
myTerrainCoordinateSystem
;
59
std::string
myTerrainCoordinateSystemParameters
;
60
TerrainPatchRecords
myTerrainPatchRecords
;
61
62
};
63
66
class
DT_DLL_VRVCORE
DtHeaderParserCreator
67
{
68
69
public
:
70
72
DtHeaderParserCreator
();
73
75
virtual
~
DtHeaderParserCreator
();
76
78
virtual
DtHeaderParser
* create(
DtDe
& de,
const
std::string& filePath)
const
= 0;
79
80
};
81
}
82
83
#endif
84
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)