VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
terrainDbFactory
mftMfRec.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 mftMfRec_H_
10
#define mftMfRec_H_
11
12
#include "
terrainDbFactory/terrainDbFactoryDefines.h
"
13
#include "
terrainDbFactory/terrainMfRec.h
"
14
15
16
// Use this metafile record to define terrain database in MetaFlight format
17
class
DT_DLL_terrainDbFactory
DtMtFltMetafileRecord
:
public
DtTerrainMetafileRecord
18
{
19
20
public
:
21
22
// default constructor.
23
DtMtFltMetafileRecord
();
24
25
// destructor
26
virtual
~
DtMtFltMetafileRecord
();
27
28
// copy constructor
29
DtMtFltMetafileRecord
(
const
DtMtFltMetafileRecord
& orig);
30
31
// assignment operator
32
DtMtFltMetafileRecord
&
operator=
(
const
DtMtFltMetafileRecord
& 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 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
)