Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::xpressive::detail Namespace Reference

Classes

struct  action_arg
 
struct  ActionArgBinding
 
struct  any_type
 
struct  BindArg
 
struct  BindArgs
 
struct  c_regex_traits_base
 
struct  c_regex_traits_base< Char, 1 >
 
struct  c_regex_traits_base< wchar_t, SizeOfChar >
 
struct  case_converting_iterator
 
struct  char_overflow_handler_
 
struct  check_tag
 
struct  cpp_regex_traits_base
 
struct  cpp_regex_traits_base< Char, 1 >
 
struct  default_regex_traits
 
struct  empty_locale
 
struct  formatter_arity
 
struct  formatter_arity< Formatter, What, Out, typename Formatter::proto_is_expr_ >
 
struct  formatter_wrapper
 
struct  formatter_wrapper< Formatter *, false >
 
struct  formatter_wrapper< Formatter, true >
 
struct  is_char_ptr
 
struct  is_char_ptr< T * >
 
struct  let_
 
struct  let_domain
 
struct  let_tag
 
struct  mark_nbr
 
struct  mark_number
 
struct  mask_cast
 
struct  noop_output_iterator
 
struct  not_a_locale
 
struct  Primitives
 
struct  push_back
 
struct  regex_iterator_impl
 
struct  regex_token_iterator_impl
 
struct  ReplaceAlgo
 
struct  results_extras
 
struct  skip_directive
 
struct  skip_primitives
 
struct  SkipGrammar
 
struct  SubMatch
 
struct  SubMatchList
 
struct  type_info_less
 
struct  unary_binary_ternary
 
struct  unused_mask
 
struct  unused_mask< In, Out, true >
 
struct  value_wrapper
 

Typedefs

typedef char no_type
 
typedef char(& unary_type )[2]
 
typedef char(& binary_type )[3]
 
typedef char(& ternary_type )[4]
 
typedef
boost::proto::functional::make_expr
< proto::tag::function,
proto::default_domain
make_function
 
typedef
assert_word_placeholder
< word_boundary< mpl::true_ > > 
assert_word_boundary
 
typedef
assert_word_placeholder
< word_begin > 
assert_word_begin
 
typedef
assert_word_placeholder
< word_end > 
assert_word_end
 
typedef mpl::int_<-1 > minus_one
 
typedef boost::uint_t< sizeof(std::ctype_base::mask)*CHAR_BIT >
::least 
umask_t
 
typedef boost::uint_t
< umaskex_bits >::fast 
umaskex_t
 
typedef proto::expr
< proto::tag::terminal,
proto::term< mark_placeholder >, 0 > 
basic_mark_tag
 

Enumerations

enum  transform_op {
  op_none = 0,
  op_upper = 1,
  op_lower = 2
}
 
enum  transform_scope {
  scope_next = 0,
  scope_rest = 1
}
 

Functions

void throw_on_stack_error (bool stack_error)
 
template<typename Iterator >
bool set_transform (Iterator &, transform_op, transform_scope)
 
no_type check_is_formatter (unary_type, binary_type, ternary_type)
 
template<typename T >
unary_type check_is_formatter (T const &, binary_type, ternary_type)
 
template<typename T >
binary_type check_is_formatter (unary_type, T const &, ternary_type)
 
template<typename T , typename U >
binary_type check_is_formatter (T const &, U const &, ternary_type)
 
template<typename T >
ternary_type check_is_formatter (unary_type, binary_type, T const &)
 
template<typename T , typename U >
ternary_type check_is_formatter (T const &, binary_type, U const &)
 
template<typename T , typename U >
ternary_type check_is_formatter (unary_type, T const &, U const &)
 
template<typename T , typename U , typename V >
ternary_type check_is_formatter (T const &, U const &, V const &)
 
template<typename Args , typename BidiIter >
void bind_args (let_< Args > const &args, match_results< BidiIter > &what)
 
void ignore_unused_regex_actions ()
 
template<typename BidiIter >
bool regex_match_impl (typename mpl::identity< BidiIter >::type begin, typename mpl::identity< BidiIter >::type end, match_results< BidiIter > &what, basic_regex< BidiIter > const &re, regex_constants::match_flag_type flags=regex_constants::match_default)
 
