rili::stream::std::Writable Class Reference
Inheritance diagram for rili::stream::std::Writable:
[legend]
Collaboration diagram for rili::stream::std::Writable:
[legend]

Public Member Functions

 Writable (Writable &&other)=default
 
Writableoperator= (Writable &&other)=default
 
 Writable (::std::ostream &ostream)
 
inline::std::ostream & stream ()
 
inline::std::ostream const & stream () const
 
- Public Member Functions inherited from rili::stream::BufferingWritable
void write (char const *data, std::size_t size) override
 
std::exception_ptr flush () override
 
view::Base const & writableView () const override
 
- Public Member Functions inherited from rili::stream::Writable
void write (unsigned char const *data, std::size_t size)
 
Writableoperator<< (char v)
 
Writableoperator<< (unsigned char v)
 
Writableoperator<< (char const *v)
 
Writableoperator<< (unsigned char const *v)
 
Writableoperator<< (std::string const &v)
 
Writableoperator<< (short v)
 
Writableoperator<< (unsigned short v)
 
Writableoperator<< (long v)
 
Writableoperator<< (unsigned long v)
 
Writableoperator<< (long long v)
 
Writableoperator<< (unsigned long long v)
 
Writableoperator<< (int v)
 
Writableoperator<< (unsigned int v)
 
Writableoperator<< (float v)
 
Writableoperator<< (double v)
 
Writableoperator<< (bool v)
 
Writableoperator<< (void *v)
 
OperationResult operator<< (std::function< OperationResult(Writable &)> const &fn)
 
Writableoperator<< (Writer const &fn)
 

Additional Inherited Members

Constructor & Destructor Documentation

rili::stream::std::Writable::Writable ( Writable &&  other)
default

Writable.

Parameters
other
rili::stream::std::Writable::Writable ( ::std::ostream &  ostream)
inlineexplicit

Writable is used to construct Writable which as data sink use given std::ostream.

Parameters
ostreamstream to use

Member Function Documentation

Writable& rili::stream::std::Writable::operator= ( Writable &&  other)
default

operator=

Parameters
other
Returns
inline ::std::ostream& rili::stream::std::Writable::stream ( )
inline

stream used to get underlying stream

Returns
associated stream
inline ::std::ostream const& rili::stream::std::Writable::stream ( ) const
inline

stream used to get underlying stream

Returns
associated stream

The documentation for this class was generated from the following file:
  • rili/stream/StdWrappers.hpp