Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::io::detail Namespace Reference

Classes

struct  format_item
 
struct  group0
 
struct  group1
 
struct  group10
 
struct  group2
 
struct  group3
 
struct  group4
 
struct  group5
 
struct  group6
 
struct  group7
 
struct  group8
 
struct  group9
 
struct  put_holder
 
struct  stream_format_state
 

Functions

template<class Ch , class Tr , class Alloc >
void mk_str (std::basic_string< Ch, Tr, Alloc > &res, const Ch *beg, typename std::basic_string< Ch, Tr, Alloc >::size_type size, std::streamsize w, const Ch fill_char, std::ios_base::fmtflags f, const Ch prefix_space, bool center)
 
template<class Ch , class Tr , class T >
void put_head (BOOST_IO_STD basic_ostream< Ch, Tr > &, const T &)
 
template<class Ch , class Tr , class T >
void put_head (BOOST_IO_STD basic_ostream< Ch, Tr > &os, const group1< T > &x)
 
template<class Ch , class Tr , class T >
void put_last (BOOST_IO_STD basic_ostream< Ch, Tr > &os, const T &x)
 
template<class Ch , class Tr , class T >
void put_last (BOOST_IO_STD basic_ostream< Ch, Tr > &os, const group1< T > &x)
 
template<class Ch , class Tr , class T >
void put_head (BOOST_IO_STD basic_ostream< Ch, Tr > &, T &)
 
template<class Ch , class Tr , class T >
void put_last (BOOST_IO_STD basic_ostream< Ch, Tr > &os, T &x)
 
template<class Ch , class Tr , class T >
void call_put_head (BOOST_IO_STD basic_ostream< Ch, Tr > &os, const void *x)
 
template<class Ch , class Tr , class T >
void call_put_last (BOOST_IO_STD basic_ostream< Ch, Tr > &os, const void *x)
 
template<class Ch , class Tr >
void put_head (BOOST_IO_STD basic_ostream< Ch, Tr > &os, const put_holder< Ch, Tr > &t)
 
template<class Ch , class Tr >
void put_last (BOOST_IO_STD basic_ostream< Ch, Tr > &os, const put_holder< Ch, Tr > &t)
 
template<class Ch , class Tr , class Alloc , class T >
void put (T x, const format_item< Ch, Tr, Alloc > &specs, typename basic_format< Ch, Tr, Alloc >::string_type &res, typename basic_format< Ch, Tr, Alloc >::internal_streambuf_t &buf, io::detail::locale_t *loc_p=NULL)
 
template<class Ch , class Tr , class Alloc , class T >
void distribute (basic_format< Ch, Tr, Alloc > &self, T x)
 
template<class Ch , class Tr , class Alloc , class T >
basic_format< Ch, Tr, Alloc > & feed_impl (basic_format< Ch, Tr, Alloc > &self, T x)
 
template<class Ch , class Tr , class Alloc , class T >
basic_format< Ch, Tr, Alloc > & feed (basic_format< Ch, Tr, Alloc > &self, T x)
 
template<class Ch , class Tr , class Alloc , class T >
basic_format< Ch, Tr, Alloc > & bind_arg_body (basic_format< Ch, Tr, Alloc > &self, int argN, const T &val)
 
template<class Ch , class Tr , class Alloc , class T >
basic_format< Ch, Tr, Alloc > & modify_item_body (basic_format< Ch, Tr, Alloc > &self, int itemN, T manipulator)
 
template<class Ch , class Tr >
BOOST_IO_STD basic_ostream< Ch,
Tr > & 
operator<< (BOOST_IO_STD basic_ostream< Ch, Tr > &os, const group0 &)
 
template<class Ch , class Tr , class T1 >
BOOST_IO_STD basic_ostream< Ch,
Tr > & 
operator<< (BOOST_IO_STD basic_ostream< Ch, Tr > &os, const group1< T1 > &x)
 
template<class Ch , class Tr , class T1 , class T2 >
BOOST_IO_STD basic_ostream< Ch,
Tr > & 
operator<< (BOOST_IO_STD basic_ostream< Ch, Tr > &os, const group2< T1, T2 > &x)
 
template<class Ch , class Tr , class T1 , class T2 , class T3 >
BOOST_IO_STD basic_ostream< Ch,
Tr > & 
operator<< (BOOST_IO_STD basic_ostream< Ch, Tr > &os, const group3< T1, T2, T3 > &x)
 
