VR-Forces 4.5 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
paperMapDatabase.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2004 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: pprMapDb.h,v $ $Revision: 1.8 $ $State: Exp $
7
*******************************************************************************/
8
9
#ifndef PPRMAPDB_H
10
#define PPRMAPDB_H
11
12
#include "
terrainDbFactory/terrainDbFactoryDefines.h
"
13
#include <vlutil/vlFilename.h>
14
15
class
DtList;
16
class
DtPaperMap
;
17
18
// class DtPaperMapDatabase
19
20
class
DT_DLL_terrainDbFactory
DtPaperMapDatabase
21
{
22
23
public
:
24
25
// default constructor.
26
DtPaperMapDatabase
();
27
28
// destructor
29
virtual
~
DtPaperMapDatabase
();
30
31
// Initialize the papermap set.
32
virtual
bool
init
(
const
DtFilename&
filename
);
33
34
// Returns the filename of the metafile where the papermaps were specified.
35
virtual
DtFilename
filename
()
const
;
36
37
// Returns a pointer to the papermap list (list of DtPaperMap instances).
38
virtual
DtList* paperMapList()
const
;
39
40
// Moves the specified map toward the front of the list by one, if it is not
41
// the first entry. Returns true if successful.
42
virtual
bool
lowerMapLayer(
DtPaperMap
* map);
43
44
// Modes the specified map toward the end of the list by one, if it is not
45
// already the last entry. Returns true if successful.
46
virtual
bool
raiseMapLayer(
DtPaperMap
* map);
47
48
// Removes the paper map record from the database
49
virtual
bool
removePaperMap(
DtPaperMap
* map);
50
51
private
:
52
// copy constructor - not implemented
53
DtPaperMapDatabase
(
const
DtPaperMapDatabase
& orig);
54
// assignment operator - not implemented
55
DtPaperMapDatabase
& operator=(
const
DtPaperMapDatabase
& rhs);
56
57
protected
:
58
59
DtFilename
myFilename
;
60
61
DtList*
myPaperMapList
;
62
63
};
64
65
#endif
Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (
www.mak.com
)