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
:
11
Checkpoint
();
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
Checkpoint
Definition:
checkpnt.h:9
Checkpoint::xdr
bool xdr(long &)
Checkpoint::Checkpoint
Checkpoint()
Checkpoint::instance
static Checkpoint * instance()
Checkpoint::~Checkpoint
virtual ~Checkpoint()
Checkpoint::xdr
bool xdr(Object *&)
Checkpoint::out
bool out()
Object
Definition:
hocdec.h:227
src
ivoc
checkpnt.h