Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::iostreams::detail::code_converter_impl< Device, Codecvt, Alloc > Struct Template Reference

#include <code_converter.hpp>

Collaboration diagram for boost::iostreams::detail::code_converter_impl< Device, Codecvt, Alloc >:

Public Types

enum  flag_type {
  f_open = 1,
  f_input_closed = f_open << 1,
  f_output_closed = f_input_closed << 1
}
 
typedef codecvt_extern
< Codecvt >::type 
extern_type
 
typedef category_of< Device >::type device_category
 
typedef is_convertible
< device_category, input
can_read
 
typedef is_convertible
< device_category, output
can_write
 
typedef is_convertible
< device_category,
bidirectional
is_bidir
 
typedef iostreams::select
< is_bidir, bidirectional,
can_read, input, can_write,
output >::type 
mode
 
typedef mpl::if_< is_direct
< Device >, direct_adapter
< Device >, Device >::type 
device_type
 
typedef optional
< concept_adapter< device_type > > 
storage_type
 
typedef is_convertible
< device_category,
two_sequence
is_double
 
typedef conversion_buffer
< Codecvt, Alloc > 
buffer_type
 

Public Member Functions

 code_converter_impl ()
 
 ~code_converter_impl ()
 
template<class T >
void open (const T &dev, int buffer_size)
 
void close ()
 
void close (BOOST_IOS::openmode which)
 
bool is_open () const
 
device_typedev ()
 

Public Attributes

codecvt_holder< Codecvt > cvt_
 
storage_type dev_
 
double_object< buffer_type,
is_double
buf_
 
int flags_
 

Member Typedef Documentation

template<typename Device , typename Codecvt , typename Alloc >
typedef conversion_buffer<Codecvt, Alloc> boost::iostreams::detail::code_converter_impl< Device, Codecvt, Alloc >::buffer_type
template<typename Device , typename Codecvt , typename Alloc >
typedef is_convertible<device_category, input> boost::iostreams::detail::code_converter_impl< Device, Codecvt, Alloc >::can_read
template<typename Device , typename Codecvt , typename Alloc >
typedef is_convertible<device_category, output> boost::iostreams::detail::code_converter_impl< Device, Codecvt, Alloc >::can_write
template<typename Device , typename Codecvt , typename Alloc >
typedef category_of<Device>::type boost::iostreams::detail::code_converter_impl< Device, Codecvt, Alloc >::device_category
template<typename Device , typename Codecvt , typename Alloc >
typedef mpl::if_< is_direct<Device>, direct_adapter<Device>, Device >::type boost::iostreams::detail::code_converter_impl< Device, Codecvt, Alloc >::device_type
template<typename Device , typename Codecvt , typename Alloc >
typedef codecvt_extern<Codecvt>::type boost::iostreams::detail::code_converter_impl< Device, Codecvt, Alloc >::extern_type
template<typename Device , typename Codecvt , typename Alloc >
typedef is_convertible<device_category, bidirectional> boost::iostreams::detail::code_converter_impl< Device, Codecvt, Alloc >::is_bidir
template<typename Device , typename Codecvt , typename Alloc >
typedef is_convertible<device_category, two_sequence> boost::iostreams::detail::code_converter_impl< Device, Codecvt, Alloc >::is_double
template<typename Device , typename Codecvt , typename Alloc >
typedef iostreams::select< is_bidir, bidirectional, can_read, input, can_write, output >::type boost::iostreams::detail::code_converter_impl< Device, Codecvt, Alloc >::mode
template<typename Device , typename Codecvt , typename Alloc >
typedef optional< concept_adapter<device_type> > boost::iostreams::detail::code_converter_impl< Device, Codecvt, Alloc >::storage_type

Member Enumeration Documentation

template<typename Device , typename Codecvt , typename Alloc >
enum boost::iostreams::detail::code_converter_impl::flag_type
Enumerator
f_open 
f_input_closed 
f_output_closed 

Constructor & Destructor Documentation

template<typename Device , typename Codecvt , typename Alloc >
boost::iostreams::detail::code_converter_impl< Device, Codecvt, Alloc >::code_converter_impl ( )
inline

Member Function Documentation

template<typename Device , typename Codecvt , typename Alloc >
bool boost::iostreams::detail::code_converter_impl< Device, Codecvt, Alloc >::is_open ( ) const
inline

Member Data Documentation

template<typename Device , typename Codecvt , typename Alloc >
codecvt_holder<Codecvt> boost::iostreams::detail::code_converter_impl< Device, Codecvt, Alloc >::cvt_

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