Base::InputStream Class Reference

The InputStream class provides reading of binary data from an istream. More...

#include <Stream.h>

Public Member Functions

 InputStream (std::istream &rin)
 
 operator bool () const
 
InputStreamoperator>> (bool &b)
 
InputStreamoperator>> (double &d)
 
InputStreamoperator>> (float &f)
 
InputStreamoperator>> (int16_t &s)
 
InputStreamoperator>> (int32_t &i)
 
InputStreamoperator>> (int64_t &l)
 
InputStreamoperator>> (int8_t &ch)
 
InputStreamoperator>> (uint16_t &us)
 
InputStreamoperator>> (uint32_t &ui)
 
InputStreamoperator>> (uint64_t &ul)
 
InputStreamoperator>> (uint8_t &uch)
 
 ~InputStream ()
 
- Public Member Functions inherited from Base::Stream
ByteOrder byteOrder () const
 
void setByteOrder (ByteOrder)
 

Additional Inherited Members

- Public Types inherited from Base::Stream
enum  ByteOrder { BigEndian , LittleEndian }
 
- Protected Member Functions inherited from Base::Stream
Streamoperator= (const Stream &)=default
 
 Stream ()
 
 Stream (const Stream &)=default
 
virtual ~Stream ()
 

Detailed Description

The InputStream class provides reading of binary data from an istream.

Author
Werner Mayer

Constructor & Destructor Documentation

◆ InputStream()

InputStream::InputStream ( std::istream &  rin)

◆ ~InputStream()

InputStream::~InputStream ( )

Member Function Documentation

◆ operator bool()

Base::InputStream::operator bool ( ) const

◆ operator>>() [1/11]

InputStream & InputStream::operator>> ( bool b)

◆ operator>>() [2/11]

InputStream & InputStream::operator>> ( double &  d)

◆ operator>>() [3/11]

InputStream & InputStream::operator>> ( float &  f)

◆ operator>>() [4/11]

InputStream & InputStream::operator>> ( int16_t &  s)

◆ operator>>() [5/11]

InputStream & InputStream::operator>> ( int32_t &  i)

◆ operator>>() [6/11]

InputStream & InputStream::operator>> ( int64_t &  l)

◆ operator>>() [7/11]

InputStream & InputStream::operator>> ( int8_t &  ch)

◆ operator>>() [8/11]

InputStream & InputStream::operator>> ( uint16_t &  us)

◆ operator>>() [9/11]

InputStream & InputStream::operator>> ( uint32_t &  ui)

◆ operator>>() [10/11]

InputStream & InputStream::operator>> ( uint64_t &  ul)

◆ operator>>() [11/11]

InputStream & InputStream::operator>> ( uint8_t &  uch)

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