VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
dfadMetafileRecord.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1998 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: dfadRec.h,v $ $Revision: 1.12 $ $State: Exp $
7 *******************************************************************************/
8 #ifndef dfadMetafileRecord_H_
9 #define dfadMetafileRecord_H_
10 
11 // \file dfadRec.h
12 // \brief Contains the DtDfadMetafileRecord class declaration.
15 #include <iosfwd>
16 
17 //
18 // DtDfadMetafileRecord represents the parameters that can be specified in a
19 // DfadMetafileRecord, usually in a .map file, which is used to specify how and
20 // what dfad files to import into a terrain.
22 {
23 
24 public:
25 
26  // default constructor.
28 
29  // destructor
30  virtual ~DtDfadMetafileRecord();
31 
32  // copy constructor
34 
35  // assignment operator
37 
38  // Returns "dfad".
39  virtual DtString recordTypeName() const;
40 
41  // Read self from stream.
42  virtual bool get(std::istream& stream);
43 
44  // identifies a token or passes it to the parent class.
45  virtual bool processToken(std::istream& stream, DtString& token);
46 
47  static DtMetafileRecord* create();
48 
49 protected:
50 
51  // Write self to stream.
52  virtual bool writeAttributes(std::ostream& stream) const;
53  virtual bool getAttribute(const DtString attrName, DtString& value, unsigned index=0);
54  virtual bool setToken(const DtString& token, const DtString value);
55 
56 protected:
57 
65  static const DtString theDatumShift;
68 };
69 
70 #endif
71 

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)