diff --git a/src/gitter_sti.h b/src/gitter_sti.h index c07ae1e1107ab52c9c32773f3ad7b5e3015cf276..1d17279ffd740416b98f7d097a4f573c3cfadc1b 100644 --- a/src/gitter_sti.h +++ b/src/gitter_sti.h @@ -1,5 +1,8 @@ /* $Id$ * $Log$ + * Revision 1.13 2005/03/18 19:52:40 robertk + * addeds backup and restore for XDRStream, dsoent work yet. + * * Revision 1.12 2005/01/19 18:26:24 robertk * removed warnings. * @@ -289,8 +292,12 @@ class Gitter { inline int leaf () const ; public : virtual bool coarse () = 0 ; - virtual void backup (ostream &) const = 0 ; + virtual void backup (ostream &) const = 0 ; virtual void restore (istream &) = 0 ; + + // new xdr methods + //virtual void backup (XDRstream_out &) const {}; + //virtual void restore (XDRstream_in &) {}; // Methode um einen Vertex zu verschieben; f"ur die Randanpassung virtual void projectInnerVertex(const ProjectVertex &pv) = 0; } ; @@ -312,8 +319,12 @@ class Gitter { inline int leaf () const ; public : virtual bool coarse () = 0 ; - virtual void backup (ostream &) const = 0 ; + virtual void backup (ostream &) const = 0 ; virtual void restore (istream &) = 0 ; + + //virtual void backup (XDRstream_out &) const {}; + //virtual void restore (XDRstream_in &) {}; + // Methode um einen Vertex zu verschieben; f"ur die Randanpassung virtual void projectVertex(const ProjectVertex &pv) = 0; } ; @@ -395,7 +406,10 @@ class Gitter { virtual void backupCMode (ostream &) const = 0 ; virtual void backup (ostream &) const = 0 ; virtual void restore (istream &) = 0 ; - + + // xdr methods + //virtual void backup (XDRstream_out &) const {}; + //virtual void restore (XDRstream_in &) {}; public: virtual grid_t type() = 0; } ; @@ -1192,10 +1206,16 @@ class Gitter { virtual void backupCMode (ostream &) ; virtual void backupCMode (const char*,const char *) ; virtual void backup (ostream &) ; + + virtual void backup (const char*,const char *) ; virtual void restore (istream &) ; virtual void restore (const char*,const char *) ; + // new xdr backup and restore method + virtual void backup (XDRstream_out &) ; + virtual void restore (XDRstream_in &) ; + protected: // return index manager of macro grid virtual IndexManagerType & indexManager (int codim ) = 0;