Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::basic_format< Ch, Tr, Alloc > Singleton Reference

#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_formatoperator= (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_formatclear ()
 
basic_formatclear_binds ()
 
basic_formatparse (const string_type &)
 
size_type size () const
 
string_type str () const
 
template<class T >
basic_formatoperator% (const T &x)
 
template<class T >
basic_formatoperator% (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_formatbind_arg (int argN, const T &val)
 
basic_formatclear_bind (int argN)
 
template<class T >
basic_formatmodify_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 &)
 

Member Typedef Documentation

template<class Ch, class Tr, class Alloc>
typedef Ch boost::basic_format< Ch, Tr, Alloc >::CharT
template<class Ch, class Tr, class Alloc>
typedef io::detail::format_item<Ch, Tr, Alloc> boost::basic_format< Ch, Tr, Alloc >::format_item_t
template<class Ch, class Tr, class Alloc>
typedef io::basic_altstringbuf<Ch, Tr, Alloc> boost::basic_format< Ch, Tr, Alloc >::internal_streambuf_t
template<class Ch, class Tr, class Alloc>
typedef string_type::size_type boost::basic_format< Ch, Tr, Alloc >::size_type
template<class Ch, class Tr, class Alloc>
typedef std::basic_string<Ch, Tr, Alloc> boost::basic_format< Ch, Tr, Alloc >::string_type

Constructor & Destructor Documentation

template<class Ch, class Tr , class Alloc >
boost::basic_format< Ch, Tr, Alloc >::basic_format ( const Ch *  str = NULL)
explicit
template<class Ch, class Tr , class Alloc >
boost::basic_format< Ch, Tr, Alloc >::basic_format ( const string_type s)
explicit
template<class Ch, class Tr , class Alloc >
boost::basic_format< Ch, Tr, Alloc >::basic_format ( const basic_format< Ch, Tr, Alloc > &  x)
template<class Ch, class Tr , class Alloc >
boost::basic_format< Ch, Tr, Alloc >::basic_format ( const Ch *  str,
const std::locale &  loc 
)
explicit
template<class Ch, class Tr , class Alloc >
boost::basic_format< Ch, Tr, Alloc >::basic_format ( const string_type s,
const std::locale &  loc 
)
explicit

Member Function Documentation

template<class Ch, class Tr, class Alloc>
template<class T >
basic_format& boost::basic_format< Ch, Tr, Alloc >::bind_arg ( int  argN,
const T val 
)
inline
template<class Ch , class Tr , class Alloc >
int boost::basic_format< Ch, Tr, Alloc >::bound_args ( ) const
template<class Ch , class Tr , class Alloc >
basic_format< Ch, Tr, Alloc > & boost::basic_format< Ch, Tr, Alloc >::clear ( )
template<class Ch , class Tr , class Alloc >
basic_format< Ch, Tr, Alloc > & boost::basic_format< Ch, Tr, Alloc >::clear_bind ( int  argN)
template<class Ch , class Tr , class Alloc >
basic_format< Ch, Tr, Alloc > & boost::basic_format< Ch, Tr, Alloc >::clear_binds ( )
template<class Ch , class Tr , class Alloc >
int boost::basic_format< Ch, Tr, Alloc >::cur_arg ( ) const
template<class Ch , class Tr , class Alloc >
unsigned char boost::basic_format< Ch, Tr, Alloc >::exceptions ( ) const

Referenced by boost::operator<<().

template<class Ch , class Tr , class Alloc >
unsigned char boost::basic_format< Ch, Tr, Alloc >::exceptions ( unsigned char  newexcept)
template<class Ch, class Tr, class Alloc>
int boost::basic_format< Ch, Tr, Alloc >::expected_args ( ) const
inline
template<class Ch , class Tr , class Alloc >
int boost::basic_format< Ch, Tr, Alloc >::fed_args ( ) const
template<class Ch , class Tr , class Alloc >
io::detail::locale_t boost::basic_format< Ch, Tr, Alloc >::getloc ( ) const
template<class Ch, class Tr, class Alloc>
template<class T >
basic_format& boost::basic_format< Ch, Tr, Alloc >::modify_item ( int  itemN,
T  manipulator 
)
inline
template<class Ch, class Tr, class Alloc>
template<class T >
basic_format& boost::basic_format< Ch, Tr, Alloc >::operator% ( const T x)
inline

References boost::flyweights::x.

template<class Ch, class Tr, class Alloc>
template<class T >
basic_format& boost::basic_format< Ch, Tr, Alloc >::operator% ( T x)
inline

References boost::flyweights::x.

template<class Ch , class Tr , class Alloc >
basic_format< Ch, Tr, Alloc > & boost::basic_format< Ch, Tr, Alloc >::operator= ( const basic_format< Ch, Tr, Alloc > &  x)
template<class Ch , class Tr , class Alloc >
int boost::basic_format< Ch, Tr, Alloc >::remaining_args ( ) const
template<class Ch , class Tr , class Alloc >
void boost::basic_format< Ch, Tr, Alloc >::swap ( basic_format< Ch, Tr, Alloc > &  x)

Friends And Related Function Documentation

template<class Ch, class Tr, class Alloc>
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  
)
friend
template<class Ch, class Tr, class Alloc>
template<class Ch2 , class Tr2 , class Alloc2 , class T >
void io::detail::distribute ( basic_format< Ch2, Tr2, Alloc2 > &  ,
T   
)
friend
template<class Ch, class Tr, class Alloc>
template<class Ch2 , class Tr2 , class Alloc2 , class T >
basic_format<Ch2, Tr2, Alloc2>& io::detail::feed_impl ( basic_format< Ch2, Tr2, Alloc2 > &  ,
T   
)
friend
template<class Ch, class Tr, class Alloc>
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   
)
friend
template<class Ch, class Tr, class Alloc>
template<class Ch2 , class Tr2 , class Alloc2 >
std::basic_ostream<Ch2, Tr2>& operator<< ( std::basic_ostream< Ch2, Tr2 > &  ,
const basic_format< Ch2, Tr2, Alloc2 > &   
)
friend

The documentation for this singleton was generated from the following files: