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 | |
InputStream & | operator>> (bool &b) |
InputStream & | operator>> (double &d) |
InputStream & | operator>> (float &f) |
InputStream & | operator>> (int16_t &s) |
InputStream & | operator>> (int32_t &i) |
InputStream & | operator>> (int64_t &l) |
InputStream & | operator>> (int8_t &ch) |
InputStream & | operator>> (uint16_t &us) |
InputStream & | operator>> (uint32_t &ui) |
InputStream & | operator>> (uint64_t &ul) |
InputStream & | operator>> (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 | |
Stream () | |
virtual | ~Stream () |
Detailed Description
The InputStream class provides reading of binary data from an istream.
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:
- src/Base/Stream.h
- src/Base/Stream.cpp