Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes | Friends | List of all members
boost::basic_format< Ch, Tr, Alloc > Class Template Reference

#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_formatbind_arg (int argN, const T &val)
 
int bound_args () const
 
basic_formatclear ()
 
basic_formatclear_bind (int argN)
 
basic_formatclear_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_formatmodify_item (int itemN, T manipulator)
 
template<class T >
basic_formatoperator% (const T &x)
 
template<class T >
basic_formatoperator% (T &x)
 
basic_formatoperator= (const basic_format &x)
 
basic_formatparse (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_titems_
 
boost::optional< io::detail::locale_tloc_
 
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 > &)
 

Detailed Description

template<class Ch, class Tr, class Alloc>
class boost::basic_format< Ch, Tr, Alloc >

Definition at line 30 of file format_class.hpp.

Member Typedef Documentation

template<class Ch, class Tr, class Alloc>
typedef Ch boost::basic_format< Ch, Tr, Alloc >::CharT

Definition at line 34 of file format_class.hpp.

template<class Ch, class Tr, class Alloc>
typedef io::CompatTraits<Tr>::compatible_type boost::basic_format< Ch, Tr, Alloc >::compat_traits
private

Definition at line 32 of file format_class.hpp.

template<class Ch, class Tr, class Alloc>
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.

template<class Ch, class Tr, class Alloc>
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.

template<class Ch, class Tr, class Alloc>
typedef string_type::size_type boost::basic_format< Ch, Tr, Alloc >::size_type

Definition at line 36 of file format_class.hpp.

template<class Ch, class Tr, class Alloc>
typedef io::detail::stream_format_state<Ch, Tr> boost::basic_format< Ch, Tr, Alloc >::stream_format_state
private

Definition at line 144 of file format_class.hpp.

template<class Ch, class Tr, class Alloc>
typedef std::basic_string<Ch, Tr, Alloc> boost::basic_format< Ch, Tr, Alloc >::string_type

Definition at line 35 of file format_class.hpp.

Member Enumeration Documentation

template<class Ch, class Tr, class Alloc>
enum boost::basic_format::style_values
private
Enumerator
ordered 
special_needs 

Definition at line 146 of file format_class.hpp.

Constructor & Destructor Documentation

template<class Ch, class Tr , class Alloc >
boost::basic_format< Ch, Tr, Alloc >::basic_format ( const Ch *  str = NULL)
explicit

Definition at line 28 of file format_implementation.hpp.

template<class Ch, class Tr , class Alloc >
boost::basic_format< Ch, Tr, Alloc >::basic_format ( const string_type s)
explicit

Definition at line 60 of file format_implementation.hpp.

template<class Ch, class Tr , class Alloc >
boost::basic_format< Ch, Tr, Alloc >::basic_format ( const basic_format< Ch, Tr, Alloc > &  x)

Definition at line 68 of file format_implementation.hpp.

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

Definition at line 38 of file format_implementation.hpp.

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

Definition at line 46 of file format_implementation.hpp.

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

Definition at line 98 of file format_class.hpp.

template<class Ch , class Tr , class Alloc >
int boost::basic_format< Ch, Tr, Alloc >::bound_args ( ) const

Definition at line 176 of file format_implementation.hpp.

template<class Ch , class Tr , class Alloc >
basic_format< Ch, Tr, Alloc > & boost::basic_format< Ch, Tr, Alloc >::clear ( void  )

Definition at line 131 of file format_implementation.hpp.

template<class Ch , class Tr , class Alloc >
basic_format< Ch, Tr, Alloc > & boost::basic_format< Ch, Tr, Alloc >::clear_bind ( int  argN)

Definition at line 162 of file format_implementation.hpp.

template<class Ch , class Tr , class Alloc >
basic_format< Ch, Tr, Alloc > & boost::basic_format< Ch, Tr, Alloc >::clear_binds ( )

Definition at line 153 of file format_implementation.hpp.

template<class Ch , class Tr , class Alloc >
int boost::basic_format< Ch, Tr, Alloc >::cur_arg ( ) const

Definition at line 200 of file format_implementation.hpp.

template<class Ch , class Tr , class Alloc >
unsigned char boost::basic_format< Ch, Tr, Alloc >::exceptions ( ) const

Definition at line 98 of file format_implementation.hpp.

