NEURON
checkpnt.h
Go to the documentation of this file.
1 #ifndef checkpoint_h
2 #define checkpoint_h
3 
4 #define CKPT(arg1,arg2) if (!arg1.xdr(arg2)) { return false;}
5 
6 class Checkpoint {
7 public:
8  Checkpoint();
9  virtual ~Checkpoint();
10 
11  static Checkpoint* instance();
12 
13  bool out(); // true means to file, false means from file
14  bool xdr(long&);
15  bool xdr(Object*&);
16 };
17 
18 #endif
bool xdr(long &)
bool out()
static Checkpoint * instance()
Definition: hocdec.h:226
virtual ~Checkpoint()