template<class Ch , class Tr , class T1 , class T2 , class T3 , class T4 >
BOOST_IO_STD basic_ostream< Ch,
Tr > & 
operator<< (BOOST_IO_STD basic_ostream< Ch, Tr > &os, const group4< T1, T2, T3, T4 > &x)
 
template<class Ch , class Tr , class T1 , class T2 , class T3 , class T4 , class T5 >
BOOST_IO_STD basic_ostream< Ch,
Tr > & 
operator<< (BOOST_IO_STD basic_ostream< Ch, Tr > &os, const group5< T1, T2, T3, T4, T5 > &x)
 
template<class Ch , class Tr , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 >
BOOST_IO_STD basic_ostream< Ch,
Tr > & 
operator<< (BOOST_IO_STD basic_ostream< Ch, Tr > &os, const group6< T1, T2, T3, T4, T5, T6 > &x)
 
template<class Ch , class Tr , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 >
BOOST_IO_STD basic_ostream< Ch,
Tr > & 
operator<< (BOOST_IO_STD basic_ostream< Ch, Tr > &os, const group7< T1, T2, T3, T4, T5, T6, T7 > &x)
 
template<class Ch , class Tr , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 >
BOOST_IO_STD basic_ostream< Ch,
Tr > & 
operator<< (BOOST_IO_STD basic_ostream< Ch, Tr > &os, const group8< T1, T2, T3, T4, T5, T6, T7, T8 > &x)
 
template<class Ch , class Tr , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 >
BOOST_IO_STD basic_ostream< Ch,
Tr > & 
operator<< (BOOST_IO_STD basic_ostream< Ch, Tr > &os, const group9< T1, T2, T3, T4, T5, T6, T7, T8, T9 > &x)
 
template<class Ch , class Tr , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 >
BOOST_IO_STD basic_ostream< Ch,
Tr > & 
operator<< (BOOST_IO_STD basic_ostream< Ch, Tr > &os, const group10< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10 > &x)
 
template<class T1 , class T2 >
group1< T1 > group_head (group2< T1, T2 > const &x)
 
template<class T1 , class T2 >
group1< T2 > group_last (group2< T1, T2 > const &x)
 
template<class T1 , class T2 , class T3 >
group2< T1, T2 > group_head (group3< T1, T2, T3 > const &x)
 
template<class T1 , class T2 , class T3 >
group1< T3 > group_last (group3< T1, T2, T3 > const &x)
 
template<class T1 , class T2 , class T3 , class T4 >
group3< T1, T2, T3 > group_head (group4< T1, T2, T3, T4 > const &x)
 
template<class T1 , class T2 , class T3 , class T4 >
group1< T4 > group_last (group4< T1, T2, T3, T4 > const &x)
 
template<class T1 , class T2 , class T3 , class T4 , class T5 >
group4< T1, T2, T3, T4 > group_head (group5< T1, T2, T3, T4, T5 > const &x)
 
template<class T1 , class T2 , class T3 , class T4 , class T5 >
group1< T5 > group_last (group5< T1, T2, T3, T4, T5 > const &x)
 
template<class T1 , class T2 , class T3 , class T4 , class T5 , class T6 >
group5< T1, T2, T3, T4, T5 > group_head (group6< T1, T2, T3, T4, T5, T6 > const &x)
 
template<class T1 , class T2 , class T3 , class T4 , class T5 , class T6 >
group1< T6 > group_last (group6< T1, T2, T3, T4, T5, T6 > const &x)
 
template<class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 >
group6< T1, T2, T3, T4, T5, T6 > group_head (group7< T1, T2, T3, T4, T5, T6, T7 > const &x)
 
template<class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 >
group1< T7 > group_last (group7< T1, T2, T3, T4, T5, T6, T7 > const &x)
 
template<class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 >
group7< T1, T2, T3, T4, T5, T6,
T7 > 
group_head (group8< T1, T2, T3, T4, T5, T6, T7, T8 > const &x)
 
template<class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 >
group1< T8 > group_last (group8< T1, T2, T3, T4, T5, T6, T7, T8 > const &x)
 
template<class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 >
group8< T1, T2, T3, T4, T5, T6,
T7, T8 > 
group_head (group9< T1, T2, T3, T4, T5, T6, T7, T8, T9 > const &x)
 
