64class LASS_DLL BinaryIStream:
public BinaryStreamBase
70 pos_type tellg()
const;
71 BinaryIStream& seekg(pos_type position);
72 BinaryIStream& seekg(off_type offset, std::ios_base::seekdir direction);
74#if !defined(LASS_HAVE_STDINT_H_INT8_T_IS_CHAR)
75 BinaryIStream& operator>>(
char& x );
77 BinaryIStream& operator>>( num::Tint8& x );
78 BinaryIStream& operator>>( num::Tuint8& x );
79 BinaryIStream& operator>>( num::Tint16& x );
80 BinaryIStream& operator>>( num::Tuint16& x );
81 BinaryIStream& operator>>( num::Tint32& x );
82 BinaryIStream& operator>>( num::Tuint32& x );
83 BinaryIStream& operator>>( num::Tint64& x );
84 BinaryIStream& operator>>( num::Tuint64& x );
85 BinaryIStream& operator>>( num::Tfloat32& x );
86 BinaryIStream& operator>>( num::Tfloat64& x );
87 BinaryIStream& operator>>(
bool& x );
88 BinaryIStream& operator>>(
void*& x );
90 BinaryIStream& operator>>( std::string& out );
91#if LASS_HAVE_WCHAR_SUPPORT
92 BinaryIStream& operator>>( std::wstring& out );
94 template <
typename T> BinaryIStream& operator>>( std::vector<T>& out );
95 template <
typename T> BinaryIStream& operator>>( std::complex<T>& out );
97 size_t read(
void* out,
size_t numberOfBytes);
101 template <
typename T> BinaryIStream& readValue(T& x);
103 virtual pos_type doTellg()
const = 0;
104 virtual void doSeekg(pos_type position) = 0;
105 virtual void doSeekg(off_type offset, std::ios_base::seekdir direction) = 0;
106 virtual size_t doRead(
void* out,
size_t numberOfBytes) = 0;