VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
18 
20 {
21 
22 public:
23 
24  // default constructor.
26 
27  // destructor
28  virtual ~DtVmapMetafileRecord() override;
29 
30  // copy constructor
32 
33  // assignment operator
35 
36  // Returns "vpf".
37  virtual DtString recordTypeName() const override;
38 
39  // Read self from stream.
40  virtual bool get(std::istream &stream) override;
41 
42  // identifies a token or passes it to the parent class.
43  virtual bool processToken(std::istream &stream, DtString &token) override;
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 override;
54  virtual bool getAttribute(const DtString attrName, DtString &value,
55  unsigned index = 0) override;
56  virtual bool setToken(const DtString &token, const DtString value) override;
57 
58 protected:
65 
69 
70 };
71 
72 #endif
73 
Definition: vectorDataRecord.h:24
static const DtString theParameterNECorner
Definition: vmapMetafileRecord.h:64
DtString myCurrentDatabasePath
Definition: vmapMetafileRecord.h:66
static const DtString theParameterLibrary
Definition: vmapMetafileRecord.h:60
virtual bool processToken(std::istream &stream, DtString &token) override
identifies a token or passes token the parent class.
DtString myCurrentFeatureClass
Definition: vmapMetafileRecord.h:68
DtVectorDataRecord & operator=(const DtVectorDataRecord &rhs)
static DtMetafileRecord * create()
static const DtString theParameterThematicLayer
Definition: vmapMetafileRecord.h:61
virtual bool writeAttributes(std::ostream &stream) const override
Write attributes to stream. This is called by put(stream)
static const DtString theParameterSWCorner
Definition: vmapMetafileRecord.h:63
static const DtString theParameterLibraryPath
Definition: vmapMetafileRecord.h:59
#define DT_DLL_terrainDbFactory
Definition: terrainDbFactoryDefines.h:23
voidpf stream
Definition: ioapi.h:39
virtual bool setToken(const DtString &token, const DtString value) override
identifies a token and returns true if the value can be set to it, false otherwise ...
Definition: metafileRecord.h:28
Definition: vmapMetafileRecord.h:19
virtual bool getAttribute(const DtString attrName, DtString &value, unsigned index=0) override
Given the name of a record&#39;s attribute, returns its value in the &#39;value&#39; parameter. Returns True if successful; false otherwise.
static const DtString theParameterFeatureClass
Definition: vmapMetafileRecord.h:62
DtString myCurrentThematicLayer
Definition: vmapMetafileRecord.h:67
virtual DtString recordTypeName() const override
Returns the type name for the particular record. Descendants should have this method return some stri...

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)