template<class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 >
group1< T9 > group_last (group9< T1, T2, T3, T4, T5, T6, T7, T8, T9 > const &x)
 
template<class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 >
group9< T1, T2, T3, T4, T5, T6,
T7, T8, T9 > 
group_head (group10< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10 > const &x)
 
template<class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 >
group1< T10 > group_last (group10< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10 > const &x)
 
template<class Ch , class Tr , class T >
void apply_manip_body (stream_format_state< Ch, Tr > &self, T manipulator)
 
template<class T >
const Tconst_or_not (const T &x)
 
template<class Ch , class Facet >
char wrap_narrow (const Facet &fac, Ch c, char deflt)
 
template<class Ch , class Facet >
bool wrap_isdigit (const Facet &fac, Ch c)
 
template<class Iter , class Facet >
Iter wrap_scan_notdigit (const Facet &fac, Iter beg, Iter end)
 
template<class Res , class Iter , class Facet >
Iter str2int (const Iter &start, const Iter &last, Res &res, const Facet &fac)
 
template<class Iter , class Facet >
Iter skip_asterisk (Iter start, Iter last, const Facet &fac)
 
void maybe_throw_exception (unsigned char exceptions, std::size_t pos, std::size_t size)
 
template<class Ch , class Tr , class Alloc , class Iter , class Facet >
bool parse_printf_directive (Iter &start, const Iter &last, detail::format_item< Ch, Tr, Alloc > *fpar, const Facet &fac, std::size_t offset, unsigned char exceptions)
 
template<class String , class Facet >
int upper_bound_from_fstring (const String &buf, const typename String::value_type arg_mark, const Facet &fac, unsigned char exceptions)
 
template<class String >
void append_string (String &dst, const String &src, const typename String::size_type beg, const typename String::size_type end)
 

Function Documentation

template<class String >
void boost::io::detail::append_string ( String &  dst,
const String &  src,
const typename String::size_type  beg,
const typename String::size_type  end 
)
inline
template<class Ch , class Tr , class T >
void boost::io::detail::apply_manip_body ( stream_format_state< Ch, Tr > &  self,
T  manipulator 
)
template<class Ch , class Tr , class Alloc , class T >
basic_format< Ch, Tr, Alloc > & boost::io::detail::bind_arg_body ( basic_format< Ch, Tr, Alloc > &  self,
int  argN,
const T val 
)
template<class Ch , class Tr , class T >
void boost::io::detail::call_put_head ( BOOST_IO_STD basic_ostream< Ch, Tr > &  os,
const void *  x 
)

References put_head(), and boost::detail::type.

template<class Ch , class Tr , class T >
void boost::io::detail::call_put_last ( BOOST_IO_STD basic_ostream< Ch, Tr > &  os,
const void *  x 
)

References put_last(), and T.

template<class T >
const T& boost::io::detail::const_or_not ( const T x)
template<class Ch , class Tr , class Alloc , class T >
void boost::io::detail::distribute ( basic_format< Ch, Tr, Alloc > &  self,
T  x 
)
template<class Ch , class Tr , class Alloc , class T >
basic_format< Ch, Tr, Alloc > & boost::io::detail::feed ( basic_format< Ch, Tr, Alloc > &  self,
T  x 
)
inline

References boost::flyweights::x.

template<class Ch , class Tr , class Alloc , class T >
basic_format< Ch, Tr, Alloc > & boost::io::detail::feed_impl ( basic_format< Ch, Tr, Alloc > &  self,
T  x 
)

References boost::flyweights::x.

