#include <simcomponent.h>

Public Member Functions | |
| virtual void | store_data (BinaryStorageBuffer *saver)=0 |
| Interface to store the component data (e.g. gene values) into a binary buffer. | |
| virtual bool | retrieve_data (BinaryStorageBuffer *reader)=0 |
| Interface to retrieve the same data from the binary buffer. | |
| virtual | ~StorableComponent () |
This interface is used to save and load data from binary data files (serialization).
Definition at line 155 of file simcomponent.h.
| virtual StorableComponent::~StorableComponent | ( | ) | [inline, virtual] |
| virtual bool StorableComponent::retrieve_data | ( | BinaryStorageBuffer * | reader | ) | [pure virtual] |
Interface to retrieve the same data from the binary buffer.
Implemented in Metapop, TTDeletMutations_bitstring, TProtoDeletMutations_bitstring, TTDispersal, TProtoDispersal, TTNeutralGenes, TProtoNeutralGenes, TTWolbachia, and TProtoWolbachia.
| virtual void StorableComponent::store_data | ( | BinaryStorageBuffer * | saver | ) | [pure virtual] |
Interface to store the component data (e.g. gene values) into a binary buffer.
Implemented in Metapop, TTDeletMutations_bitstring, TProtoDeletMutations_bitstring, TTDispersal, TProtoDispersal, TTNeutralGenes, TProtoNeutralGenes, TTWolbachia, and TProtoWolbachia.
1.5.8 -- Nemo is hosted by