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

#include <file.h>

Public Types

using char_type = CharT
 
using traits = std::char_traits< CharT >
 
using int_type = typename traits::int_type
 

Public Member Functions

template<typename F >
bool sync (F sync_fn)
 

Public Attributes

std::basic_string< char_typebuffer {}
 
std::ptrdiff_t n {0}
 
int_type latest {traits::eof()}
 
error err {}
 

Detailed Description

template<typename CharT>
struct scn::detail::cfile_iterator_cache< CharT >

Definition at line 187 of file file.h.

Member Typedef Documentation

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

Definition at line 188 of file file.h.

template<typename CharT >
using scn::detail::cfile_iterator_cache< CharT >::int_type = typename traits::int_type

Definition at line 190 of file file.h.

template<typename CharT >
using scn::detail::cfile_iterator_cache< CharT >::traits = std::char_traits<CharT>

Definition at line 189 of file file.h.

Member Function Documentation

template<typename CharT >
template<typename F >
bool scn::detail::cfile_iterator_cache< CharT >::sync ( sync_fn)
inline

Definition at line 193 of file file.h.

Member Data Documentation

template<typename CharT >
std::basic_string<char_type> scn::detail::cfile_iterator_cache< CharT >::buffer {}

Definition at line 208 of file file.h.

template<typename CharT >
error scn::detail::cfile_iterator_cache< CharT >::err {}

Definition at line 211 of file file.h.

template<typename CharT >
int_type scn::detail::cfile_iterator_cache< CharT >::latest {traits::eof()}

Definition at line 210 of file file.h.

template<typename CharT >
std::ptrdiff_t scn::detail::cfile_iterator_cache< CharT >::n {0}

Definition at line 209 of file file.h.


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