#include <serializable_handle_graph.hpp>
◆ ~SerializableHandleGraph()
virtual handlegraph::SerializableHandleGraph::~SerializableHandleGraph |
( |
| ) |
|
|
virtualdefault |
◆ deserialize()
void handlegraph::SerializableHandleGraph::deserialize |
( |
std::istream & |
in | ) |
|
|
inline |
Sets the contents of this graph to the contents of a serialized graph from an istream. The serialized graph must be from the same implementation of the HandleGraph interface as is calling deserialize(). Can only be called on an empty graph.
◆ deserialize_members()
virtual void handlegraph::SerializableHandleGraph::deserialize_members |
( |
std::istream & |
in | ) |
|
|
protectedpure virtual |
Underlying implementation to "deserialize" method.
◆ get_magic_number()
virtual uint32_t handlegraph::SerializableHandleGraph::get_magic_number |
( |
| ) |
const |
|
pure virtual |
Returns a number that is specific to the serialized implementation for type checking. Does not depend on the contents of any particular instantiation (i.e. behaves as if static, but cannot be static and virtual).
◆ serialize()
void handlegraph::SerializableHandleGraph::serialize |
( |
std::ostream & |
out | ) |
const |
|
inline |
Write the contents of this graph to an ostream. Makes sure to include a leading magic number.
Inline implementations
◆ serialize_members()
virtual void handlegraph::SerializableHandleGraph::serialize_members |
( |
std::ostream & |
out | ) |
const |
|
protectedpure virtual |
Underlying implementation for "serialize" method.
The documentation for this class was generated from the following file: