Public Member Functions
ecl::EndOfLine Class Reference

Replicates the well known end of line/flush combination. More...

#include <end_of_line.hpp>

Inheritance diagram for ecl::EndOfLine:
Inheritance graph
[legend]

List of all members.

Public Member Functions

template<typename ODevice >
void action (interfaces::OutputTextStream< ODevice, true > &ostream)
 Forces an end of line character/flush combination.
virtual ~EndOfLine ()

Detailed Description

Replicates the well known end of line/flush combination.

This replicates the well known std::endl function as an ecl class based manipulator. The library instantiates a variable of this class under the name 'endl', so you need only refer to ecl::streams::endl to directly use it with your streams.

See also:
Manipulator.

Definition at line 43 of file end_of_line.hpp.


Constructor & Destructor Documentation

virtual ecl::EndOfLine::~EndOfLine ( ) [inline, virtual]

Definition at line 60 of file end_of_line.hpp.


Member Function Documentation

template<typename ODevice >
void ecl::EndOfLine::action ( interfaces::OutputTextStream< ODevice, true > &  ostream) [inline]

Forces an end of line character/flush combination.

Forces an end of line character/flush combination.

Template Parameters:
OutputStream: the output stream type.
Parameters:
ostream: the stream to use for manipulation.

Definition at line 55 of file end_of_line.hpp.


The documentation for this class was generated from the following file:


ecl_streams
Author(s): Daniel Stonier
autogenerated on Wed Aug 26 2015 11:27:40