#include <format_class.hpp>
Public Types | |
typedef Ch | CharT |
typedef io::detail::format_item< Ch, Tr, Alloc > | format_item_t |
typedef io::basic_altstringbuf< Ch, Tr, Alloc > | internal_streambuf_t |
typedef string_type::size_type | size_type |
typedef std::basic_string< Ch, Tr, Alloc > | string_type |
Public Member Functions | |
basic_format (const Ch *str=NULL) | |
basic_format (const string_type &s) | |
basic_format (const basic_format &x) | |
basic_format (const Ch *str, const std::locale &loc) | |
basic_format (const string_type &s, const std::locale &loc) | |
template<class T > | |
basic_format & | bind_arg (int argN, const T &val) |
int | bound_args () const |
basic_format & | clear () |
basic_format & | clear_bind (int argN) |
basic_format & | clear_binds () |
int | cur_arg () const |
unsigned char | exceptions () const |
unsigned char | exceptions (unsigned char newexcept) |
int | expected_args () const |
int | fed_args () const |
io::detail::locale_t | getloc () const |
template<class T > | |
basic_format & | modify_item (int itemN, T manipulator) |
template<class T > | |
basic_format & | operator% (const T &x) |
template<class T > | |
basic_format & | operator% (T &x) |
basic_format & | operator= (const basic_format &x) |
basic_format & | parse (const string_type &) |
int | remaining_args () const |
size_type | size () const |
string_type | str () const |
void | swap (basic_format &x) |
Private Types | |
typedef io::CompatTraits< Tr >::compatible_type | compat_traits |
typedef io::detail::stream_format_state< Ch, Tr > | stream_format_state |
enum | style_values { ordered = 1, special_needs = 4 } |
Private Member Functions | |
void | make_or_reuse_data (std::size_t nbitems) |
Private Attributes | |
std::vector< bool > | bound_ |
internal_streambuf_t | buf_ |
int | cur_arg_ |
bool | dumped_ |
unsigned char | exceptions_ |
std::vector< format_item_t > | items_ |
boost::optional< io::detail::locale_t > | loc_ |
int | num_args_ |
string_type | prefix_ |
int | style_ |
Friends | |
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 &) |
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::feed_impl (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 > | |
std::basic_ostream< Ch2, Tr2 > & | operator<< (std::basic_ostream< Ch2, Tr2 > &, const basic_format< Ch2, Tr2, Alloc2 > &) |
Definition at line 30 of file format_class.hpp.
typedef Ch boost::basic_format< Ch, Tr, Alloc >::CharT |
Definition at line 34 of file format_class.hpp.
|
private |
Definition at line 32 of file format_class.hpp.
typedef io::detail::format_item<Ch, Tr, Alloc> boost::basic_format< Ch, Tr, Alloc >::format_item_t |
Definition at line 37 of file format_class.hpp.
typedef io::basic_altstringbuf<Ch, Tr, Alloc> boost::basic_format< Ch, Tr, Alloc >::internal_streambuf_t |
Definition at line 38 of file format_class.hpp.
typedef string_type::size_type boost::basic_format< Ch, Tr, Alloc >::size_type |
Definition at line 36 of file format_class.hpp.
|
private |
Definition at line 144 of file format_class.hpp.
typedef std::basic_string<Ch, Tr, Alloc> boost::basic_format< Ch, Tr, Alloc >::string_type |
Definition at line 35 of file format_class.hpp.
|
private |
Enumerator | |
---|---|
ordered | |
special_needs |
Definition at line 146 of file format_class.hpp.
|
explicit |
Definition at line 28 of file format_implementation.hpp.
|
explicit |
Definition at line 60 of file format_implementation.hpp.
boost::basic_format< Ch, Tr, Alloc >::basic_format | ( | const basic_format< Ch, Tr, Alloc > & | x | ) |
Definition at line 68 of file format_implementation.hpp.
|
explicit |
Definition at line 38 of file format_implementation.hpp.
|
explicit |
Definition at line 46 of file format_implementation.hpp.
|
inline |
Definition at line 98 of file format_class.hpp.
int boost::basic_format< Ch, Tr, Alloc >::bound_args | ( | ) | const |
Definition at line 176 of file format_implementation.hpp.
basic_format< Ch, Tr, Alloc > & boost::basic_format< Ch, Tr, Alloc >::clear | ( | void | ) |
Definition at line 131 of file format_implementation.hpp.
basic_format< Ch, Tr, Alloc > & boost::basic_format< Ch, Tr, Alloc >::clear_bind | ( | int | argN | ) |
Definition at line 162 of file format_implementation.hpp.
basic_format< Ch, Tr, Alloc > & boost::basic_format< Ch, Tr, Alloc >::clear_binds | ( | ) |
Definition at line 153 of file format_implementation.hpp.
int boost::basic_format< Ch, Tr, Alloc >::cur_arg | ( | ) | const |
Definition at line 200 of file format_implementation.hpp.
unsigned char boost::basic_format< Ch, Tr, Alloc >::exceptions | ( | ) | const |
Definition at line 98 of file format_implementation.hpp.
unsigned char boost::basic_format< Ch, Tr, Alloc >::exceptions | ( | unsigned char | newexcept | ) |
Definition at line 103 of file format_implementation.hpp.
|
inline |
Definition at line 84 of file format_class.hpp.
int boost::basic_format< Ch, Tr, Alloc >::fed_args | ( | ) | const |
Definition at line 188 of file format_implementation.hpp.
io::detail::locale_t boost::basic_format< Ch, Tr, Alloc >::getloc | ( | ) | const |
Definition at line 55 of file format_implementation.hpp.
|
private |
Definition at line 111 of file format_implementation.hpp.
|
inline |
Definition at line 102 of file format_class.hpp.
|
inline |
Definition at line 63 of file format_class.hpp.
|
inline |
Definition at line 67 of file format_class.hpp.
basic_format< Ch, Tr, Alloc > & boost::basic_format< Ch, Tr, Alloc >::operator= | ( | const basic_format< Ch, Tr, Alloc > & | x | ) |
Definition at line 77 of file format_implementation.hpp.
basic_format< Ch, Tr, Alloc > & boost::basic_format< Ch, Tr, Alloc >::parse | ( | const string_type & | buf | ) |
Definition at line 406 of file parsing.hpp.
int boost::basic_format< Ch, Tr, Alloc >::remaining_args | ( | ) | const |
Definition at line 205 of file format_implementation.hpp.
std::basic_string< Ch, Tr, Alloc >::size_type boost::basic_format< Ch, Tr, Alloc >::size | ( | void | ) | const |
Definition at line 246 of file format_implementation.hpp.
basic_format< Ch, Tr, Alloc >::string_type boost::basic_format< Ch, Tr, Alloc >::str | ( | ) | const |
Definition at line 218 of file format_implementation.hpp.
void boost::basic_format< Ch, Tr, Alloc >::swap | ( | basic_format< Ch, Tr, Alloc > & | x | ) |
Definition at line 85 of file format_implementation.hpp.
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
private |
Definition at line 153 of file format_class.hpp.
|
private |
Definition at line 161 of file format_class.hpp.
|
private |
Definition at line 156 of file format_class.hpp.
|
mutableprivate |
Definition at line 158 of file format_class.hpp.
|
private |
Definition at line 160 of file format_class.hpp.
|
private |
Definition at line 152 of file format_class.hpp.
|
private |
Definition at line 162 of file format_class.hpp.
|
private |
Definition at line 157 of file format_class.hpp.
|
private |
Definition at line 159 of file format_class.hpp.
|
private |
Definition at line 155 of file format_class.hpp.