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

Namespaces

 detail
 

Classes

struct  absolute_value
 
struct  append_container
 
struct  associative_attribute
 
struct  attribute_category
 
struct  attribute_category< T, typename enable_if< mpl::and_< fusion::traits::is_sequence< T >, mpl::not_< fusion::traits::is_associative< T > > > >::type >
 
struct  attribute_category< T, typename enable_if< traits::is_container< T > >::type >
 
struct  attribute_category< T, typename enable_if< traits::is_variant< T > >::type >
 
struct  attribute_category< T, typename enable_if< typename mpl::eval_if< fusion::traits::is_sequence< T >, fusion::traits::is_associative< T >, mpl::false_ >::type >::type >
 
struct  attribute_category< unused_type >
 
struct  attribute_category< unused_type const >
 
struct  attribute_of
 
struct  attribute_of< x3::alternative< Left, Right >, Context >
 
struct  attribute_of< x3::difference< Left, Right >, Context >
 
struct  attribute_of< x3::kleene< Subject >, Context >
 
struct  attribute_of< x3::list< Left, Right >, Context >
 
struct  attribute_of< x3::negated_char_parser< Positive >, Context >
 
struct  attribute_of< x3::optional< Subject >, Context >
 
struct  attribute_of< x3::plus< Subject >, Context >
 
struct  attribute_of< x3::sequence< Left, Right >, Context >
 
struct  attribute_type
 
struct  begin_container
 
struct  build_container
 
struct  build_container< boost::fusion::deque< T > >
 
struct  build_container< char >
 
struct  build_container< unused_type >
 
struct  build_optional
 
struct  build_optional< boost::optional< T > >
 
struct  build_optional< unused_type >
 
struct  char_type_of
 
struct  char_type_of< char * >
 
struct  char_type_of< char >
 
struct  char_type_of< char const (&)[N]>
 
struct  char_type_of< char const * >
 
struct  char_type_of< char const [N]>
 
struct  char_type_of< char(&)[N]>
 
struct  char_type_of< char[N]>
 
struct  char_type_of< std::basic_string< T, Traits, Allocator > >
 
struct  char_type_of< T const >
 
struct  char_type_of< wchar_t * >
 
struct  char_type_of< wchar_t >
 
struct  char_type_of< wchar_t const (&)[N]>
 
struct  char_type_of< wchar_t const * >
 
struct  char_type_of< wchar_t const [N]>
 
struct  char_type_of< wchar_t(&)[N]>
 
struct  char_type_of< wchar_t[N]>
 
struct  check_overflow
 
struct  check_overflow< T, typename enable_if_c< integer_traits< T >::is_integral >::type >
 
struct  compare_iterators
 
struct  container_attribute
 
struct  container_iterator
 
struct  container_iterator< Container const >
 
struct  container_iterator< unused_type >
 
struct  container_iterator< unused_type const >
 
struct  container_value
 
struct  container_value< Container const >
 
struct  container_value< T, typename enable_if< typename mpl::eval_if< fusion::traits::is_sequence< T >, fusion::traits::is_associative< T >, mpl::false_ >::type >::type >
 
struct  container_value< unused_type >
 
struct  deref_iterator
 
struct  end_container
 
struct  extract_c_string
 
struct  extract_c_string< std::basic_string< T, Traits, Allocator > >
 
struct  extract_c_string< T & >
 
struct  extract_c_string< T const >
 
struct  extract_c_string< T const & >
 
struct  handles_container
 
struct  has_attribute
 
struct  has_attribute< x3::binary_parser< Left, Right, Derived >, Context >
 
struct  has_attribute< x3::difference< Left, Right >, Context >
 
struct  has_attribute< x3::negated_char_parser< Positive >, Context >
 
struct  has_attribute< x3::unary_parser< Subject, Derived >, Context >
 
struct  has_same_size
 
struct  has_size
 
struct  is_bool
 
struct  is_bool< bool >
 
struct  is_bool< T const >
 
struct  is_char
 
struct  is_char< char >
 
struct  is_char< T const >
 
struct  is_char< wchar_t >
 
