![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /********************************************************************* 00002 ** Copyright (c) 1998 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 /********************************************************************* 00006 ** $RCSfile: serGeodCrdSys.h,v $ $Revision: 1.6 $ $State: Exp $ 00007 *********************************************************************/ 00008 #ifndef serGeodCrdSys_H_ 00009 #define serGeodCrdSys_H_ 00010 00011 // 00012 // \file serGeodCrdSys.h Contains the serializable geodetic coordinate system class declaration. 00013 // 00014 00015 #include "terrainCS/terrainCSDefines.h" 00016 #include <stdio.h> 00017 #include "tdbutil/serializ.h" 00018 #include "terrainCS/geodCrdSys.h" 00019 00020 // 00021 // DtSerializableGeodeticCS is a serializable version of the DtGeodeticCS. 00022 // 00023 class DT_DLL_terrainCS DtSerializableGeodeticCS : public DtGeodeticCS, public DtSerializable 00024 { 00025 public: 00026 // constructor 00027 DtSerializableGeodeticCS(); 00028 00029 // constructor 00030 DtSerializableGeodeticCS(FILE* fp); 00031 00032 // copy constructor 00033 DtSerializableGeodeticCS(const DtSerializableGeodeticCS& orig); 00034 00035 // destructor 00036 virtual ~DtSerializableGeodeticCS(); 00037 00038 // assignment operator 00039 DtSerializableGeodeticCS& operator=(const DtSerializableGeodeticCS& orig); 00040 00041 // Clone operator 00042 virtual Coordinate_System* clone() const; 00043 00044 // Read from the specified file handle. 00045 virtual bool readFrom(FILE* fp); 00046 00047 // Write to the specified file handle. 00048 virtual bool writeTo(FILE* fp); 00049 }; 00050 00051 00052 #endif