VR-Forces 4.6 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
terrainDbFactory
metaFlightMetafileRecord.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2006 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: mftMfRec.h,v $ $Revision: 1.2 $ $State: Exp $
7
** Created: 5/4/06 JAT, Updated: 5/4/06
8
*******************************************************************************/
9
#ifndef metaFlightMetafileRecord_H_
10
#define metaFlightMetafileRecord_H_
11
12
#include "
terrainDbFactory/terrainDbFactoryDefines.h
"
13
#include "
terrainDbFactory/terrainMetafileRecord.h
"
14
15
16
// Use this metafile record to define terrain database in MetaFlight format
17
class
DT_DLL_terrainDbFactory
DtMetaFlightMetafileRecord
:
public
DtTerrainMetafileRecord
18
{
19
20
public
:
21
22
// default constructor.
23
DtMetaFlightMetafileRecord
();
24
25
// destructor
26
virtual
~
DtMetaFlightMetafileRecord
();
27
28
// copy constructor
29
DtMetaFlightMetafileRecord
(
const
DtMetaFlightMetafileRecord
& orig);
30
31
// assignment operator
32
DtMetaFlightMetafileRecord
&
operator=
(
const
DtMetaFlightMetafileRecord
& orig);
33
34
// Returns "mft".
35
virtual
DtString
recordTypeName
()
const
;
36
37
// Read self from stream.
38
virtual
bool
get
(std::istream&
stream
);
39
40
// identifies a token or passes it to the parent class.
41
virtual
bool
processToken
(std::istream&
stream
,
DtString
& token);
42
43
static
DtMetafileRecord
* create();
44
45
protected
:
46
// Write self to stream
47
virtual
bool
writeAttributes
(std::ostream& stream)
const
;
48
virtual
bool
getAttribute
(
const
DtString
attrName,
DtString
& value,
unsigned
index=0);
49
virtual
bool
setToken
(
const
DtString
& token,
const
DtString
value);
50
protected
:
51
52
static
const
DtString
theParameterFile
;
53
54
};
55
56
#endif
57
Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)