struct  is_container
 
struct  is_empty_container
 
struct  is_infinite
 
struct  is_int
 
struct  is_int< int >
 
struct  is_int< long >
 
struct  is_int< short >
 
struct  is_int< T const >
 
struct  is_nan
 
struct  is_negative
 
struct  is_optional
 
struct  is_optional< boost::optional< T > >
 
struct  is_parser
 
struct  is_parser< T, typename disable_if_substitution_failure< typename extension::as_parser< T >::type >::type >
 
struct  is_real
 
struct  is_real< double >
 
struct  is_real< float >
 
struct  is_real< long double >
 
struct  is_real< T const >
 
struct  is_rule
 
struct  is_rule< rule< ID, Attribute > >
 
struct  is_rule< rule_definition< ID, RHS, Attribute, force_attribute > >
 
struct  is_same_size_sequence
 
struct  is_size_one_sequence
 
struct  is_string
 
struct  is_string< char * >
 
struct  is_string< char const (&)[N]>
 
struct  is_string< char const * >
 
struct  is_string< char const [N]>
 
struct  is_string< char(&)[N]>
 
struct  is_string< char[N]>
 
struct  is_string< std::basic_string< T, Traits, Allocator > >
 
struct  is_string< T const >
 
struct  is_string< wchar_t * >
 
struct  is_string< wchar_t const (&)[N]>
 
struct  is_string< wchar_t const * >
 
struct  is_string< wchar_t const [N]>
 
struct  is_string< wchar_t(&)[N]>
 
struct  is_string< wchar_t[N]>
 
struct  is_substitute
 
struct  is_substitute< optional< T >, optional< Attribute > >
 
struct  is_substitute< T &, Attribute, Enable >
 
struct  is_substitute< T, Attribute &, Enable >
 
struct  is_substitute< T, Attribute, typename enable_if< typename mpl::eval_if< mpl::and_< fusion::traits::is_sequence< T >, fusion::traits::is_sequence< Attribute > >, mpl::and_< traits::has_size< T, 2 >, fusion::traits::is_associative< Attribute > >, mpl::false_ >::type >::type >
 
struct  is_uint
 
struct  is_uint< T const >
 
struct  is_uint< unsigned int >
 
struct  is_uint< unsigned long >
 
struct  is_uint< unsigned short >
 
struct  is_variant
 
struct  is_variant< boost::variant< BOOST_VARIANT_ENUM_PARAMS(T)> >
 
struct  is_zero
 
struct  make_attribute
 
struct  make_attribute< Attribute &, ActualAttribute >
 
struct  make_attribute< Attribute const &, ActualAttribute >
 
struct  make_attribute< Attribute, unused_type >
 
struct  make_attribute< unused_type, ActualAttribute >
 
struct  make_attribute< unused_type, unused_type >
 
struct  make_attribute_base
 
struct  next_iterator
 
struct  optional_attribute
 
struct  optional_value
 
struct  optional_value< boost::optional< T > >
 
struct  optional_value< unused_type >
 
struct  optional_value< unused_type const >
 
struct  plain_attribute
 
struct  pow10_helper
 
struct  print_attribute_debug
 
struct  push_back_container
 
struct  token_printer_debug
 
struct  transform_attribute
 
struct  tuple_attribute
 
struct  unused_attribute
 
struct  value_initialize
 
struct  variant_attribute
 
struct  variant_find_substitute
 
struct  variant_find_substitute< Variant, Variant >
 
struct  variant_has_substitute
 
struct  variant_has_substitute< unused_type const, Attribute >
 
struct  variant_has_substitute< unused_type, Attribute >
 
struct  variant_has_substitute_impl
 

Functions

template<typename T >
T pow10 (unsigned dim)
 
template<typename Container , typename T >
bool push_back (Container &c, T &&val)
 
template<typename Container >
bool push_back (Container &, unused_type)
 
template<typename T >
bool push_back (unused_type, T const &)
 
bool push_back (unused_type, unused_type)
 
template<typename Container , typename Iterator >
bool append (Container &c, Iterator first, Iterator last)
 
