![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2003 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: c7bAuxHeader.h,v $ $Revision: 1.8 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00009 // 00010 // File c7bHeader 00011 // 00012 00013 00014 #ifndef __DtC7bAuxHeader 00015 #define __DtC7bAuxHeader 00016 00017 #include "ctdb/ctdbDefines.h" 00018 #include <stdio.h> 00019 #include "ctdb/c7NetTypes.h" 00020 00021 class DtString; 00022 00023 // Class: DtC7bAuxHeader 00024 // 00025 // The class is public because should not be used but anyone else than 00026 // DtC7b. 00027 // 00028 00029 00030 class DT_DLL_ctdb DtC7bAuxHeader 00031 { 00032 public: 00033 00034 DtC7bAuxHeader(); 00035 ~DtC7bAuxHeader(); 00036 00037 int gcsMode(); 00038 bool hasGeoid(); 00039 00040 bool read(FILE *f); 00041 00042 // Puts the header into a string in a printable format 00043 void printDataToString(DtString& str); 00044 00045 DtC7NetU32 dbAuxFormat; 00046 DtC7NetInt32 cell_id; 00047 DtC7NetInt32 origin_x; 00048 DtC7NetInt32 origin_y; 00049 DtC7NetFloat64 west_long; 00050 DtC7NetFloat64 east_long; 00051 DtC7NetFloat64 south_lat; 00052 DtC7NetFloat64 north_lat; 00053 00054 }; 00055 00056 #endif