00001 /*************************************************************************** 00002 serializable.h - description 00003 ------------------- 00004 begin : Tue Jul 15 2003 00005 copyright : (C) 2003 by Onur Soysal 00006 email : soysal@ceng.metu.edu.tr 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef SERIALIZABLE_H 00019 #define SERIALIZABLE_H 00020 #include <stdio.h> 00021 00022 00027 class Serializable { 00028 public: 00029 Serializable(); 00030 virtual ~Serializable(); 00031 virtual void Serialize(FILE *f) =0; 00032 virtual void Deserialize(FILE *f) =0; 00033 }; 00034 00035 #endif
1.2.18