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

#include <binaryIO.h>

Classes

struct  State
 

Public Member Functions

 BinaryElementReader (std::istream &is)
 
 ~BinaryElementReader ()
 
read ()
 
bool hasNext () const
 
bool failed () const
 

Private Attributes

std::unique_ptr< Statestate
 

Detailed Description

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

Definition at line 33 of file binaryIO.h.

Constructor & Destructor Documentation

◆ BinaryElementReader()

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

Definition at line 141 of file binaryIO.cc.

◆ ~BinaryElementReader()

template<class T >
osl::misc::BinaryElementReader< T >::~BinaryElementReader ( )

Definition at line 146 of file binaryIO.cc.

Member Function Documentation

◆ failed()

template<class T >
bool osl::misc::BinaryElementReader< T >::failed ( ) const

◆ hasNext()

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

◆ read()

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

Definition at line 162 of file binaryIO.cc.

Referenced by osl::move_probability::FeatureSet::load_binary().

Member Data Documentation

◆ state

template<class T >
std::unique_ptr<State> osl::misc::BinaryElementReader< T >::state
private

Definition at line 44 of file binaryIO.h.


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