yat  0.18pre
Public Member Functions | Friends | List of all members
theplu::yat::utility::BinaryIstreamIterator< T > Class Template Reference

#include <yat/utility/BinaryIstreamIterator.h>

Inheritance diagram for theplu::yat::utility::BinaryIstreamIterator< T >:

Public Member Functions

 BinaryIstreamIterator (void)
 
 BinaryIstreamIterator (std::istream &is)
 Constructor. More...
 

Friends

class boost::iterator_core_access
 

Detailed Description

template<typename T>
class theplu::yat::utility::BinaryIstreamIterator< T >

An Iterator that can be used to extract data in binary format from a stream into a range of T. BinaryIstreamIterator models an Input Iterator and an Lvalue Iterator (reference_type is const T&).

T is expected to be a native numerical type.

Since
New in yat 0.18

Constructor & Destructor Documentation

template<typename T>
theplu::yat::utility::BinaryIstreamIterator< T >::BinaryIstreamIterator ( void  )
inline

Create an end-of-stream iterator. Note, iterator is not dereferencable.

template<typename T>
theplu::yat::utility::BinaryIstreamIterator< T >::BinaryIstreamIterator ( std::istream &  is)
inlineexplicit

Constructor.

Parameters
isistream to read data from.

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

Generated on Sun Sep 27 2020 02:26:14 for yat by  doxygen 1.8.11