Public Member Functions | List of all members
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]

Public Member Functions

template<typename ODevice >
void action (interfaces::OutputTextStream< ODevice, true > &ostream)
 Forces an end of line character/flush combination. More...
 
virtual ~EndOfLine ()
 
- Public Member Functions inherited from ecl::Manipulator< EndOfLine >
void insert (interfaces::OutputTextStream< ODevice, true > &ostream)
 The static crtp virtual parent call. More...
 
virtual ~Manipulator ()
 

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 ( )
inlinevirtual

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:


xbot_driver
Author(s): Roc, wangpeng@droid.ac.cn
autogenerated on Sat Oct 10 2020 03:27:38