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