template<class T1 , class T2 >
group1<T1> boost::io::detail::group_head ( group2< T1, T2 > const &  x)
inline
template<class T1 , class T2 , class T3 >
group2<T1,T2> boost::io::detail::group_head ( group3< T1, T2, T3 > const &  x)
inline
template<class T1 , class T2 , class T3 , class T4 >
group3<T1,T2,T3> boost::io::detail::group_head ( group4< T1, T2, T3, T4 > const &  x)
inline
template<class T1 , class T2 , class T3 , class T4 , class T5 >
group4<T1,T2,T3,T4> boost::io::detail::group_head ( group5< T1, T2, T3, T4, T5 > const &  x)
inline
template<class T1 , class T2 , class T3 , class T4 , class T5 , class T6 >
group5<T1,T2,T3,T4,T5> boost::io::detail::group_head ( group6< T1, T2, T3, T4, T5, T6 > const &  x)
inline
template<class T1 , class T2 >
group1<T2> boost::io::detail::group_last ( group2< T1, T2 > const &  x)
inline
template<class T1 , class T2 , class T3 >
group1<T3> boost::io::detail::group_last ( group3< T1, T2, T3 > const &  x)
inline
template<class T1 , class T2 , class T3 , class T4 >
group1<T4> boost::io::detail::group_last ( group4< T1, T2, T3, T4 > const &  x)
inline
template<class T1 , class T2 , class T3 , class T4 , class T5 >
group1<T5> boost::io::detail::group_last ( group5< T1, T2, T3, T4, T5 > const &  x)
inline
template<class T1 , class T2 , class T3 , class T4 , class T5 , class T6 >
group1<T6> boost::io::detail::group_last ( group6< T1, T2, T3, T4, T5, T6 > const &  x)
inline
template<class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 >
group1<T7> boost::io::detail::group_last ( group7< T1, T2, T3, T4, T5, T6, T7 > const &  x)
inline
template<class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 >
group1<T8> boost::io::detail::group_last ( group8< T1, T2, T3, T4, T5, T6, T7, T8 > const &  x)
inline
template<class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 >
group1<T9> boost::io::detail::group_last ( group9< T1, T2, T3, T4, T5, T6, T7, T8, T9 > const &  x)
inline
template<class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 >
group1<T10> boost::io::detail::group_last ( group10< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10 > const &  x)
inline
void boost::io::detail::maybe_throw_exception ( unsigned char  exceptions,
std::size_t  pos,
std::size_t  size 
)
inline
template<class Ch , class Tr , class Alloc >
void boost::io::detail::mk_str ( std::basic_string< Ch, Tr, Alloc > &  res,
const Ch *  beg,
typename std::basic_string< Ch, Tr, Alloc >::size_type  size,
std::streamsize  w,
const Ch  fill_char,
std::ios_base::fmtflags  f,
const Ch  prefix_space,
bool  center 
)

References boost::bimaps::support::left, and boost::n.

Referenced by put().

template<class Ch , class Tr , class Alloc , class T >
basic_format< Ch, Tr, Alloc > & boost::io::detail::modify_item_body ( basic_format< Ch, Tr, Alloc > &  self,
int  itemN,
T  manipulator 
)
template<class Ch , class Tr >
BOOST_IO_STD basic_ostream<Ch, Tr>& boost::io::detail::operator<< ( BOOST_IO_STD basic_ostream< Ch, Tr > &  os,
const group0 &   
)
inline
template<class Ch , class Tr , class T1 >
BOOST_IO_STD basic_ostream<Ch, Tr>& boost::io::detail::operator<< ( BOOST_IO_STD basic_ostream< Ch, Tr > &  os,
const group1< T1 > &  x 
)
inline

References boost::flyweights::x.

template<class Ch , class Tr , class T1 , class T2 >
BOOST_IO_STD basic_ostream<Ch, Tr>& boost::io::detail::operator<< ( BOOST_IO_STD basic_ostream< Ch, Tr > &  os,
const group2< T1, T2 > &  x 
)
inline

References boost::flyweights::x.

template<class Ch , class Tr , class T1 , class T2 , class T3 >
BOOST_IO_STD basic_ostream<Ch, Tr>& boost::io::detail::operator<< ( BOOST_IO_STD basic_ostream< Ch, Tr > &  os,
const group3< T1, T2, T3 > &  x 
)
inline

References boost::flyweights::x.

template<class Ch , class Tr , class T1 , class T2 , class T3 , class T4 >
BOOST_IO_STD basic_ostream<Ch, Tr>& boost::io::detail::operator<< ( BOOST_IO_STD basic_ostream< Ch, Tr > &  os,
const group4< T1, T2, T3, T4 > &  x 
)
inline

References boost::flyweights::x.

template<class Ch , class Tr , class T1 , class T2 , class T3 , class T4 , class T5 >
BOOST_IO_STD basic_ostream<Ch, Tr>& boost::io::detail::operator<< ( BOOST_IO_STD basic_ostream< Ch, Tr > &  os,
const group5< T1, T2, T3, T4, T5 > &  x 
)
inline

References boost::flyweights::x.

