checkpnt.h

Go to the documentation of this file.
00001 #ifndef checkpoint_h
00002 #define checkpoint_h
00003 
00004 #define CKPT(arg1,arg2) if (!arg1.xdr(arg2)) { return false;}
00005 
00006 class Checkpoint {
00007 public:
00008    Checkpoint();
00009    virtual ~Checkpoint();
00010       
00011    static Checkpoint* instance();
00012    
00013    boolean out(); // true means to file, false means from file
00014    boolean xdr(long&);
00015    boolean xdr(Object*&);
00016 };
00017 
00018 #endif
Generated on Mon Jun 13 08:10:23 2011 for NEURON by  doxygen 1.6.3