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

Classification predicates are included in the library to give some more convenience when using algorithms like trim() and all(). More...

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

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::algorithm
 

Functions

detail::is_classifiedF boost::algorithm::is_classified (std::ctype_base::mask Type, const std::locale &Loc=std::locale())
 is_classified predicate More...
 
detail::is_classifiedF boost::algorithm::is_space (const std::locale &Loc=std::locale())
 is_space predicate More...
 
detail::is_classifiedF boost::algorithm::is_alnum (const std::locale &Loc=std::locale())
 is_alnum predicate More...
 
detail::is_classifiedF boost::algorithm::is_alpha (const std::locale &Loc=std::locale())
 is_alpha predicate More...
 
detail::is_classifiedF boost::algorithm::is_cntrl (const std::locale &Loc=std::locale())
 is_cntrl predicate More...
 
detail::is_classifiedF boost::algorithm::is_digit (const std::locale &Loc=std::locale())
 is_digit predicate More...
 
detail::is_classifiedF boost::algorithm::is_graph (const std::locale &Loc=std::locale())
 is_graph predicate More...
 
detail::is_classifiedF boost::algorithm::is_lower (const std::locale &Loc=std::locale())
 is_lower predicate More...
 
detail::is_classifiedF boost::algorithm::is_print (const std::locale &Loc=std::locale())
 is_print predicate More...
 
detail::is_classifiedF boost::algorithm::is_punct (const std::locale &Loc=std::locale())
 is_punct predicate More...
 
detail::is_classifiedF boost::algorithm::is_upper (const std::locale &Loc=std::locale())
 is_upper predicate More...
 
detail::is_classifiedF boost::algorithm::is_xdigit (const std::locale &Loc=std::locale())
 is_xdigit predicate More...
 
template<typename RangeT >
detail::is_any_ofF
< BOOST_STRING_TYPENAME
range_value< RangeT >::type > 
boost::algorithm::is_any_of (const RangeT &Set)
 is_any_of predicate More...
 
template<typename CharT >
detail::is_from_rangeF< CharT > boost::algorithm::is_from_range (CharT From, CharT To)
 is_from_range predicate More...
 
template<typename Pred1T , typename Pred2T >
detail::pred_andF< Pred1T, Pred2T > boost::algorithm::operator&& (const predicate_facade< Pred1T > &Pred1, const predicate_facade< Pred2T > &Pred2)
 predicate 'and' composition predicate More...
 
template<typename Pred1T , typename Pred2T >
detail::pred_orF< Pred1T, Pred2T > boost::algorithm::operator|| (const predicate_facade< Pred1T > &Pred1, const predicate_facade< Pred2T > &Pred2)
 predicate 'or' composition predicate More...
 
template<typename PredT >
detail::pred_notF< PredT > boost::algorithm::operator! (const predicate_facade< PredT > &Pred)
 predicate negation operator More...
 

Detailed Description

Classification predicates are included in the library to give some more convenience when using algorithms like trim() and all().

They wrap functionality of STL classification functions ( e.g. std::isspace() ) into generic functors.