My Project
Public Member Functions | Public Attributes | List of all members
osl::misc::BinaryElementReader< T >::State< T > Struct Template Reference

Public Member Functions

 State (std::istream &is)
 
bool hasNext ()
 
read ()
 
void tryRead ()
 

Public Attributes

BinaryReader< T > reader
 
std::vector< T > data
 
size_t cur
 
bool failed
 

Detailed Description

template<class T>
template<class T>
struct osl::misc::BinaryElementReader< T >::State< T >

Definition at line 103 of file binaryIO.cc.

Constructor & Destructor Documentation

◆ State()

template<class T >
template<class T >
osl::misc::BinaryElementReader< T >::State< T >::State ( std::istream &  is)
inlineexplicit

Definition at line 109 of file binaryIO.cc.

Member Function Documentation

◆ hasNext()

template<class T >
template<class T >
bool osl::misc::BinaryElementReader< T >::State< T >::hasNext ( )
inline

Definition at line 112 of file binaryIO.cc.

◆ read()

template<class T >
template<class T >
T osl::misc::BinaryElementReader< T >::State< T >::read ( )
inline

Definition at line 117 of file binaryIO.cc.

References osl::misc::BinaryElementReader< T >::hasNext().

◆ tryRead()

template<class T >
template<class T >
void osl::misc::BinaryElementReader< T >::State< T >::tryRead ( )
inline

Member Data Documentation

◆ cur

template<class T >
template<class T >
size_t osl::misc::BinaryElementReader< T >::State< T >::cur

Definition at line 107 of file binaryIO.cc.

◆ data

template<class T >
template<class T >
std::vector<T> osl::misc::BinaryElementReader< T >::State< T >::data

Definition at line 106 of file binaryIO.cc.

◆ failed

template<class T >
template<class T >
bool osl::misc::BinaryElementReader< T >::State< T >::failed

Definition at line 108 of file binaryIO.cc.

◆ reader

template<class T >
template<class T >
BinaryReader<T> osl::misc::BinaryElementReader< T >::State< T >::reader

Definition at line 105 of file binaryIO.cc.


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