00001 #ifndef _SimulatorSystemHeader_h 00002 #define _SimulatorSystemHeader_h 00003 00004 #include <Common/File/SystemHeader.h> 00005 00006 //============================================================================== 00007 // $Id: SimulatorSystemHeader.h,v 1.2 2003/02/26 06:47:49 pfb Exp $ 00008 //============================================================================== 00009 00010 class SimulatorSystemHeader : public SystemHeader 00011 { 00012 //============================================================================ 00013 public: 00014 00015 /* 00016 * Construct a simulator header object. 00017 * @param file The file on which the header is constructed. 00018 */ 00019 SimulatorSystemHeader(); 00020 00021 /* 00022 * Dtor. 00023 */ 00024 ~SimulatorSystemHeader(); 00025 00026 /* 00027 * The header record size. 00028 * @return Always zero (bytes). 00029 */ 00030 off_t size() const; 00031 00032 /* 00033 * Since there is no header data for the simulator file this is a nop. 00034 * @param file The destination file. 00035 * @return Always true. 00036 */ 00037 bool write(const ACE_FILE_IO& file); 00038 00039 /* 00040 * Since there is no header data for the simulator file this is a nop. 00041 * @param file The destination file. 00042 * @return Always true. 00043 */ 00044 bool read(const ACE_FILE_IO& file); 00045 }; 00046 00047 00048 #endif