|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Default arc loading functor for binary and text modes. More...
#include <io_graph.H>
Public Member Functions | |
| void | operator() (std::ifstream &input, GT &g, typename GT::Arc *a) |
| Load arc from binary stream. | |
| void | operator() (std::istream &input, GT &g, typename GT::Arc *a) |
| Load arc from text stream. | |
Default arc loading functor for binary and text modes.
Loads arc information by reading raw bytes from binary streams, or using operator>> for text streams.
| GT | Graph type |
Definition at line 256 of file io_graph.H.
|
inline |
Load arc from binary stream.
| input | Binary input stream |
| g | Reference to the graph (unused in default implementation) |
| a | Arc pointer to load into |
Definition at line 263 of file io_graph.H.
References GTArcCommon< ArcInfo >::get_info(), and Aleph::maps().
|
inline |
Load arc from text stream.
| input | Text input stream |
| g | Reference to the graph (unused in default implementation) |
| a | Arc pointer to load into |
Definition at line 275 of file io_graph.H.
References GTArcCommon< ArcInfo >::get_info(), and Aleph::maps().