Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::iostreams::basic_counter< Ch > Class Template Reference

#include <counter.hpp>

Classes

struct  category
 

Public Types

typedef Ch char_type
 

Public Member Functions

 basic_counter (int first_line=0, int first_char=0)
 
int lines () const
 
int characters () const
 
std::streamsize optimal_buffer_size () const
 
template<typename Source >
std::streamsize read (Source &src, char_type *s, std::streamsize n)
 
template<typename Sink >
std::streamsize write (Sink &snk, const char_type *s, std::streamsize n)
 

Member Typedef Documentation

template<typename Ch >
typedef Ch boost::iostreams::basic_counter< Ch >::char_type

Constructor & Destructor Documentation

template<typename Ch >
boost::iostreams::basic_counter< Ch >::basic_counter ( int  first_line = 0,
int  first_char = 0 
)
inlineexplicit

Member Function Documentation

template<typename Ch >
int boost::iostreams::basic_counter< Ch >::characters ( ) const
inline
template<typename Ch >
int boost::iostreams::basic_counter< Ch >::lines ( ) const
inline
template<typename Ch >
std::streamsize boost::iostreams::basic_counter< Ch >::optimal_buffer_size ( ) const
inline
template<typename Ch >
template<typename Source >
std::streamsize boost::iostreams::basic_counter< Ch >::read ( Source &  src,
char_type s,
std::streamsize  n 
)
inline

References count, and boost::iostreams::read().

template<typename Ch >
template<typename Sink >
std::streamsize boost::iostreams::basic_counter< Ch >::write ( Sink &  snk,
const char_type s,
std::streamsize  n 
)
inline

References count, and boost::iostreams::write().


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