template<typename BidiIter >
bool regex_search_impl (match_state< BidiIter > &state, basic_regex< BidiIter > const &re, bool not_initial_null=false)
 
template<typename OutIter , typename BidiIter , typename Formatter >
OutIter regex_replace_impl (OutIter out, BidiIter begin, BidiIter end, basic_regex< BidiIter > const &re, Formatter const &format, regex_constants::match_flag_type flags=regex_constants::match_default)
 
bool ensure_ (bool cond, regex_constants::error_type code, char const *msg, char const *fun, char const *file, unsigned long line)
 
template<typename Subs >
enable_if< mpl::and_
< proto::is_expr< Subs >
, proto::matches< Subs,
SubMatchList > >, std::vector
< int > >::type 
to_vector (Subs const &subs)
 
void ignore_unused_regex_primitives ()
 
int get_mark_number (int i)
 
std::vector< int > to_vector (int subs)
 
std::vector< int > const & to_vector (std::vector< int > const &subs)
 
template<typename Int , std::size_t Size>
std::vector< int > to_vector (Int const (&sub_matches)[Size])
 
template<typename Int >
std::vector< int > to_vector (std::vector< Int > const &sub_matches)
 
template<typename Char >
Char c_tolower (Char)
 
template<typename Char >
Char c_toupper (Char)
 
template<>
char c_tolower (char ch)
 
template<>
char c_toupper (char ch)
 
template<>
wchar_t c_tolower (wchar_t ch)
 
template<>
wchar_t c_toupper (wchar_t ch)
 
 BOOST_MPL_ASSERT_RELATION (sizeof(std::ctype_base::mask),==, sizeof(umask_t))
 
 BOOST_MPL_ASSERT_RELATION (sizeof(umask_t),<=, sizeof(umaskex_t))
 

Variables

int const umaskex_bits = (14 > (sizeof(umask_t) * CHAR_BIT)) ? 14 : sizeof(umask_t) * CHAR_BIT
 
umaskex_t const highest_bit = static_cast<umaskex_t>(1) << (sizeof(umaskex_t) * CHAR_BIT - 1)
 
umaskex_t const std_ctype_alnum = mask_cast<std::ctype_base::alnum>::value
 
umaskex_t const std_ctype_alpha = mask_cast<std::ctype_base::alpha>::value
 
umaskex_t const std_ctype_cntrl = mask_cast<std::ctype_base::cntrl>::value
 
umaskex_t const std_ctype_digit = mask_cast<std::ctype_base::digit>::value
 
umaskex_t const std_ctype_graph = mask_cast<std::ctype_base::graph>::value
 
umaskex_t const std_ctype_lower = mask_cast<std::ctype_base::lower>::value
 
umaskex_t const std_ctype_print = mask_cast<std::ctype_base::print>::value
 
umaskex_t const std_ctype_punct = mask_cast<std::ctype_base::punct>::value
 
umaskex_t const std_ctype_space = mask_cast<std::ctype_base::space>::value
 
umaskex_t const std_ctype_upper = mask_cast<std::ctype_base::upper>::value
 
umaskex_t const std_ctype_xdigit = mask_cast<std::ctype_base::xdigit>::value
 
umaskex_t const std_ctype_reserved = 0
 
umaskex_t const all_ctype_masks
 
umaskex_t const non_std_ctype_underscore = unused_mask<all_ctype_masks>::value
 
umaskex_t const non_std_ctype_blank = unused_mask<all_ctype_masks | non_std_ctype_underscore>::value
 
umaskex_t const non_std_ctype_newline = unused_mask<all_ctype_masks | non_std_ctype_underscore | non_std_ctype_blank>::value
 
umaskex_t const non_std_ctype_masks = non_std_ctype_underscore | non_std_ctype_blank | non_std_ctype_newline
 

Typedef Documentation

