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

Public Member Functions

 Readable (Readable &&other)=default
 
Readableoperator= (Readable &&other)=default
 
 Readable (::std::istream &istream)
 
inline::std::istream & stream ()
 
inline::std::istream const & stream () const
 
- Public Member Functions inherited from rili::stream::BufferingReadable
void consume (std::size_t size) override
 
view::Base const & readableView () const override
 
std::exception_ptr pull (std::size_t count) override
 
- Public Member Functions inherited from rili::stream::Readable
void read (unsigned char *data, std::size_t size)
 
void read (char *data, std::size_t size)
 
void read (unsigned char &c)
 
void read (char &c)
 
OperationResult operator>> (char &v)
 
OperationResult operator>> (unsigned char &v)
 
OperationResult operator>> (short &v)
 
OperationResult operator>> (unsigned short &v)
 
OperationResult operator>> (long &v)
 
OperationResult operator>> (unsigned long &v)
 
OperationResult operator>> (long long &v)
 
OperationResult operator>> (unsigned long long &v)
 
OperationResult operator>> (int &v)
 
OperationResult operator>> (unsigned int &v)
 
OperationResult operator>> (float &v)
 
OperationResult operator>> (double &v)
 
OperationResult operator>> (bool &v)
 
OperationResult operator>> (void *&v)
 
OperationResult operator>> (std::string &v)
 
OperationResult operator>> (Reader const &fn)
 

Additional Inherited Members

Constructor & Destructor Documentation

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

Writable.

Parameters
other
rili::stream::std::Readable::Readable ( ::std::istream &  istream)
inlineexplicit

Readable is used to construct Readable which as data source use given std::ostream.

Parameters
istreamstream to use

Member Function Documentation

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

operator=

Parameters
other
Returns
inline ::std::istream& rili::stream::std::Readable::stream ( )
inline

stream used to get underlying stream

Returns
associated stream
inline ::std::istream const& rili::stream::std::Readable::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