VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
3DViewMetafileRecord.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1998 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: 3DViewMfRec.h,v $ $Revision: 1.1 $ $State: Exp $
7 ** Created: 11/25/07 JAT, Updated:
8 *******************************************************************************/
9 #ifndef ThreeDViewMfRec_H_
10 #define ThreeDViewMfRec_H_
11 
14 
15 // The Dt3DViewMetafileRecord record specifies the terrain file(s) to load by 3DVRForces.
17 {
18 
19 public:
20 
23 
25  virtual ~Dt3DViewMetafileRecord();
26 
29 
32 
34  virtual DtString recordTypeName() const;
35 
37  virtual DtConfigCategoryType recordCategory() const;
38 
40  virtual const DtFilename& filename() const;
41 
43  virtual void setFilename(const DtFilename & name);
44 
46  virtual bool get(std::istream& stream);
47 
49  virtual bool processToken(std::istream& stream, DtString& token);
50 
51  static DtMetafileRecord* create();
52 
53 protected:
54 
55  // Write self to stream.
56  virtual bool writeAttributes(std::ostream& stream) const;
57  virtual bool getAttribute(const DtString attrName, DtString& value, unsigned index=0);
58  virtual bool setToken(const DtString& token, const DtString value);
59 
60 protected:
61 
62  static const DtString theParameterFile;
63  DtFilename myFile;
64 
65 };
66 
67 #endif
68 

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)