|
Nemo
2.4.0b
Simulate forward-in-time genetic evolution in a spatially explicit, individual-based stochastic simulator
|
Provides an interface to binary data saving and uploading. More...
#include <simcomponent.h>
Inheritance diagram for StorableComponent:Public Member Functions | |
| virtual void | store_data (BinaryStorageBuffer *saver)=0 |
| Interface to store the component data (e.g. gene values) into a binary buffer. More... | |
| virtual bool | retrieve_data (BinaryStorageBuffer *reader)=0 |
| Interface to retrieve the same data from the binary buffer. More... | |
| virtual | ~StorableComponent () |
Provides an interface to binary data saving and uploading.
This interface is used to save and load data from binary data files (serialization).
|
pure virtual |
Interface to retrieve the same data from the binary buffer.
Implemented in TProtoWolbachia, TTWolbachia, TTQuanti_diallelic_bitstring, TProtoQuanti, TTQuanti_diallelic, TTQuanti_continuous, TProtoNeutralGenes, TTNeutralGenes, TProtoDispersal, TTDispersal, TProtoDeletMutations_bitstring, TTDeletMutations_bitstring, TT_BDMI, TProtoBDMI, and Metapop.
Referenced by Metapop::read_trait().
|
pure virtual |
Interface to store the component data (e.g. gene values) into a binary buffer.
Implemented in TProtoWolbachia, TTWolbachia, TTQuanti_diallelic_bitstring, TProtoQuanti, TTQuanti_diallelic, TTQuanti_continuous, TProtoNeutralGenes, TTNeutralGenes, TProtoDispersal, TTDispersal, TProtoDeletMutations_bitstring, TTDeletMutations_bitstring, TT_BDMI, TProtoBDMI, and Metapop.
Referenced by Metapop::store_trait().
1.9.1 -- Nemo is hosted on