|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Default arc storage functor for binary and text modes. More...
#include <io_graph.H>
Public Member Functions | |
| void | operator() (std::ofstream &output, GT &g, typename GT::Arc *a) |
| Store arc to binary stream. | |
| void | operator() (std::ostream &output, GT &g, typename GT::Arc *a) |
| Store arc to text stream. | |
Default arc storage functor for binary and text modes.
Stores arc information by writing the raw bytes of get_info() to binary streams, or using operator<< for text streams.
| GT | Graph type |
Definition at line 186 of file io_graph.H.
|
inline |
Store arc to binary stream.
| output | Binary output stream |
| g | Reference to the graph (unused in default implementation) |
| a | Arc pointer to store |
Definition at line 193 of file io_graph.H.
References GTArcCommon< ArcInfo >::get_info(), Aleph::maps(), and output.
|
inline |
Store arc to text stream.
| output | Text output stream |
| g | Reference to the graph (unused in default implementation) |
| a | Arc pointer to store |
Definition at line 205 of file io_graph.H.
References GTArcCommon< ArcInfo >::get_info(), Aleph::maps(), and output.