Navigation: Up, Table of Contents, Bibliography, Index, Title Page

Stream Iterator (CGAL_Ostream_iterator)

Definition

The class CGAL_Ostream_iterator<T,Stream> is an output iterator adaptor for the output stream class Stream and value type T.

#include <CGAL/IO/Ostream_iterator.h>

Creation

CGAL_Ostream_iterator<T,Stream> o ( Stream& s);
creates an output iterator o writing to s.

Operations

o fulfills the requirements for an output iterator.

Implementation

The operator*() in class CGAL_Ostream_iterator<T,Stream> uses a proxy class.


Next: Class declaration of CGAL_Istream_iterator<T,Stream>
Navigation: Up, Table of Contents, Bibliography, Index, Title Page
The CGAL Project. 22 January 1999.