VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
paperMapDatabase.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2025 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 
13 #include <vlutil/vlFilename.h>
14 
15 class DtList;
16 class DtPaperMap;
17 
18 // class DtPaperMapDatabase
19 
21 {
22 
23 public:
24 
25  // default constructor.
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
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
const char * filename
Definition: ioapi.h:38
DtFilename myFilename
Definition: paperMapDatabase.h:59
Definition: paperMapDatabase.h:20
Definition: paperMap.h:31
#define DT_DLL_terrainDbFactory
Definition: terrainDbFactoryDefines.h:23
DT_DLL_DEBUGDRAWRENDERER void init(makVrv::DtDe &de)
Work function for the plugin initialization.
DtList * myPaperMapList
Definition: paperMapDatabase.h:61

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)