scnlib  0.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
scn::detail::cfile_iterator< CharT > Class Template Reference

#include <file.h>

Public Types

using char_type = CharT
 
using value_type = expected< CharT >
 
using reference = value_type &
 
using pointer = value_type *
 
using difference_type = std::ptrdiff_t
 
using iterator_category = std::input_iterator_tag
 

Public Member Functions

 cfile_iterator ()=default
 
 cfile_iterator (const basic_file< CharT > *f)
 
expected< CharT > operator* () const
 
const cfile_iteratoroperator++ () const
 
bool valid () const
 
bool operator== (const cfile_iterator &o) const
 
bool operator!= (const cfile_iterator &o) const
 
const basic_file< CharT > & file () const
 

Detailed Description

template<typename CharT>
class scn::detail::cfile_iterator< CharT >

Definition at line 145 of file file.h.

Member Typedef Documentation

template<typename CharT>
using scn::detail::cfile_iterator< CharT >::char_type = CharT

Definition at line 147 of file file.h.

template<typename CharT>
using scn::detail::cfile_iterator< CharT >::difference_type = std::ptrdiff_t

Definition at line 151 of file file.h.

template<typename CharT>
using scn::detail::cfile_iterator< CharT >::iterator_category = std::input_iterator_tag

Definition at line 152 of file file.h.

template<typename CharT>
using scn::detail::cfile_iterator< CharT >::pointer = value_type*

Definition at line 150 of file file.h.

template<typename CharT>
using scn::detail::cfile_iterator< CharT >::reference = value_type&

Definition at line 149 of file file.h.

template<typename CharT>
using scn::detail::cfile_iterator< CharT >::value_type = expected<CharT>

Definition at line 148 of file file.h.

Constructor & Destructor Documentation

template<typename CharT>
scn::detail::cfile_iterator< CharT >::cfile_iterator ( )
default
template<typename CharT>
scn::detail::cfile_iterator< CharT >::cfile_iterator ( const basic_file< CharT > *  f)
inline

Definition at line 155 of file file.h.

Member Function Documentation

template<typename CharT>
const basic_file<CharT>& scn::detail::cfile_iterator< CharT >::file ( ) const
inline

Definition at line 177 of file file.h.

template<typename CharT>
bool scn::detail::cfile_iterator< CharT >::operator!= ( const cfile_iterator< CharT > &  o) const
inline

Definition at line 172 of file file.h.

template<typename CharT>
expected<CharT> scn::detail::cfile_iterator< CharT >::operator* ( ) const
template<typename CharT>
const cfile_iterator& scn::detail::cfile_iterator< CharT >::operator++ ( ) const
inline

Definition at line 158 of file file.h.

template<typename CharT>
bool scn::detail::cfile_iterator< CharT >::operator== ( const cfile_iterator< CharT > &  o) const
inline

Definition at line 168 of file file.h.

template<typename CharT>
bool scn::detail::cfile_iterator< CharT >::valid ( ) const
inline

Definition at line 163 of file file.h.


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