VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
dtedMetafileRecord.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1998 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: dtedMfRec.h,v $ $Revision: 1.13 $ $State: Exp $
7 *******************************************************************************/
8 #ifndef dtedMetafileRecord_H_
9 #define dtedMetafileRecord_H_
10 
11 // \file dtedMfRec.h
12 // \brief Contains the DtDtedMetafileRecord class declaration.
13 
16 
17 // The dted metafile record has a list of individual dted files, and also a
18 // post spacing parameter, used to control the resolution of the map.
20 {
21 
22 public:
23 
24  // default constructor.
26 
27  // destructor
28  virtual ~DtDtedMetafileRecord();
29 
30  // copy constructor
32 
33  // assignment operator
35 
36  // Returns "dted".
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 protected:
48 
49  // Write self to stream.
50  virtual bool writeAttributes(std::ostream& stream) const;
51  virtual bool getAttribute(const DtString attrName, DtString& value, unsigned index=0);
52  virtual bool setToken(const DtString& token, const DtString value);
53 
54 protected:
55 
57  static const DtString theIsProjected;
58  static const DtString theProjection;
60  static const DtString theParameterFile;
61  static const DtString theLowColor;
62  static const DtString theHighColor;
66  static const DtString theOrigin;
70 
71 };
72 
73 #endif
74 

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)