CGAL 5.3.1 - IO Streams
|
#include <CGAL/IO/io.h>
CGAL::IO_rep_is_not_specialized_aux< Dummy >.
The definition of Input_rep
is completely symmetric to Output_rep
.
Public Member Functions | |
Input_rep (T &tt) | |
initialize with a reference to t. | |
std::istream & | operator() (std::istream &in) const |
perform the input, calls operator>> by default. | |
Related Functions | |
(Note that these are not member functions.) | |
template<class T > | |
std::istream & | operator>> (std::istream &in, Input_rep< T > rep) |
stream input to the Input_rep calls its operator() . More... | |
|
related |
stream input to the Input_rep
calls its operator()
.
CGAL defines input operators for classes that are derived from the class istream
. This allows to read from istreams as std::cin
, as well as from std::istringstream
and std::ifstream
. The input operator is defined for all classes in the CGAL Kernel
.