VR-Forces Development_Version Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
terrainDbFactory
vmapMetafileRecord.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2006 MAK Technologies, Inc.** All rights reserved.
3
******************************************************************************/
4
/******************************************************************************
5
* $RCSfile: vmapMfRec.h,v $ $Revision: 1.7 $ $State: Exp $
6
******************************************************************************/
7
8
#ifndef VMAP_METAFILE_RECORD_H_
9
#define VMAP_METAFILE_RECORD_H_
10
11
#include <list>
12
15
16
#include "
terrainDbFactory/terrainDbFactoryDefines.h
"
17
#include "
terrainDbFactory/vectorDataRecord.h
"
18
19
class
DT_DLL_terrainDbFactory
DtVmapMetafileRecord
:
public
DtVectorDataRecord
20
{
21
22
public
:
23
24
// default constructor.
25
DtVmapMetafileRecord
();
26
27
// destructor
28
virtual
~
DtVmapMetafileRecord
();
29
30
// copy constructor
31
DtVmapMetafileRecord
(
const
DtVmapMetafileRecord
& orig);
32
33
// assignment operator
34
DtVmapMetafileRecord
&
operator=
(
const
DtVmapMetafileRecord
& rhs);
35
36
// Returns "vpf".
37
virtual
DtString
recordTypeName
()
const
;
38
39
// Read self from stream.
40
virtual
bool
get
(std::istream& stream);
41
42
// identifies a token or passes it to the parent class.
43
virtual
bool
processToken
(std::istream& stream,
DtString
& token);
44
45
static
DtMetafileRecord
*
create
();
46
47
std::list<DtString> libraryList();
48
std::list<DtString> thematicList();
49
std::list<DtString> featureList();
50
51
protected
:
52
// Write self to stream.
53
virtual
bool
writeAttributes
(std::ostream& stream)
const
;
54
virtual
bool
getAttribute
(
const
DtString
attrName,
DtString
& value,
unsigned
index=0);
55
virtual
bool
setToken
(
const
DtString
& token,
const
DtString
value);
56
57
protected
:
58
static
const
DtString
theParameterLibraryPath
;
59
static
const
DtString
theParameterLibrary
;
60
static
const
DtString
theParameterThematicLayer
;
61
static
const
DtString
theParameterFeatureClass
;
62
static
const
DtString
theParameterSWCorner
;
63
static
const
DtString
theParameterNECorner
;
64
65
DtString
myCurrentDatabasePath
;
66
DtString
myCurrentThematicLayer
;
67
DtString
myCurrentFeatureClass
;
68
69
};
70
71
#endif
72
Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)