|
Nemo
2.2.0
|
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. | |
| virtual bool | retrieve_data (BinaryStorageBuffer *reader)=0 |
| Interface to retrieve the same data from the binary buffer. | |
| 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).
Definition at line 155 of file simcomponent.h.
| virtual StorableComponent::~StorableComponent | ( | ) | [inline, virtual] |
Definition at line 163 of file simcomponent.h.
{ }
| virtual bool StorableComponent::retrieve_data | ( | BinaryStorageBuffer * | reader | ) | [pure virtual] |
Interface to retrieve the same data from the binary buffer.
Implemented in Metapop, TProtoDeletMutations_bitstring, TProtoNeutralGenes, TProtoQuanti, TTDeletMutations_bitstring, TTNeutralGenes, TProtoWolbachia, TProtoDispersal, TTDispersal, TTQuanti, and TTWolbachia.
| 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, TProtoDeletMutations_bitstring, TProtoNeutralGenes, TProtoQuanti, TTDeletMutations_bitstring, TProtoWolbachia, TTNeutralGenes, TProtoDispersal, TTDispersal, TTQuanti, and TTWolbachia.
1.7.5.1 -- Nemo is hosted by