#include <format_fwd.hpp>
Public Types | |
typedef Ch | CharT |
typedef std::basic_string< Ch, Tr, Alloc > | string_type |
typedef string_type::size_type | size_type |
typedef io::detail::format_item< Ch, Tr, Alloc > | format_item_t |
typedef io::basic_altstringbuf < Ch, Tr, Alloc > | internal_streambuf_t |
Public Member Functions | |
basic_format (const Ch *str=NULL) | |
basic_format (const string_type &s) | |
basic_format (const basic_format &x) | |
basic_format & | operator= (const basic_format &x) |
void | swap (basic_format &x) |
basic_format (const Ch *str, const std::locale &loc) | |
basic_format (const string_type &s, const std::locale &loc) | |
io::detail::locale_t | getloc () const |
basic_format & | clear () |
basic_format & | clear_binds () |
basic_format & | parse (const string_type &) |
size_type | size () const |
string_type | str () const |
template<class T > | |
basic_format & | operator% (const T &x) |
template<class T > | |
basic_format & | operator% (T &x) |
int | expected_args () const |
int | bound_args () const |
int | fed_args () const |
int | cur_arg () const |
int | remaining_args () const |
template<class T > | |
basic_format & | bind_arg (int argN, const T &val) |
basic_format & | clear_bind (int argN) |
template<class T > | |
basic_format & | modify_item (int itemN, T manipulator) |
unsigned char | exceptions () const |
unsigned char | exceptions (unsigned char newexcept) |
Friends | |
template<class Ch2 , class Tr2 , class Alloc2 > | |
std::basic_ostream< Ch2, Tr2 > & | operator<< (std::basic_ostream< Ch2, Tr2 > &, const basic_format< Ch2, Tr2, Alloc2 > &) |
template<class Ch2 , class Tr2 , class Alloc2 , class T > | |
basic_format< Ch2, Tr2, Alloc2 > & | io::detail::feed_impl (basic_format< Ch2, Tr2, Alloc2 > &, T) |
template<class Ch2 , class Tr2 , class Alloc2 , class T > | |
void | io::detail::distribute (basic_format< Ch2, Tr2, Alloc2 > &, T) |
template<class Ch2 , class Tr2 , class Alloc2 , class T > | |
basic_format< Ch2, Tr2, Alloc2 > & | io::detail::modify_item_body (basic_format< Ch2, Tr2, Alloc2 > &, int, T) |
template<class Ch2 , class Tr2 , class Alloc2 , class T > | |
basic_format< Ch2, Tr2, Alloc2 > & | io::detail::bind_arg_body (basic_format< Ch2, Tr2, Alloc2 > &, int, const T &) |
typedef Ch boost::basic_format< Ch, Tr, Alloc >::CharT |
typedef io::detail::format_item<Ch, Tr, Alloc> boost::basic_format< Ch, Tr, Alloc >::format_item_t |
typedef io::basic_altstringbuf<Ch, Tr, Alloc> boost::basic_format< Ch, Tr, Alloc >::internal_streambuf_t |
typedef string_type::size_type boost::basic_format< Ch, Tr, Alloc >::size_type |
typedef std::basic_string<Ch, Tr, Alloc> boost::basic_format< Ch, Tr, Alloc >::string_type |
|
explicit |
References boost::basic_format< Ch, Tr, Alloc >::parse().
|
explicit |
References boost::basic_format< Ch, Tr, Alloc >::parse().
boost::basic_format< Ch, Tr, Alloc >::basic_format | ( | const basic_format< Ch, Tr, Alloc > & | x | ) |
|
explicit |
References boost::basic_format< Ch, Tr, Alloc >::parse().
|
explicit |
References boost::basic_format< Ch, Tr, Alloc >::parse().
|
inline |
References boost::io::detail::bind_arg_body().
int boost::basic_format< Ch, Tr, Alloc >::bound_args | ( | ) | const |
References boost::multiprecision::backends::i, and boost::n.
basic_format< Ch, Tr, Alloc > & boost::basic_format< Ch, Tr, Alloc >::clear | ( | ) |
References BOOST_ASSERT, and boost::multiprecision::backends::i.
basic_format< Ch, Tr, Alloc > & boost::basic_format< Ch, Tr, Alloc >::clear_bind | ( | int | argN | ) |
References boost::fusion::clear(), boost::io::out_of_range_bit, and boost::throw_exception().
basic_format< Ch, Tr, Alloc > & boost::basic_format< Ch, Tr, Alloc >::clear_binds | ( | ) |
References boost::fusion::clear().
int boost::basic_format< Ch, Tr, Alloc >::cur_arg | ( | ) | const |
unsigned char boost::basic_format< Ch, Tr, Alloc >::exceptions | ( | ) | const |
Referenced by boost::operator<<().
unsigned char boost::basic_format< Ch, Tr, Alloc >::exceptions | ( | unsigned char | newexcept | ) |
|
inline |
int boost::basic_format< Ch, Tr, Alloc >::fed_args | ( | ) | const |
References boost::multiprecision::backends::i, and boost::n.
io::detail::locale_t boost::basic_format< Ch, Tr, Alloc >::getloc | ( | ) | const |
|
inline |
|
inline |
References boost::flyweights::x.
|
inline |
References boost::flyweights::x.
basic_format< Ch, Tr, Alloc > & boost::basic_format< Ch, Tr, Alloc >::operator= | ( | const basic_format< Ch, Tr, Alloc > & | x | ) |
References boost::basic_format< Ch, Tr, Alloc >::swap(), and boost::flyweights::x.
basic_format< Ch, Tr, Alloc > & boost::basic_format< Ch, Tr, Alloc >::parse | ( | const string_type & | buf | ) |
References boost::io::detail::append_string(), boost::io::bad_format_string_bit, BOOST_ASSERT, BOOST_USE_FACET, boost::io::detail::const_or_not(), boost::multiprecision::backends::i, boost::it, boost::io::detail::parse_printf_directive(), boost::throw_exception(), boost::io::detail::upper_bound_from_fstring(), and boost::numeric::widen().
Referenced by boost::basic_format< Ch, Tr, Alloc >::basic_format().
int boost::basic_format< Ch, Tr, Alloc >::remaining_args | ( | ) | const |
References boost::multiprecision::backends::i, and boost::n.
std::basic_string< Ch, Tr, Alloc >::size_type boost::basic_format< Ch, Tr, Alloc >::size | ( | ) | const |
References boost::io::detail::format_item< Ch, Tr, Alloc >::appendix_, boost::io::detail::format_item< Ch, Tr, Alloc >::argN_, BOOST_PREVENT_MACRO_SUBSTITUTION, BOOST_USING_STD_MAX, boost::io::detail::format_item< Ch, Tr, Alloc >::fmtstate_, boost::multiprecision::backends::i, boost::accumulators::extract::max, boost::io::detail::format_item< Ch, Tr, Alloc >::res_, and boost::io::detail::stream_format_state< Ch, Tr >::width_.
Referenced by boost::io::detail::put().
basic_format< Ch, Tr, Alloc >::string_type boost::basic_format< Ch, Tr, Alloc >::str | ( | ) | const |
References boost::io::detail::format_item< Ch, Tr, Alloc >::appendix_, boost::io::detail::format_item< Ch, Tr, Alloc >::argN_, BOOST_ASSERT, boost::io::detail::stream_format_state< Ch, Tr >::fill_, boost::io::detail::format_item< Ch, Tr, Alloc >::fmtstate_, boost::multiprecision::backends::i, boost::io::detail::format_item< Ch, Tr, Alloc >::pad_scheme_, boost::io::detail::format_item< Ch, Tr, Alloc >::res_, boost::size(), boost::throw_exception(), boost::io::too_few_args_bit, and boost::io::detail::stream_format_state< Ch, Tr >::width_.
Referenced by boost::operator<<(), and boost::str().
void boost::basic_format< Ch, Tr, Alloc >::swap | ( | basic_format< Ch, Tr, Alloc > & | x | ) |
References boost::swap.
Referenced by boost::basic_format< Ch, Tr, Alloc >::operator=().
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |