00001 /* 00002 * Copyright (c) 2004 CSIRO ICT Centre 00003 * 00004 * $Id: BinaryFileDatumReader.h 587 2004-12-03 15:06:33Z nch $ 00005 */ 00006 00007 /* 00008 * Reads the contents of an object to a file using the read method. 00009 * 00010 * The object is a Datum and is read from a binary file. 00011 */ 00012 00013 #ifndef BINARYFILEDATUMREADER_DEFINED 00014 #define BINARYFILEDATUMREADER_DEFINED 00015 00016 #include "FileObjectReader.h" 00017 #include "FileHeader.h" 00018 00019 class Object; 00020 00021 00022 class BinaryFileDatumReader : public FileObjectReader 00023 { 00024 public: 00025 BinaryFileDatumReader(); 00026 virtual ~BinaryFileDatumReader() {}; 00027 virtual Object * read(FILE * fp); 00028 00029 private: 00030 BinaryFileDatumReader(BinaryFileDatumReader const & other); 00031 BinaryFileDatumReader & operator=(BinaryFileDatumReader const &); 00032 }; 00033 00034 #endif // ifndef BINARYFILEDATUMREADER_DEFINED 00035