TextFileDatumWriter.h

Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 2004 CSIRO ICT Centre
00003  *
00004  * $Id: TextFileDatumWriter.h 587 2004-12-03 15:06:33Z nch $
00005  */
00006 
00007 /*
00008  * Writes the contents of an object to a file using the write method.
00009  *
00010  * The object is a Datum and is written to a text file. Useful for
00011  * debugging purposes.
00012  */
00013 
00014 #ifndef TEXTFILEDATUMWRITER_DEFINED
00015 #define TEXTFILEDATUMWRITER_DEFINED
00016 
00017 #include "FileHeader.h"
00018 #include "FileObjectWriter.h"
00019 
00020 class Object;
00021 
00022 
00023 class TextFileDatumWriter : public FileObjectWriter
00024 {
00025   public:
00026     TextFileDatumWriter();
00027     virtual ~TextFileDatumWriter() {};
00028     virtual void write(FILE * fp, Object const * object);
00029 
00030   private:
00031     TextFileDatumWriter(TextFileDatumWriter const & other);
00032     TextFileDatumWriter & operator=(TextFileDatumWriter const &);
00033 };
00034 
00035 #endif // ifndef TEXTFILEDATUMWRITER_DEFINED
00036 
Generated on Mon Oct 4 10:39:55 2010 for Matching.kdevelop by  doxygen 1.6.3