"Fossies" - the Fresh Open Source Software Archive

Member "doc_html/Stream_support/group__IOstreamOperators.html" (25 Feb 2020, 14544 Bytes) of package /linux/misc/CGAL-4.14.3-doc_html.tar.xz:


Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. You can here alternatively try to browse the pure source code or just view or download the uninterpreted raw source code. If the rendering is insufficient you may try to find and view the page on the CGAL-4.14.3-doc_html.tar.xz project site itself.

\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)

CGAL 4.14.3 - IO Streams
Stream Operators

Functions

ostream & CGAL::operator<< (ostream &os, Class c)
 Inserts object c in the stream os. More...
 
istream & CGAL::operator>> (istream &is, Class c)
 CGAL defines input operators for classes that are derived from the class istream. More...
 

Function Documentation

◆ operator
ostream& CGAL::operator<< ( ostream &  os,
Class  c 
)

#include <CGAL/IO/io.h>

Inserts object c in the stream os.

Returns os.

CGAL defines output operators for classes that are derived from the class ostream. This allows to write to ostreams as cout or cerr, as well as to std::ostringstream and std::ofstream. The output operator is defined for all classes in the CGAL Kernel and for the class Color as well.

See also
CGAL::set_mode()
CGAL::set_ascii_mode()
CGAL::set_binary_mode()
CGAL::set_pretty_mode()
CGAL::get_mode()
CGAL::is_ascii()
CGAL::is_binary()
CGAL::is_pretty()

◆ operator>>()

istream& CGAL::operator>> ( istream &  is,
Class  c 
)

#include <CGAL/IO/io.h>

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.

See also
CGAL::set_mode()
CGAL::set_ascii_mode()
CGAL::set_binary_mode()
CGAL::set_pretty_mode()
CGAL::get_mode()
CGAL::is_ascii()
CGAL::is_binary()
CGAL::is_pretty()