typedef assert_word_placeholder<word_begin> boost::xpressive::detail::assert_word_begin
typedef assert_word_placeholder<word_boundary<mpl::true_> > boost::xpressive::detail::assert_word_boundary
typedef assert_word_placeholder<word_end> boost::xpressive::detail::assert_word_end
typedef proto::expr<proto::tag::terminal, proto::term<mark_placeholder>, 0> boost::xpressive::detail::basic_mark_tag
typedef char(& boost::xpressive::detail::binary_type)[3]
typedef mpl::int_<-1> boost::xpressive::detail::minus_one
typedef char(& boost::xpressive::detail::ternary_type)[4]
typedef boost::uint_t<sizeof(std::ctype_base::mask) * CHAR_BIT>::least boost::xpressive::detail::umask_t
typedef char(& boost::xpressive::detail::unary_type)[2]

Enumeration Type Documentation

Enumerator
op_none 
op_upper 
op_lower 
Enumerator
scope_next 
scope_rest 

Function Documentation

template<typename Args , typename BidiIter >
void boost::xpressive::detail::bind_args ( let_< Args > const &  args,
match_results< BidiIter > &  what 
)
boost::xpressive::detail::BOOST_MPL_ASSERT_RELATION ( sizeof(std::ctype_base::mask)  ,
sizeof(umask_t)   
)
boost::xpressive::detail::BOOST_MPL_ASSERT_RELATION ( sizeof(umask_t)  ,
<=  ,
sizeof(umaskex_t)   
)
template<>
char boost::xpressive::detail::c_tolower ( char  ch)
inline
template<>
wchar_t boost::xpressive::detail::c_tolower ( wchar_t  ch)
inline
template<>
char boost::xpressive::detail::c_toupper ( char  ch)
inline
template<>
wchar_t boost::xpressive::detail::c_toupper ( wchar_t  ch)
inline
no_type boost::xpressive::detail::check_is_formatter ( unary_type  ,
binary_type  ,
ternary_type   
)
template<typename T >
unary_type boost::xpressive::detail::check_is_formatter ( T const &  ,
binary_type  ,
ternary_type   
)
template<typename T >
binary_type boost::xpressive::detail::check_is_formatter ( unary_type  ,
T const &  ,
ternary_type   
)
template<typename T , typename U >
binary_type boost::xpressive::detail::check_is_formatter ( T const &  ,
U const &  ,
ternary_type   
)
template<typename T >
ternary_type boost::xpressive::detail::check_is_formatter ( unary_type  ,
binary_type  ,
T const &   
)
template<typename T , typename U >
ternary_type boost::xpressive::detail::check_is_formatter ( T const &  ,
binary_type  ,
U const &   
)
template<typename T , typename U >
ternary_type boost::xpressive::detail::check_is_formatter ( unary_type  ,
T const &  ,
U const &   
)
template<typename T , typename U , typename V >
ternary_type boost::xpressive::detail::check_is_formatter ( T const &  ,
U const &  ,
V const &   
)
bool boost::xpressive::detail::ensure_ ( bool  cond,
regex_constants::error_type  code,
char const *  msg,
char const *  fun,
char const *  file,
unsigned long  line 
)
inline
int boost::xpressive::detail::get_mark_number ( int  i)
inline

References boost::multiprecision::backends::i.

Referenced by to_vector().

template<typename BidiIter >
bool boost::xpressive::detail::regex_match_impl ( typename mpl::identity< BidiIter >::type  begin,
typename mpl::identity< BidiIter >::type  end,
match_results< BidiIter > &  what,
basic_regex< BidiIter > const &  re,
regex_constants::match_flag_type  flags = regex_constants::match_default 
)
inline
template<typename OutIter , typename BidiIter , typename Formatter >
OutIter boost::xpressive::detail::regex_replace_impl ( OutIter  out,
BidiIter  begin,
BidiIter  end,
basic_regex< BidiIter > const &  re,
Formatter const &  format,
regex_constants::match_flag_type  flags = regex_constants::match_default 
)
inline
template<typename BidiIter >
bool boost::xpressive::detail::regex_search_impl ( match_state< BidiIter > &  state,
basic_regex< BidiIter > const &  re,
bool  not_initial_null = false 
)
inline
template<typename Iterator >
bool boost::xpressive::detail::set_transform ( Iterator &  ,
transform_op  ,
transform_scope   
)
inline
void boost::xpressive::detail::throw_on_stack_error ( bool  stack_error)
inline
template<typename Subs >
enable_if< mpl::and_<proto::is_expr<Subs>, proto::matches<Subs, SubMatchList> > , std::vector<int> >::type boost::xpressive::detail::to_vector ( Subs const &  subs)
std::vector<int> boost::xpressive::detail::to_vector ( int  subs)
inline
std::vector<int> const& boost::xpressive::detail::to_vector ( std::vector< int > const &  subs)
inline
template<typename Int , std::size_t Size>
std::vector<int> boost::xpressive::detail::to_vector ( Int const (&)  sub_matches[Size])
inline
template<typename Int >
std::vector<int> boost::xpressive::detail::to_vector ( std::vector< Int > const &  sub_matches)
inline