template<class Ch , class Tr , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 >
BOOST_IO_STD basic_ostream<Ch, Tr>& boost::io::detail::operator<< ( BOOST_IO_STD basic_ostream< Ch, Tr > &  os,
const group6< T1, T2, T3, T4, T5, T6 > &  x 
)
inline

References boost::flyweights::x.

template<class Ch , class Tr , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 >
BOOST_IO_STD basic_ostream<Ch, Tr>& boost::io::detail::operator<< ( BOOST_IO_STD basic_ostream< Ch, Tr > &  os,
const group7< T1, T2, T3, T4, T5, T6, T7 > &  x 
)
inline

References boost::flyweights::x.

template<class Ch , class Tr , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 >
BOOST_IO_STD basic_ostream<Ch, Tr>& boost::io::detail::operator<< ( BOOST_IO_STD basic_ostream< Ch, Tr > &  os,
const group8< T1, T2, T3, T4, T5, T6, T7, T8 > &  x 
)
inline

References boost::flyweights::x.

template<class Ch , class Tr , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 >
BOOST_IO_STD basic_ostream<Ch, Tr>& boost::io::detail::operator<< ( BOOST_IO_STD basic_ostream< Ch, Tr > &  os,
const group9< T1, T2, T3, T4, T5, T6, T7, T8, T9 > &  x 
)
inline

References boost::flyweights::x.

template<class Ch , class Tr , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 >
BOOST_IO_STD basic_ostream<Ch, Tr>& boost::io::detail::operator<< ( BOOST_IO_STD basic_ostream< Ch, Tr > &  os,
const group10< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10 > &  x 
)
inline

References boost::flyweights::x.

template<class Ch , class Tr , class T >
void boost::io::detail::put_head ( BOOST_IO_STD basic_ostream< Ch, Tr > &  ,
const T  
)
inline

Referenced by call_put_head(), and put().

template<class Ch , class Tr , class T >
void boost::io::detail::put_head ( BOOST_IO_STD basic_ostream< Ch, Tr > &  os,
const group1< T > &  x 
)
inline
template<class Ch , class Tr , class T >
void boost::io::detail::put_head ( BOOST_IO_STD basic_ostream< Ch, Tr > &  ,
T  
)
inline
template<class Ch , class Tr >
void boost::io::detail::put_head ( BOOST_IO_STD basic_ostream< Ch, Tr > &  os,
const put_holder< Ch, Tr > &  t 
)
inline
template<class Ch , class Tr , class T >
void boost::io::detail::put_last ( BOOST_IO_STD basic_ostream< Ch, Tr > &  os,
const T x 
)
inline

References boost::flyweights::x.

Referenced by call_put_last(), and put().

template<class Ch , class Tr , class T >
void boost::io::detail::put_last ( BOOST_IO_STD basic_ostream< Ch, Tr > &  os,
const group1< T > &  x 
)
inline
template<class Ch , class Tr , class T >
void boost::io::detail::put_last ( BOOST_IO_STD basic_ostream< Ch, Tr > &  os,
T x 
)
inline

References boost::flyweights::x.

template<class Ch , class Tr >
void boost::io::detail::put_last ( BOOST_IO_STD basic_ostream< Ch, Tr > &  os,
const put_holder< Ch, Tr > &  t 
)
inline
template<class Iter , class Facet >
Iter boost::io::detail::skip_asterisk ( Iter  start,
Iter  last,
const Facet &  fac 
)
template<class Res , class Iter , class Facet >
Iter boost::io::detail::str2int ( const Iter &  start,
const Iter &  last,
Res &  res,
const Facet &  fac 
)
template<class String , class Facet >
int boost::io::detail::upper_bound_from_fstring ( const String &  buf,
const typename String::value_type  arg_mark,
const Facet &  fac,
unsigned char  exceptions 
)
template<class Ch , class Facet >
bool boost::io::detail::wrap_isdigit ( const Facet &  fac,
Ch  c 
)
inline
template<class Ch , class Facet >
char boost::io::detail::wrap_narrow ( const Facet &  fac,
Ch  c,
char  deflt 
)
inline

References const_or_not().

Referenced by parse_printf_directive(), and str2int().

template<class Iter , class Facet >
Iter boost::io::detail::wrap_scan_notdigit ( const Facet &  fac,
Iter  beg,
Iter  end 
)