--- trunk/OOPSE/libmdtools/ReadWrite.hpp 2003/07/09 22:14:06 586 +++ trunk/OOPSE/libmdtools/ReadWrite.hpp 2003/07/17 21:50:01 637 @@ -62,6 +62,23 @@ class InitializeFromFile{ (private) SimInfo* simnfo; }; +class DumpReader{ + DumpReader( char *in_name ); + ~DumpReader(); + int getNframes(); + void getNextFrame(); + void getFrame(SimInfo* the_entry_plug, int whichFrame) + void rewind(); +private: + char* parseDumpLine(char* line, int atomIndex); + char* parseCommentLine(char* line, double time, double boxMat[9] ); + FILE *c_in_file; + char c_in_name[500]; + SimInfo* simnfo; +}; + +public: + #endif