Defines various replace algorithms. More...
#include <boost/algorithm/string/config.hpp>
#include <boost/range/iterator_range_core.hpp>
#include <boost/range/begin.hpp>
#include <boost/range/end.hpp>
#include <boost/range/iterator.hpp>
#include <boost/range/const_iterator.hpp>
#include <boost/algorithm/string/find_format.hpp>
#include <boost/algorithm/string/finder.hpp>
#include <boost/algorithm/string/formatter.hpp>
#include <boost/algorithm/string/compare.hpp>
Namespaces | |
boost | |
Duration formatting facet for input. | |
boost::algorithm | |
Functions | |
template<typename OutputIteratorT , typename Range1T , typename Range2T > | |
OutputIteratorT | boost::algorithm::replace_range_copy (OutputIteratorT Output, const Range1T &Input, const iterator_range< BOOST_STRING_TYPENAME range_const_iterator< Range1T >::type > &SearchRange, const Range2T &Format) |
Replace range algorithm. More... | |
template<typename SequenceT , typename RangeT > | |
SequenceT | boost::algorithm::replace_range_copy (const SequenceT &Input, const iterator_range< BOOST_STRING_TYPENAME range_const_iterator< SequenceT >::type > &SearchRange, const RangeT &Format) |
Replace range algorithm. More... | |
template<typename SequenceT , typename RangeT > | |
void | boost::algorithm::replace_range (SequenceT &Input, const iterator_range< BOOST_STRING_TYPENAME range_iterator< SequenceT >::type > &SearchRange, const RangeT &Format) |
Replace range algorithm. More... | |
template<typename OutputIteratorT , typename Range1T , typename Range2T , typename Range3T > | |
OutputIteratorT | boost::algorithm::replace_first_copy (OutputIteratorT Output, const Range1T &Input, const Range2T &Search, const Range3T &Format) |
Replace first algorithm. More... | |
template<typename SequenceT , typename Range1T , typename Range2T > | |
SequenceT | boost::algorithm::replace_first_copy (const SequenceT &Input, const Range1T &Search, const Range2T &Format) |
Replace first algorithm. More... | |
template<typename SequenceT , typename Range1T , typename Range2T > | |
void | boost::algorithm::replace_first (SequenceT &Input, const Range1T &Search, const Range2T &Format) |
Replace first algorithm. More... | |
template<typename OutputIteratorT , typename Range1T , typename Range2T , typename Range3T > | |
OutputIteratorT | boost::algorithm::ireplace_first_copy (OutputIteratorT Output, const Range1T &Input, const Range2T &Search, const Range3T &Format, const std::locale &Loc=std::locale()) |
Replace first algorithm ( case insensitive ) More... | |
template<typename SequenceT , typename Range2T , typename Range1T > | |
SequenceT | boost::algorithm::ireplace_first_copy (const SequenceT &Input, const Range2T &Search, const Range1T &Format, const std::locale &Loc=std::locale()) |
Replace first algorithm ( case insensitive ) More... | |
template<typename SequenceT , typename Range1T , typename Range2T > | |
void | boost::algorithm::ireplace_first (SequenceT &Input, const Range1T &Search, const Range2T &Format, const std::locale &Loc=std::locale()) |
Replace first algorithm ( case insensitive ) More... | |
template<typename OutputIteratorT , typename Range1T , typename Range2T , typename Range3T > | |
OutputIteratorT | boost::algorithm::replace_last_copy (OutputIteratorT Output, const Range1T &Input, const Range2T &Search, const Range3T &Format) |
Replace last algorithm. More... | |
template<typename SequenceT , typename Range1T , typename Range2T > | |
SequenceT | boost::algorithm::replace_last_copy (const SequenceT &Input, const Range1T &Search, const Range2T &Format) |
Replace last algorithm. More... | |
template<typename SequenceT , typename Range1T , typename Range2T > | |
void | boost::algorithm::replace_last (SequenceT &Input, const Range1T &Search, const Range2T &Format) |
Replace last algorithm. More... | |
template<typename OutputIteratorT , typename Range1T , typename Range2T , typename Range3T > | |
OutputIteratorT | boost::algorithm::ireplace_last_copy (OutputIteratorT Output, const Range1T &Input, const Range2T &Search, const Range3T &Format, const std::locale &Loc=std::locale()) |
Replace last algorithm ( case insensitive ) More... | |
template<typename SequenceT , typename Range1T , typename Range2T > | |
SequenceT | boost::algorithm::ireplace_last_copy (const SequenceT &Input, const Range1T &Search, const Range2T &Format, const std::locale &Loc=std::locale()) |
Replace last algorithm ( case insensitive ) More... | |
template<typename SequenceT , typename Range1T , typename Range2T > | |
void | boost::algorithm::ireplace_last (SequenceT &Input, const Range1T &Search, const Range2T &Format, const std::locale &Loc=std::locale()) |
Replace last algorithm ( case insensitive ) More... | |
template<typename OutputIteratorT , typename Range1T , typename Range2T , typename Range3T > | |
OutputIteratorT | boost::algorithm::replace_nth_copy (OutputIteratorT Output, const Range1T &Input, const Range2T &Search, int Nth, const Range3T &Format) |
Replace nth algorithm. More... | |
template<typename SequenceT , typename Range1T , typename Range2T > | |
SequenceT | boost::algorithm::replace_nth_copy (const SequenceT &Input, const Range1T &Search, int Nth, const Range2T &Format) |
Replace nth algorithm. More... | |
template<typename SequenceT , typename Range1T , typename Range2T > | |
void | boost::algorithm::replace_nth (SequenceT &Input, const Range1T &Search, int Nth, const Range2T &Format) |
Replace nth algorithm. More... | |
template<typename OutputIteratorT , typename Range1T , typename Range2T , typename Range3T > | |
OutputIteratorT | boost::algorithm::ireplace_nth_copy (OutputIteratorT Output, const Range1T &Input, const Range2T &Search, int Nth, const Range3T &Format, const std::locale &Loc=std::locale()) |
Replace nth algorithm ( case insensitive ) More... | |
template<typename SequenceT , typename Range1T , typename Range2T > | |
SequenceT | boost::algorithm::ireplace_nth_copy (const SequenceT &Input, const Range1T &Search, int Nth, const Range2T &Format, const std::locale &Loc=std::locale()) |
Replace nth algorithm ( case insensitive ) More... | |
template<typename SequenceT , typename Range1T , typename Range2T > | |
void | boost::algorithm::ireplace_nth (SequenceT &Input, const Range1T &Search, int Nth, const Range2T &Format, const std::locale &Loc=std::locale()) |
Replace nth algorithm ( case insensitive ) More... | |
template<typename OutputIteratorT , typename Range1T , typename Range2T , typename Range3T > | |
OutputIteratorT | boost::algorithm::replace_all_copy (OutputIteratorT Output, const Range1T &Input, const Range2T &Search, const Range3T &Format) |
Replace all algorithm. More... | |
template<typename SequenceT , typename Range1T , typename Range2T > | |
SequenceT | boost::algorithm::replace_all_copy (const SequenceT &Input, const Range1T &Search, const Range2T &Format) |
Replace all algorithm. More... | |
template<typename SequenceT , typename Range1T , typename Range2T > | |
void | boost::algorithm::replace_all (SequenceT &Input, const Range1T &Search, const Range2T &Format) |
Replace all algorithm. More... | |
template<typename OutputIteratorT , typename Range1T , typename Range2T , typename Range3T > | |
OutputIteratorT | boost::algorithm::ireplace_all_copy (OutputIteratorT Output, const Range1T &Input, const Range2T &Search, const Range3T &Format, const std::locale &Loc=std::locale()) |
Replace all algorithm ( case insensitive ) More... | |
template<typename SequenceT , typename Range1T , typename Range2T > | |
SequenceT | boost::algorithm::ireplace_all_copy (const SequenceT &Input, const Range1T &Search, const Range2T &Format, const std::locale &Loc=std::locale()) |
Replace all algorithm ( case insensitive ) More... | |
template<typename SequenceT , typename Range1T , typename Range2T > | |
void | boost::algorithm::ireplace_all (SequenceT &Input, const Range1T &Search, const Range2T &Format, const std::locale &Loc=std::locale()) |
Replace all algorithm ( case insensitive ) More... | |
template<typename OutputIteratorT , typename Range1T , typename Range2T > | |
OutputIteratorT | boost::algorithm::replace_head_copy (OutputIteratorT Output, const Range1T &Input, int N, const Range2T &Format) |
Replace head algorithm. More... | |
template<typename SequenceT , typename RangeT > | |
SequenceT | boost::algorithm::replace_head_copy (const SequenceT &Input, int N, const RangeT &Format) |
Replace head algorithm. More... | |
template<typename SequenceT , typename RangeT > | |
void | boost::algorithm::replace_head (SequenceT &Input, int N, const RangeT &Format) |
Replace head algorithm. More... | |
template<typename OutputIteratorT , typename Range1T , typename Range2T > | |
OutputIteratorT | boost::algorithm::replace_tail_copy (OutputIteratorT Output, const Range1T &Input, int N, const Range2T &Format) |
Replace tail algorithm. More... | |
template<typename SequenceT , typename RangeT > | |
SequenceT | boost::algorithm::replace_tail_copy (const SequenceT &Input, int N, const RangeT &Format) |
Replace tail algorithm. More... | |
template<typename SequenceT , typename RangeT > | |
void | boost::algorithm::replace_tail (SequenceT &Input, int N, const RangeT &Format) |
Replace tail algorithm. More... | |
Defines various replace algorithms.
Each algorithm replaces part(s) of the input according to set of searching and replace criteria.