template<typename Iterator >
bool append (unused_type, Iterator first, Iterator last)
 
template<typename Container >
bool is_empty (Container const &c)
 
bool is_empty (unused_type)
 
template<typename Container >
container_iterator< Container >
::type 
begin (Container &c)
 
unused_type const * begin (unused_type)
 
template<typename Container >
container_iterator< Container >
::type 
end (Container &c)
 
unused_type const * end (unused_type)
 
template<typename Iterator >
deref_iterator< Iterator >::type deref (Iterator &it)
 
unused_type deref (unused_type const *)
 
template<typename Iterator >
void next (Iterator &it)
 
void next (unused_type const *)
 
template<typename Iterator >
bool compare (Iterator &it1, Iterator &it2)
 
bool compare (unused_type const *, unused_type const *)
 
template<typename Source , typename Dest >
void move_to (Source &&src, Dest &dest)
 
template<typename Dest >
void move_to (unused_type, Dest &)
 
template<typename Source >
void move_to (Source &, unused_type)
 
void move_to (unused_type, unused_type)
 
template<typename Iterator , typename Dest >
void move_to (Iterator first, Iterator last, Dest &dest)
 
template<typename Iterator >
void move_to (Iterator, Iterator, unused_type)
 
template<typename T >
void move_to (T &src, T &dest)
 
template<typename T >
void move_to (T const &src, T &dest)
 
template<typename T >
void move_to (T &&src, T &dest)
 
template<typename Out , typename T >
void print_attribute (Out &out, T const &val)
 
template<typename Out >
void print_attribute (Out &, unused_type)
 
template<typename Out , typename T >
void print_token (Out &out, T const &val)
 
template<typename T >
extract_c_string< T * >
::char_type const * 
get_c_string (T *str)
 
template<typename T >
extract_c_string< T const * >
::char_type const * 
get_c_string (T const *str)
 
template<typename String >
extract_c_string< String >
::char_type const * 
get_c_string (String &str)
 
template<typename String >
extract_c_string< String >
::char_type const * 
get_c_string (String const &str)
 
template<typename T >
T const * get_string_begin (T const *str)
 
template<typename T >
Tget_string_begin (T *str)
 
template<typename T >
T const * get_string_end (T const *str)
 
template<typename T >
Tget_string_end (T *str)
 
template<typename T , typename Str >
Str::const_iterator get_string_begin (Str const &str)
 
template<typename T , typename Str >
Str::iterator get_string_begin (Str &str)
 
template<typename T , typename Str >
Str::const_iterator get_string_end (Str const &str)
 
template<typename T , typename Str >
Str::iterator get_string_end (Str &str)
 
template<typename Tag , typename Transformed , typename Exposed >
transform_attribute< Exposed,
Transformed, Tag >::type 
pre_transform (Exposed &attr)
 
template<typename Tag , typename Transformed , typename Exposed >
transform_attribute< Exposed,
Transformed, Tag >::type 
pre_transform (Exposed const &attr)
 

Function Documentation

template<typename Container , typename Iterator >
bool boost::spirit::x3::traits::append ( Container &  c,
Iterator  first,
Iterator  last 
)
inline
template<typename Iterator >
bool boost::spirit::x3::traits::append ( unused_type  ,
Iterator  first,
Iterator  last 
)
inline
template<typename Container >
container_iterator<Container>::type boost::spirit::x3::traits::begin ( Container &  c)
inline
unused_type const* boost::spirit::x3::traits::begin ( unused_type  )
inline
template<typename Iterator >
bool boost::spirit::x3::traits::compare ( Iterator &  it1,
Iterator &  it2 
)
bool boost::spirit::x3::traits::compare ( unused_type const *  ,
unused_type const *   
)
inline
template<typename Iterator >
deref_iterator<Iterator>::type boost::spirit::x3::traits::deref ( Iterator &  it)
unused_type boost::spirit::x3::traits::deref ( unused_type const *  )
inline
template<typename Container >
container_iterator<Container>::type boost::spirit::x3::traits::end ( Container &  c)
inline
unused_type const* boost::spirit::x3::traits::end ( unused_type  )
inline
template<typename T >
extract_c_string<T*>::char_type const* boost::spirit::x3::traits::get_c_string ( T str)
template<typename T >
extract_c_string<T const*>::char_type const* boost::spirit::x3::traits::get_c_string ( T const *  str)
template<typename String >
extract_c_string<String>::char_type const* boost::spirit::x3::traits::get_c_string ( String &  str)
template<typename String >
extract_c_string<String>::char_type const* boost::spirit::x3::traits::get_c_string ( String const &  str)
template<typename T >
T const* boost::spirit::x3::traits::get_string_begin ( T const *  str)
inline

