yat  0.21pre
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

◆ BinaryIstreamIterator() [1/2]

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

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

◆ BinaryIstreamIterator() [2/2]

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 Wed Jan 25 2023 03:34:29 for yat by  doxygen 1.8.14