Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
formatter.hpp File Reference

Defines Formatter generators. More...

#include <boost/detail/iterator.hpp>
#include <boost/range/value_type.hpp>
#include <boost/range/iterator_range_core.hpp>
#include <boost/range/as_literal.hpp>
#include <boost/algorithm/string/detail/formatter.hpp>
Include dependency graph for formatter.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::algorithm
 

Functions

template<typename RangeT >
detail::const_formatF
< iterator_range
< BOOST_STRING_TYPENAME
range_const_iterator< RangeT >
::type > > 
boost::algorithm::const_formatter (const RangeT &Format)
 Constant formatter. More...
 
template<typename RangeT >
detail::identity_formatF
< iterator_range
< BOOST_STRING_TYPENAME
range_const_iterator< RangeT >
::type > > 
boost::algorithm::identity_formatter ()
 Identity formatter. More...
 
template<typename RangeT >
detail::empty_formatF
< BOOST_STRING_TYPENAME
range_value< RangeT >::type > 
boost::algorithm::empty_formatter (const RangeT &)
 Empty formatter. More...
 
template<typename FinderT >
detail::dissect_formatF< FinderT > boost::algorithm::dissect_formatter (const FinderT &Finder)
 Empty formatter. More...
 

Detailed Description

Defines Formatter generators.

Formatter is a functor which formats a string according to given parameters. A Formatter works in conjunction with a Finder. A Finder can provide additional information for a specific Formatter. An example of such a cooperation is regex_finder and regex_formatter.

Formatters are used as pluggable components for replace facilities. This header contains generator functions for the Formatters provided in this library.