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

#include <tee.hpp>

Classes

struct  category
 

Public Types

typedef detail::param_type
< Device >::type 
device_param
 
typedef detail::param_type
< Sink >::type 
sink_param
 
typedef detail::value_type
< Device >::type 
device_value
 
typedef detail::value_type
< Sink >::type 
sink_value
 
typedef char_type_of< Device >
::type 
char_type
 
typedef mpl::if_
< is_convertible
< BOOST_DEDUCED_TYPENAME
iostreams::category_of< Device >
::type, output >, output,
input >::type 
mode
 

Public Member Functions

 BOOST_STATIC_ASSERT (is_device< Device >::value)
 
 BOOST_STATIC_ASSERT (is_device< Sink >::value)
 
 BOOST_STATIC_ASSERT ((is_same< char_type, BOOST_DEDUCED_TYPENAME char_type_of< Sink >::type >::value))
 
 BOOST_STATIC_ASSERT ((is_convertible< BOOST_DEDUCED_TYPENAME iostreams::category_of< Sink >::type, output >::value))
 
 tee_device (device_param device, sink_param sink)
 
std::streamsize read (char_type *s, std::streamsize n)
 
std::streamsize write (const char_type *s, std::streamsize n)
 
void close ()
 
bool flush ()
 
template<typename Locale >
void imbue (const Locale &loc)
 
std::streamsize optimal_buffer_size () const
 

Member Typedef Documentation

template<typename Device, typename Sink>
typedef char_type_of<Device>::type boost::iostreams::tee_device< Device, Sink >::char_type
template<typename Device, typename Sink>
typedef detail::param_type<Device>::type boost::iostreams::tee_device< Device, Sink >::device_param
template<typename Device, typename Sink>
typedef detail::value_type<Device>::type boost::iostreams::tee_device< Device, Sink >::device_value
template<typename Device, typename Sink>
typedef mpl::if_< is_convertible< BOOST_DEDUCED_TYPENAME iostreams::category_of<Device>::type, output >, output, input >::type boost::iostreams::tee_device< Device, Sink >::mode
template<typename Device, typename Sink>
typedef detail::param_type<Sink>::type boost::iostreams::tee_device< Device, Sink >::sink_param
template<typename Device, typename Sink>
typedef detail::value_type<Sink>::type boost::iostreams::tee_device< Device, Sink >::sink_value

Constructor & Destructor Documentation

template<typename Device, typename Sink>
boost::iostreams::tee_device< Device, Sink >::tee_device ( device_param  device,
sink_param  sink 
)
inline

Member Function Documentation

template<typename Device, typename Sink>
boost::iostreams::tee_device< Device, Sink >::BOOST_STATIC_ASSERT ( is_device< Device >::value  )
template<typename Device, typename Sink>
boost::iostreams::tee_device< Device, Sink >::BOOST_STATIC_ASSERT ( is_device< Sink >::value  )
template<typename Device, typename Sink>
boost::iostreams::tee_device< Device, Sink >::BOOST_STATIC_ASSERT ( (is_same< char_type, BOOST_DEDUCED_TYPENAME char_type_of< Sink >::type >::value)  )
template<typename Device, typename Sink>
boost::iostreams::tee_device< Device, Sink >::BOOST_STATIC_ASSERT ( (is_convertible< BOOST_DEDUCED_TYPENAME iostreams::category_of< Sink >::type, output >::value)  )
template<typename Device, typename Sink>
void boost::iostreams::tee_device< Device, Sink >::close ( )
inline
template<typename Device, typename Sink>
bool boost::iostreams::tee_device< Device, Sink >::flush ( )
inline
template<typename Device, typename Sink>
template<typename Locale >
void boost::iostreams::tee_device< Device, Sink >::imbue ( const Locale &  loc)
inline
template<typename Device, typename Sink>
std::streamsize boost::iostreams::tee_device< Device, Sink >::optimal_buffer_size ( ) const
inline
template<typename Device, typename Sink>
std::streamsize boost::iostreams::tee_device< Device, Sink >::read ( char_type s,
std::streamsize  n 
)
inline
template<typename Device, typename Sink>
std::streamsize boost::iostreams::tee_device< Device, Sink >::write ( const char_type s,
std::streamsize  n 
)
inline

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