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

#include <converting_streams.hh>

Inherits basic_ostream< char >.

Public Member Functions

 BinaryOStream (std::basic_ostream< char > &ostr)
 
BinaryOStreamoperator<< (const char &value)
 
BinaryOStreamoperator<< (const int8_t &value)
 
BinaryOStreamoperator<< (const uint8_t &value)
 
BinaryOStreamoperator<< (const int16_t &value)
 
BinaryOStreamoperator<< (const uint16_t &value)
 
BinaryOStreamoperator<< (const int32_t &value)
 
BinaryOStreamoperator<< (const uint32_t &value)
 
BinaryOStreamoperator<< (const int64_t &value)
 
BinaryOStreamoperator<< (const uint64_t &value)
 
BinaryOStreamoperator<< (const float &value)
 
BinaryOStreamoperator<< (const double &value)
 
BinaryOStreamwrite (const char *value, std::streamsize n)
 
BinaryOStreamwrite (const int8_t *value, std::streamsize n)
 
BinaryOStreamwrite (const uint8_t *value, std::streamsize n)
 
BinaryOStreamwrite (const int16_t *value, std::streamsize n)
 
BinaryOStreamwrite (const uint16_t *value, std::streamsize n)
 
BinaryOStreamwrite (const int32_t *value, std::streamsize n)
 
BinaryOStreamwrite (const uint32_t *value, std::streamsize n)
 
BinaryOStreamwrite (const int64_t *value, std::streamsize n)
 
BinaryOStreamwrite (const uint64_t *value, std::streamsize n)
 
BinaryOStreamwrite (const float *value, std::streamsize n)
 
BinaryOStreamwrite (const double *value, std::streamsize n)
 

Protected Member Functions

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

Detailed Description

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

Definition at line 34 of file converting_streams.hh.

Constructor & Destructor Documentation

◆ BinaryOStream()

BinaryOStream ( std::basic_ostream< char > &  ostr)
inline

Definition at line 37 of file converting_streams.hh.

Member Function Documentation

◆ operator<<() [1/11]

BinaryOStream& operator<< ( const char &  value)
inline

Definition at line 42 of file converting_streams.hh.

◆ operator<<() [2/11]

BinaryOStream& operator<< ( const double &  value)
inline

Definition at line 83 of file converting_streams.hh.

◆ operator<<() [3/11]

BinaryOStream& operator<< ( const float &  value)
inline

Definition at line 79 of file converting_streams.hh.

◆ operator<<() [4/11]

BinaryOStream& operator<< ( const int16_t value)
inline

Definition at line 55 of file converting_streams.hh.

◆ operator<<() [5/11]

BinaryOStream& operator<< ( const int32_t value)
inline

Definition at line 63 of file converting_streams.hh.

◆ operator<<() [6/11]

BinaryOStream& operator<< ( const int64_t value)
inline

Definition at line 71 of file converting_streams.hh.

◆ operator<<() [7/11]

BinaryOStream& operator<< ( const int8_t value)
inline

Definition at line 47 of file converting_streams.hh.

◆ operator<<() [8/11]

BinaryOStream& operator<< ( const uint16_t value)
inline

Definition at line 59 of file converting_streams.hh.

◆ operator<<() [9/11]

BinaryOStream& operator<< ( const uint32_t value)
inline

Definition at line 67 of file converting_streams.hh.

◆ operator<<() [10/11]

BinaryOStream& operator<< ( const uint64_t value)
inline

Definition at line 75 of file converting_streams.hh.

◆ operator<<() [11/11]

BinaryOStream& operator<< ( const uint8_t value)
inline

Definition at line 51 of file converting_streams.hh.

◆ write() [1/11]

BinaryOStream& write ( const char *  value,
std::streamsize  n 
)
inline

Definition at line 88 of file converting_streams.hh.

◆ write() [2/11]

BinaryOStream& write ( const double *  value,
std::streamsize  n 
)
inline

Definition at line 130 of file converting_streams.hh.

◆ write() [3/11]

BinaryOStream& write ( const float *  value,
std::streamsize  n 
)
inline

Definition at line 125 of file converting_streams.hh.

◆ write() [4/11]

BinaryOStream& write ( const int16_t value,
std::streamsize  n 
)
inline

Definition at line 101 of file converting_streams.hh.

◆ write() [5/11]

BinaryOStream& write ( const int32_t value,
std::streamsize  n 
)
inline

Definition at line 109 of file converting_streams.hh.

◆ write() [6/11]

BinaryOStream& write ( const int64_t value,
std::streamsize  n 
)
inline

Definition at line 117 of file converting_streams.hh.

◆ write() [7/11]

BinaryOStream& write ( const int8_t value,
std::streamsize  n 
)
inline

Definition at line 93 of file converting_streams.hh.

◆ write() [8/11]

BinaryOStream& write ( const uint16_t value,
std::streamsize  n 
)
inline

Definition at line 105 of file converting_streams.hh.

◆ write() [9/11]

BinaryOStream& write ( const uint32_t value,
std::streamsize  n 
)
inline

Definition at line 113 of file converting_streams.hh.

◆ write() [10/11]

BinaryOStream& write ( const uint64_t value,
std::streamsize  n 
)
inline

Definition at line 121 of file converting_streams.hh.

◆ write() [11/11]

BinaryOStream& write ( const uint8_t value,
std::streamsize  n 
)
inline

Definition at line 97 of file converting_streams.hh.

◆ write_helper()

BinaryOStream& write_helper ( const T *  value,
std::streamsize  n 
)
inlineprotected

Definition at line 137 of file converting_streams.hh.


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