Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
filtering_streambuf.hpp File Reference
#include <exception>
#include <memory>
#include <boost/iostreams/chain.hpp>
#include <boost/iostreams/detail/access_control.hpp>
#include <boost/iostreams/detail/char_traits.hpp>
#include <boost/iostreams/detail/push.hpp>
#include <boost/iostreams/detail/streambuf.hpp>
#include <boost/iostreams/detail/streambuf/chainbuf.hpp>
#include <boost/mpl/if.hpp>
Include dependency graph for filtering_streambuf.hpp:
This graph shows which files directly or indirectly include this file:

Classes

singleton  boost::iostreams::filtering_streambuf< Mode, Ch, Tr, Alloc, Access >
 
struct  boost::iostreams::filtering_streambuf< Mode, Ch, Tr, Alloc, Access >::category
 
singleton  boost::iostreams::filtering_wstreambuf< Mode, Ch, Tr, Alloc, Access >
 
struct  boost::iostreams::filtering_wstreambuf< Mode, Ch, Tr, Alloc, Access >::category
 

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::iostreams
 

Macros

#define BOOST_IOSTREAMS_DEFINE_FILTER_STREAMBUF(name_, chain_type_, default_char_)
 

Typedefs

typedef filtering_streambuf
< input > 
boost::iostreams::filtering_istreambuf
 
typedef filtering_streambuf
< output > 
boost::iostreams::filtering_ostreambuf
 
typedef filtering_wstreambuf
< input > 
boost::iostreams::filtering_wistreambuf
 
typedef filtering_wstreambuf
< output > 
boost::iostreams::filtering_wostreambuf
 

Macro Definition Documentation

#define BOOST_IOSTREAMS_DEFINE_FILTER_STREAMBUF (   name_,
  chain_type_,
  default_char_ 
)
Value:
template< typename Mode, \
typename Ch = default_char_, \
typename Tr = BOOST_IOSTREAMS_CHAR_TRAITS(Ch), \
typename Alloc = std::allocator<Ch>, \
typename Access = public_ > \
class name_ : public boost::iostreams::detail::chainbuf< \
chain_type_<Mode, Ch, Tr, Alloc>, Mode, Access \
> \
{ \
public: \
typedef Ch char_type; \
struct category \
: Mode, closable_tag, streambuf_tag \
{ }; \
typedef Mode mode; \
typedef chain_type_<Mode, Ch, Tr, Alloc> chain_type; \
name_() { } \
BOOST_IOSTREAMS_DEFINE_PUSH_CONSTRUCTOR(name_, mode, Ch, push_impl) \
~name_() { if (this->is_complete()) this->BOOST_IOSTREAMS_PUBSYNC(); } \
}; \
spirit::terminal< tag::ascii::char_ > char_type
Definition: common_terminals.hpp:234
RealType mode(const distribution_archetype< RealType > &dist)
#define BOOST_IOSTREAMS_STREAMBUF_TYPEDEFS(Tr)
Definition: traits.hpp:380