All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Pages
Public Types | Public Member Functions | List of all members
paal::pretty_stream< Stream > Struct Template Reference

pretty_stream stream that uses pretty_to_string method More...

#include <pretty_stream.hpp>

Public Types

using Manipulator = Stream &(Stream &)
 

Public Member Functions

 pretty_stream (Stream &stream, double epsilon=1e-9)
 constructor More...
 
std::string pretty_to_string (double x, double epsilon=1e-9)
 pretty_to_string for double More...
 
template<typename T >
pretty_stream< Stream > & operator<< (T &&t)
 operator<< generic More...
 
pretty_stream< Stream > & operator<< (Manipulator m)
 operator<< for manipulators More...
 

Detailed Description

template<typename Stream>
struct paal::pretty_stream< Stream >

pretty_stream stream that uses pretty_to_string method

Template Parameters
Stream

Definition at line 60 of file pretty_stream.hpp.

Constructor & Destructor Documentation

template<typename Stream>
paal::pretty_stream< Stream >::pretty_stream ( Stream &  stream,
double  epsilon = 1e-9 
)
inline

constructor

Parameters
stream
epsilon

Definition at line 67 of file pretty_stream.hpp.

Member Function Documentation

template<typename Stream>
template<typename T >
pretty_stream<Stream>& paal::pretty_stream< Stream >::operator<< ( T &&  t)
inline

operator<< generic

Template Parameters
T
Parameters
t
Returns

Definition at line 99 of file pretty_stream.hpp.

template<typename Stream>
pretty_stream<Stream>& paal::pretty_stream< Stream >::operator<< ( Manipulator  m)
inline

operator<< for manipulators

Parameters
m
Returns

Definition at line 113 of file pretty_stream.hpp.

template<typename Stream>
std::string paal::pretty_stream< Stream >::pretty_to_string ( double  x,
double  epsilon = 1e-9 
)
inline

pretty_to_string for double

Parameters
x
epsilon
Returns

Definition at line 80 of file pretty_stream.hpp.


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