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