References boost::str().

template<typename T >
T* boost::spirit::x3::traits::get_string_begin ( T str)
inline

References boost::str().

template<typename T , typename Str >
Str::const_iterator boost::spirit::x3::traits::get_string_begin ( Str const &  str)
inline
template<typename T , typename Str >
Str::iterator boost::spirit::x3::traits::get_string_begin ( Str &  str)
inline
template<typename T >
T const* boost::spirit::x3::traits::get_string_end ( T const *  str)
inline

References boost::last, boost::str(), and T.

template<typename T >
T* boost::spirit::x3::traits::get_string_end ( T str)
inline

References boost::last, boost::str(), and T.

template<typename T , typename Str >
Str::const_iterator boost::spirit::x3::traits::get_string_end ( Str const &  str)
inline
template<typename T , typename Str >
Str::iterator boost::spirit::x3::traits::get_string_end ( Str &  str)
inline
template<typename Container >
bool boost::spirit::x3::traits::is_empty ( Container const &  c)
inline
bool boost::spirit::x3::traits::is_empty ( unused_type  )
inline
template<typename Dest >
void boost::spirit::x3::traits::move_to ( unused_type  ,
Dest &   
)
inline
template<typename Source >
void boost::spirit::x3::traits::move_to ( Source &  ,
unused_type   
)
inline
void boost::spirit::x3::traits::move_to ( unused_type  ,
unused_type   
)
inline
template<typename Iterator , typename Dest >
void boost::spirit::x3::traits::move_to ( Iterator  first,
Iterator  last,
Dest &  dest 
)
inline
template<typename Iterator >
void boost::spirit::x3::traits::move_to ( Iterator  ,
Iterator  ,
unused_type   
)
inline
template<typename T >
void boost::spirit::x3::traits::move_to ( T src,
T dest 
)
inline

References boost::fusion::move().

template<typename T >
void boost::spirit::x3::traits::move_to ( T const &  src,
T dest 
)
inline

References boost::fusion::move().

template<typename T >
void boost::spirit::x3::traits::move_to ( T &&  src,
T dest 
)
inline

References boost::fusion::move().

template<typename Iterator >
void boost::spirit::x3::traits::next ( Iterator &  it)
void boost::spirit::x3::traits::next ( unused_type const *  )
inline
template<typename T >
T boost::spirit::x3::traits::pow10 ( unsigned  dim)
inline
template<typename Tag , typename Transformed , typename Exposed >
transform_attribute<Exposed, Transformed, Tag>::type boost::spirit::x3::traits::pre_transform ( Exposed &  attr)
template<typename Tag , typename Transformed , typename Exposed >
transform_attribute<Exposed, Transformed, Tag>::type boost::spirit::x3::traits::pre_transform ( Exposed const &  attr)
template<typename Out >
void boost::spirit::x3::traits::print_attribute ( Out &  ,
unused_type   
)
inline
template<typename Out , typename T >
void boost::spirit::x3::traits::print_token ( Out &  out,
T const &  val 
)
inline
template<typename Container , typename T >
bool boost::spirit::x3::traits::push_back ( Container &  c,
T &&  val 
)
inline
template<typename Container >
bool boost::spirit::x3::traits::push_back ( Container &  ,
unused_type   
)
inline
template<typename T >
bool boost::spirit::x3::traits::push_back ( unused_type  ,
T const &   
)
inline
bool boost::spirit::x3::traits::push_back ( unused_type  ,
unused_type   
)
inline