template<class Ch , class Tr , class Alloc >
unsigned char boost::basic_format< Ch, Tr, Alloc >::exceptions ( unsigned char  newexcept)

Definition at line 103 of file format_implementation.hpp.

template<class Ch, class Tr, class Alloc>
int boost::basic_format< Ch, Tr, Alloc >::expected_args ( ) const
inline

Definition at line 84 of file format_class.hpp.

template<class Ch , class Tr , class Alloc >
int boost::basic_format< Ch, Tr, Alloc >::fed_args ( ) const

Definition at line 188 of file format_implementation.hpp.

template<class Ch , class Tr , class Alloc >
io::detail::locale_t boost::basic_format< Ch, Tr, Alloc >::getloc ( ) const

Definition at line 55 of file format_implementation.hpp.

template<class Ch , class Tr , class Alloc >
void boost::basic_format< Ch, Tr, Alloc >::make_or_reuse_data ( std::size_t  nbitems)
private

Definition at line 111 of file format_implementation.hpp.

template<class Ch, class Tr, class Alloc>
template<class T >
basic_format& boost::basic_format< Ch, Tr, Alloc >::modify_item ( int  itemN,
manipulator 
)
inline

Definition at line 102 of file format_class.hpp.

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

Definition at line 63 of file format_class.hpp.

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

Definition at line 67 of file format_class.hpp.

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)

Definition at line 77 of file format_implementation.hpp.

template<class Ch , class Tr , class Alloc >
basic_format< Ch, Tr, Alloc > & boost::basic_format< Ch, Tr, Alloc >::parse ( const string_type buf)

Definition at line 406 of file parsing.hpp.

template<class Ch , class Tr , class Alloc >
int boost::basic_format< Ch, Tr, Alloc >::remaining_args ( ) const

Definition at line 205 of file format_implementation.hpp.

template<class Ch , class Tr , class Alloc >
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.

template<class Ch , class Tr , class Alloc >
basic_format< Ch, Tr, Alloc >::string_type boost::basic_format< Ch, Tr, Alloc >::str ( ) const

Definition at line 218 of file format_implementation.hpp.

template<class Ch , class Tr , class Alloc >
void boost::basic_format< Ch, Tr, Alloc >::swap ( basic_format< Ch, Tr, Alloc > &  x)

Definition at line 85 of file format_implementation.hpp.

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 > &  ,
 
)
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 > &  ,
 
)
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  ,
 
)
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

Member Data Documentation

template<class Ch, class Tr, class Alloc>
std::vector<bool> boost::basic_format< Ch, Tr, Alloc >::bound_
private

Definition at line 153 of file format_class.hpp.

template<class Ch, class Tr, class Alloc>
internal_streambuf_t boost::basic_format< Ch, Tr, Alloc >::buf_
private

Definition at line 161 of file format_class.hpp.

template<class Ch, class Tr, class Alloc>
int boost::basic_format< Ch, Tr, Alloc >::cur_arg_
private

Definition at line 156 of file format_class.hpp.

template<class Ch, class Tr, class Alloc>
bool boost::basic_format< Ch, Tr, Alloc >::dumped_
mutableprivate

Definition at line 158 of file format_class.hpp.

template<class Ch, class Tr, class Alloc>
unsigned char boost::basic_format< Ch, Tr, Alloc >::exceptions_
private

Definition at line 160 of file format_class.hpp.

template<class Ch, class Tr, class Alloc>
std::vector<format_item_t> boost::basic_format< Ch, Tr, Alloc >::items_
private

Definition at line 152 of file format_class.hpp.

template<class Ch, class Tr, class Alloc>
boost::optional<io::detail::locale_t> boost::basic_format< Ch, Tr, Alloc >::loc_
private

Definition at line 162 of file format_class.hpp.

template<class Ch, class Tr, class Alloc>
int boost::basic_format< Ch, Tr, Alloc >::num_args_
private

Definition at line 157 of file format_class.hpp.

template<class Ch, class Tr, class Alloc>
string_type boost::basic_format< Ch, Tr, Alloc >::prefix_
private

Definition at line 159 of file format_class.hpp.

template<class Ch, class Tr, class Alloc>
int boost::basic_format< Ch, Tr, Alloc >::style_
private

Definition at line 155 of file format_class.hpp.


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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:33