VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
fltMetafileRecord.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1998 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: fltMfRec.h,v $ $Revision: 1.17 $ $State: Exp $
7 *******************************************************************************/
8 #ifndef fltMetafileRecord_H_
9 #define fltMetafileRecord_H_
10 
11 // \file fltMfRec.h
12 // \brief Contains the DtFltMetafileRecord class declaration.
13 
16 #include <iosfwd>
17 
18 //
19 // DtFltMetafileRecord represents the parameters that can be specified in a
20 // DtFltMetafileRecord, usually in a .map file, which is used to specify how and
21 // what OpenFlight files to import into a terrain.
23 {
24 
25 public:
26 
27  // default constructor.
29 
30  // destructor
31  virtual ~DtFltMetafileRecord();
32 
33  // copy constructor
35 
36  // assignment operator
38 
39  // Returns "flt".
40  virtual DtString recordTypeName() const;
41 
42  // Read self from stream.
43  virtual bool get(std::istream& stream);
44 
45  // identifies a token or passes it to the parent class.
46  virtual bool processToken(std::istream& stream, DtString& token);
47 
48  static DtMetafileRecord* create();
49 
50 protected:
51 
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 
59  static const DtString theParameterFile;
62  static const DtString theDatumShift;
65  static const DtString theLodDistance;
68  static const DtString theUsePath;
70 };
71 
72 #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)