OpenStructure
Public Member Functions | Protected Member Functions
BinaryIStream< CONVERSIONTYPE > Class Template Reference

#include <converting_streams.hh>

Inherits basic_istream< char >.

Public Member Functions

 BinaryIStream (std::basic_istream< char > &istr)
 
BinaryIStreamoperator>> (int8_t &value)
 
BinaryIStreamoperator>> (uint8_t &value)
 
BinaryIStreamoperator>> (int16_t &value)
 
BinaryIStreamoperator>> (uint16_t &value)
 
BinaryIStreamoperator>> (int32_t &value)
 
BinaryIStreamoperator>> (uint32_t &value)
 
BinaryIStreamoperator>> (int64_t &value)
 
BinaryIStreamoperator>> (uint64_t &value)
 
BinaryIStreamoperator>> (float &value)
 
BinaryIStreamoperator>> (double &value)
 
BinaryIStreamread (char *value, std::streamsize n)
 
BinaryIStreamread (uint8_t *value, std::streamsize n)
 
BinaryIStreamread (int8_t *value, std::streamsize n)
 
BinaryIStreamread (int16_t *value, std::streamsize n)
 
BinaryIStreamread (uint16_t *value, std::streamsize n)
 
BinaryIStreamread (int32_t *value, std::streamsize n)
 
BinaryIStreamread (uint32_t *value, std::streamsize n)
 
BinaryIStreamread (int64_t *value, std::streamsize n)
 
BinaryIStreamread (uint64_t *value, std::streamsize n)
 
BinaryIStreamread (float *value, std::streamsize n)
 
BinaryIStreamread (double *value, std::streamsize n)
 

Protected Member Functions

template<typename T >
BinaryIStreamread_helper (T *value, std::streamsize n)
 

Detailed Description

template<int CONVERSIONTYPE>
class ost::io::BinaryIStream< CONVERSIONTYPE >

Definition at line 149 of file converting_streams.hh.

Constructor & Destructor Documentation

◆ BinaryIStream()

BinaryIStream ( std::basic_istream< char > &  istr)
inline

Definition at line 152 of file converting_streams.hh.

Member Function Documentation

◆ operator>>() [1/10]

BinaryIStream& operator>> ( double &  value)
inline

Definition at line 193 of file converting_streams.hh.

◆ operator>>() [2/10]

BinaryIStream& operator>> ( float &  value)
inline

Definition at line 189 of file converting_streams.hh.

◆ operator>>() [3/10]

BinaryIStream& operator>> ( int16_t value)
inline

Definition at line 165 of file converting_streams.hh.

◆ operator>>() [4/10]

BinaryIStream& operator>> ( int32_t value)
inline

Definition at line 173 of file converting_streams.hh.

◆ operator>>() [5/10]

BinaryIStream& operator>> ( int64_t value)
inline

Definition at line 181 of file converting_streams.hh.

◆ operator>>() [6/10]

BinaryIStream& operator>> ( int8_t value)
inline

Definition at line 157 of file converting_streams.hh.

◆ operator>>() [7/10]

BinaryIStream& operator>> ( uint16_t value)
inline

Definition at line 169 of file converting_streams.hh.

◆ operator>>() [8/10]

BinaryIStream& operator>> ( uint32_t value)
inline

Definition at line 177 of file converting_streams.hh.

◆ operator>>() [9/10]

BinaryIStream& operator>> ( uint64_t value)
inline

Definition at line 185 of file converting_streams.hh.

◆ operator>>() [10/10]

BinaryIStream& operator>> ( uint8_t value)
inline

Definition at line 161 of file converting_streams.hh.

◆ read() [1/11]

BinaryIStream& read ( char *  value,
std::streamsize  n 
)
inline

Definition at line 198 of file converting_streams.hh.

◆ read() [2/11]

BinaryIStream& read ( double *  value,
std::streamsize  n 
)
inline

Definition at line 239 of file converting_streams.hh.

◆ read() [3/11]

BinaryIStream& read ( float *  value,
std::streamsize  n 
)
inline

Definition at line 235 of file converting_streams.hh.

◆ read() [4/11]

BinaryIStream& read ( int16_t value,
std::streamsize  n 
)
inline

Definition at line 211 of file converting_streams.hh.

◆ read() [5/11]

BinaryIStream& read ( int32_t value,
std::streamsize  n 
)
inline

Definition at line 219 of file converting_streams.hh.

◆ read() [6/11]

BinaryIStream& read ( int64_t value,
std::streamsize  n 
)
inline

Definition at line 227 of file converting_streams.hh.

◆ read() [7/11]

BinaryIStream& read ( int8_t value,
std::streamsize  n 
)
inline

Definition at line 207 of file converting_streams.hh.

◆ read() [8/11]

BinaryIStream& read ( uint16_t value,
std::streamsize  n 
)
inline

Definition at line 215 of file converting_streams.hh.

◆ read() [9/11]

BinaryIStream& read ( uint32_t value,
std::streamsize  n 
)
inline

Definition at line 223 of file converting_streams.hh.

◆ read() [10/11]

BinaryIStream& read ( uint64_t value,
std::streamsize  n 
)
inline

Definition at line 231 of file converting_streams.hh.

◆ read() [11/11]

BinaryIStream& read ( uint8_t value,
std::streamsize  n 
)
inline

Definition at line 203 of file converting_streams.hh.

◆ read_helper()

BinaryIStream& read_helper ( T *  value,
std::streamsize  n 
)
inlineprotected

Definition at line 246 of file converting_streams.hh.


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