VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
metaFlightMetafileRecord.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2006 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: mftMfRec.h,v $ $Revision: 1.2 $ $State: Exp $
7 ** Created: 5/4/06 JAT, Updated: 5/4/06
8 *******************************************************************************/
9 #ifndef metaFlightMetafileRecord_H_
10 #define metaFlightMetafileRecord_H_
11 
14 
15 
16 // Use this metafile record to define terrain database in MetaFlight format
18 {
19 
20 public:
21 
22  // default constructor.
24 
25  // destructor
26  virtual ~DtMetaFlightMetafileRecord();
27 
28  // copy constructor
30 
31  // assignment operator
33 
34  // Returns "mft".
35  virtual DtString recordTypeName() const;
36 
37  // Read self from stream.
38  virtual bool get(std::istream& stream);
39 
40  // identifies a token or passes it to the parent class.
41  virtual bool processToken(std::istream& stream, DtString& token);
42 
43  static DtMetafileRecord* create();
44 
45 protected:
46  // Write self to stream
47  virtual bool writeAttributes(std::ostream& stream) const;
48  virtual bool getAttribute(const DtString attrName, DtString& value, unsigned index=0);
49  virtual bool setToken(const DtString& token, const DtString value);
50 protected:
51 
52  static const DtString theParameterFile;
53 
54 };
55 
56 #endif
57 

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)