References BOOST_MPL_ASSERT.

Variable Documentation

umaskex_t const boost::xpressive::detail::all_ctype_masks
Initial value:
umaskex_t const std_ctype_cntrl
Definition: cpp_regex_traits.hpp:111
umaskex_t const std_ctype_punct
Definition: cpp_regex_traits.hpp:116
umaskex_t const std_ctype_xdigit
Definition: cpp_regex_traits.hpp:119
umaskex_t const std_ctype_space
Definition: cpp_regex_traits.hpp:117
umaskex_t const std_ctype_digit
Definition: cpp_regex_traits.hpp:112
umaskex_t const std_ctype_lower
Definition: cpp_regex_traits.hpp:114
umaskex_t const std_ctype_print
Definition: cpp_regex_traits.hpp:115
umaskex_t const std_ctype_reserved
Definition: cpp_regex_traits.hpp:129
umaskex_t const std_ctype_alpha
Definition: cpp_regex_traits.hpp:110
umaskex_t const std_ctype_graph
Definition: cpp_regex_traits.hpp:113
umaskex_t const std_ctype_alnum
Definition: cpp_regex_traits.hpp:109
umaskex_t const std_ctype_upper
Definition: cpp_regex_traits.hpp:118
umaskex_t const boost::xpressive::detail::highest_bit = static_cast<umaskex_t>(1) << (sizeof(umaskex_t) * CHAR_BIT - 1)
umaskex_t const boost::xpressive::detail::non_std_ctype_blank = unused_mask<all_ctype_masks | non_std_ctype_underscore>::value
umaskex_t const boost::xpressive::detail::non_std_ctype_masks = non_std_ctype_underscore | non_std_ctype_blank | non_std_ctype_newline
umaskex_t const boost::xpressive::detail::non_std_ctype_newline = unused_mask<all_ctype_masks | non_std_ctype_underscore | non_std_ctype_blank>::value
umaskex_t const boost::xpressive::detail::non_std_ctype_underscore = unused_mask<all_ctype_masks>::value
umaskex_t const boost::xpressive::detail::std_ctype_alnum = mask_cast<std::ctype_base::alnum>::value
umaskex_t const boost::xpressive::detail::std_ctype_alpha = mask_cast<std::ctype_base::alpha>::value
umaskex_t const boost::xpressive::detail::std_ctype_cntrl = mask_cast<std::ctype_base::cntrl>::value
umaskex_t const boost::xpressive::detail::std_ctype_digit = mask_cast<std::ctype_base::digit>::value
umaskex_t const boost::xpressive::detail::std_ctype_graph = mask_cast<std::ctype_base::graph>::value
umaskex_t const boost::xpressive::detail::std_ctype_lower = mask_cast<std::ctype_base::lower>::value
umaskex_t const boost::xpressive::detail::std_ctype_print = mask_cast<std::ctype_base::print>::value
umaskex_t const boost::xpressive::detail::std_ctype_punct = mask_cast<std::ctype_base::punct>::value
umaskex_t const boost::xpressive::detail::std_ctype_reserved = 0
umaskex_t const boost::xpressive::detail::std_ctype_space = mask_cast<std::ctype_base::space>::value
umaskex_t const boost::xpressive::detail::std_ctype_upper = mask_cast<std::ctype_base::upper>::value
umaskex_t const boost::xpressive::detail::std_ctype_xdigit = mask_cast<std::ctype_base::xdigit>::value
int const boost::xpressive::detail::umaskex_bits = (14 > (sizeof(umask_t) * CHAR_BIT)) ? 14 : sizeof(umask_t) * CHAR_BIT