Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

StateSaver Class Reference

#include <binarysave.h>

Inheritance diagram for StateSaver:

Inheritance graph
[legend]
List of all members.

Detailed Description

Abstract base class for writing a state to a file when that state is directly accessible to this class (e.g. if the class is a friend of the classes to be saved, or if it is in global variables.).

This class exists only for backwards compatibility with old LISSOM code. Avoid using it if possible, instead using something with a thin interface based e.g. on a series of calls for different Matrix arguments.

All but write should be able to be const member functions, but that may take some work.

Definition at line 37 of file binarysave.h.

Public Methods

virtual int read (FILE *infile)=0
 Write state to the given file.

virtual int write (FILE *outfile)=0
 Read state from the given file.

virtual void display_as_text (FILE *infile)=0
 Write a readable representation of the given file to stdout.


The documentation for this class was generated from the following file:
Generated on Mon Jan 20 02:37:23 2003 for RF-LISSOM by doxygen1.3-rc2