CGAL 5.5.2 - IO Streams
CGAL::Input_rep< T > Class Template Reference

#include <CGAL/IO/io.h>

Inherits from

CGAL::IO_rep_is_not_specialized_aux< Dummy >.

Definition

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 &is) 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 &is, Input_rep< T > rep)
 stream input to the Input_rep calls its operator(). More...
 

Friends And Related Function Documentation

◆ operator>>()

template<class T >
std::istream & operator>> ( std::istream &  is,
Input_rep< T >  rep 
)
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.