![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 1998 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: c4bMfRec.h,v $ $Revision: 1.11 $ $State: Exp $ 00007 *******************************************************************************/ 00008 #ifndef c4bMfRec_H_ 00009 #define c4bMfRec_H_ 00010 00013 00014 #include "terrainDbFactory/terrainDbFactoryDefines.h" 00015 #include "terrainDbFactory/terrainMfRec.h" 00016 #include <iosfwd> 00017 00021 class DT_DLL_terrainDbFactory DtC4bMetafileRecord : public DtTerrainMetafileRecord 00022 { 00023 00024 public: 00025 00027 DtC4bMetafileRecord(); 00028 00030 virtual ~DtC4bMetafileRecord(); 00031 00033 DtC4bMetafileRecord(const DtC4bMetafileRecord& orig); 00034 00036 DtC4bMetafileRecord& operator=(const DtC4bMetafileRecord& orig); 00037 00039 virtual DtString recordTypeName() const; 00040 00042 virtual bool get(std::istream& stream); 00043 00045 virtual bool processToken(std::istream& stream, DtString& token); 00046 00047 static DtMetafileRecord* create(); 00048 00049 protected: 00050 00051 virtual bool writeAttributes(std::ostream& stream) const; 00052 00053 virtual bool getAttribute(const DtString attrName, DtString& value, unsigned index=0); 00054 00055 virtual bool setToken(const DtString& token, const DtString value); 00056 00057 protected: 00058 00059 static const DtString theParameterFile; 00060 00061 }; 00062 00063 #endif 00064