ROSE 0.11.145.147
Functions
Rose::GraphUtility Namespace Reference

Description

Graph utilities.

Functions

template<class Graph >
void serialize (std::ostream &output, Graph &graph)
 Serialize a graph into a stream of bytes.
 
template<class Graph >
void deserialize (std::istream &input, Graph &graph)
 

Function Documentation

◆ serialize()

template<class Graph >
void Rose::GraphUtility::serialize ( std::ostream &  output,
Graph &  graph 
)

Serialize a graph into a stream of bytes.

Note that there are other ways to do this, since Sawyer::Container::Graph supports boost::serialization.

Definition at line 17 of file GraphUtility.h.

References serialize().

Referenced by serialize().

◆ deserialize()

template<class Graph >
void Rose::GraphUtility::deserialize ( std::istream &  input,
Graph &  graph 
)

Definition at line 45 of file GraphUtility.h.