vg
tools for working with variation graphs
Public Member Functions | List of all members
handlegraph::SerializableHandleGraph Class Referenceabstract

#include <handle_graph.hpp>

Inheritance diagram for handlegraph::SerializableHandleGraph:
vg::VG

Public Member Functions

virtual ~SerializableHandleGraph ()=default
 
virtual void serialize (std::ostream &out) const =0
 Write the contents of this graph to an ostream. More...
 
virtual void deserialize (std::istream &in)=0
 

Constructor & Destructor Documentation

◆ ~SerializableHandleGraph()

virtual handlegraph::SerializableHandleGraph::~SerializableHandleGraph ( )
virtualdefault

Member Function Documentation

◆ deserialize()

virtual void handlegraph::SerializableHandleGraph::deserialize ( std::istream &  in)
pure virtual

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 by an empty graph.

Implemented in vg::VG.

◆ serialize()

virtual void handlegraph::SerializableHandleGraph::serialize ( std::ostream &  out) const
pure virtual

Write the contents of this graph to an ostream.

Implemented in vg::VG.


The documentation for this class was generated from the following file: