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::symbols< Char, T, Lookup, Filter > Struct Template Reference

#include <symbols.hpp>

Inheritance diagram for boost::spirit::x3::symbols< Char, T, Lookup, Filter >:
Collaboration diagram for boost::spirit::x3::symbols< Char, T, Lookup, Filter >:

Classes

struct  adder
 
struct  remover
 

Public Types

typedef Char char_type
 
typedef T value_type
 
typedef symbols< Char, T,
Lookup, Filter > 
this_type
 
typedef value_type attribute_type
 
typedef symbols< Char, T,
Lookup, Filter > 
derived_type
 

Public Member Functions

 symbols (std::string const &name="symbols")
 
 symbols (symbols const &syms)
 
template<typename Filter_ >
 symbols (symbols< Char, T, Lookup, Filter_ > const &syms)
 
template<typename Symbols >
 symbols (Symbols const &syms, std::string const &name="symbols")
 
template<typename Symbols , typename Data >
 symbols (Symbols const &syms, Data const &data, std::string const &name="symbols")
 
 symbols (std::initializer_list< std::pair< Char const *, T >> syms, std::string const &name="symbols")
 
 symbols (std::initializer_list< Char const * > syms, std::string const &name="symbols")
 
symbolsoperator= (symbols const &rhs)
 
template<typename Filter_ >
symbolsoperator= (symbols< Char, T, Lookup, Filter_ > const &rhs)
 
void clear ()
 
template<typename Str >
adder const & operator= (Str const &str)
 
template<typename F >
void for_each (F f) const
 
template<typename Str >
value_typeat (Str const &str)
 
template<typename Iterator >
value_typeprefix_find (Iterator &first, Iterator const &last)
 
template<typename Iterator >
value_type const * prefix_find (Iterator &first, Iterator const &last) const
 
template<typename Str >
value_typefind (Str const &str)
 
template<typename Str >
value_type const * find (Str const &str) const
 
template<typename Iterator , typename Context , typename Attribute >
bool parse (Iterator &first, Iterator const &last, Context const &context, unused_type, Attribute &attr) const
 
void name (std::string const &str)
 
std::string const & name () const
 
symbols< Char, T, Lookup,
Filter >const & 
derived () const
 
action< symbols< Char, T,
Lookup, Filter >, Action > 
operator[] (Action f) const
 
guard< symbols< Char, T,
Lookup, Filter >, Handler > 
on_error (Handler f) const
 

Public Attributes

adder add
 
remover remove
 
shared_ptr< Lookup > lookup
 
std::string name_
 

Static Public Attributes

static bool const has_attribute
 
static bool const handles_container
 
static bool const is_pass_through_unary
 
static bool const has_action
 

Friends

template<typename Str >
adder const & operator+= (symbols &sym, Str const &str)
 
template<typename Str >
remover const & operator-= (symbols &sym, Str const &str)
 

Member Typedef Documentation

template<typename Char = char, typename T = unused_type, typename Lookup = tst<Char, T>, typename Filter = tst_pass_through>
typedef value_type boost::spirit::x3::symbols< Char, T, Lookup, Filter >::attribute_type
template<typename Char = char, typename T = unused_type, typename Lookup = tst<Char, T>, typename Filter = tst_pass_through>
typedef Char boost::spirit::x3::symbols< Char, T, Lookup, Filter >::char_type
typedef symbols< Char, T, Lookup, Filter > boost::spirit::x3::parser< symbols< Char, T, Lookup, Filter > >::derived_type
inherited
template<typename Char = char, typename T = unused_type, typename Lookup = tst<Char, T>, typename Filter = tst_pass_through>
typedef symbols<Char, T, Lookup, Filter> boost::spirit::x3::symbols< Char, T, Lookup, Filter >::this_type
template<typename Char = char, typename T = unused_type, typename Lookup = tst<Char, T>, typename Filter = tst_pass_through>
typedef T boost::spirit::x3::symbols< Char, T, Lookup, Filter >::value_type

Constructor & Destructor Documentation

template<typename Char = char, typename T = unused_type, typename Lookup = tst<Char, T>, typename Filter = tst_pass_through>
boost::spirit::x3::symbols< Char, T, Lookup, Filter >::symbols ( std::string const &  name = "symbols< Char, T, Lookup, Filter >")
inline
template<typename Char = char, typename T = unused_type, typename Lookup = tst<Char, T>, typename Filter = tst_pass_through>
boost::spirit::x3::symbols< Char, T, Lookup, Filter >::symbols ( symbols< Char, T, Lookup, Filter > const &  syms)
inline
template<typename Char = char, typename T = unused_type, typename Lookup = tst<Char, T>, typename Filter = tst_pass_through>
template<typename Filter_ >
boost::spirit::x3::symbols< Char, T, Lookup, Filter >::symbols ( symbols< Char, T, Lookup, Filter_ > const &  syms)
inline
template<typename Char = char, typename T = unused_type, typename Lookup = tst<Char, T>, typename Filter = tst_pass_through>
template<typename Symbols >
boost::spirit::x3::symbols< Char, T, Lookup, Filter >::symbols ( Symbols const &  syms,
std::string const &  name = "symbols< Char, T, Lookup, Filter >" 
)
inline
template<typename Char = char, typename T = unused_type, typename Lookup = tst<Char, T>, typename Filter = tst_pass_through>
template<typename Symbols , typename Data >
boost::spirit::x3::symbols< Char, T, Lookup, Filter >::symbols ( Symbols const &  syms,
Data const &  data,
std::string const &  name = "symbols< Char, T, Lookup, Filter >" 
)
inline
template<typename Char = char, typename T = unused_type, typename Lookup = tst<Char, T>, typename Filter = tst_pass_through>
boost::spirit::x3::symbols< Char, T, Lookup, Filter >::symbols ( std::initializer_list< std::pair< Char const *, T >>  syms,
std::string const &  name = "symbols< Char, T, Lookup, Filter >" 
)
inline
template<typename Char = char, typename T = unused_type, typename Lookup = tst<Char, T>, typename Filter = tst_pass_through>
boost::spirit::x3::symbols< Char, T, Lookup, Filter >::symbols ( std::initializer_list< Char const * >  syms,
std::string const &  name = "symbols< Char, T, Lookup, Filter >" 
)
inline

Member Function Documentation

template<typename Char = char, typename T = unused_type, typename Lookup = tst<Char, T>, typename Filter = tst_pass_through>
template<typename Str >
value_type& boost::spirit::x3::symbols< Char, T, Lookup, Filter >::at ( Str const &  str)
inline
template<typename Char = char, typename T = unused_type, typename Lookup = tst<Char, T>, typename Filter = tst_pass_through>
void boost::spirit::x3::symbols< Char, T, Lookup, Filter >::clear ( void  )
inline
symbols< Char, T, Lookup, Filter > const& boost::spirit::x3::parser< symbols< Char, T, Lookup, Filter > >::derived ( ) const
inlineinherited
template<typename Char = char, typename T = unused_type, typename Lookup = tst<Char, T>, typename Filter = tst_pass_through>
template<typename Str >
value_type* boost::spirit::x3::symbols< Char, T, Lookup, Filter >::find ( Str const &  str)
inline
template<typename Char = char, typename T = unused_type, typename Lookup = tst<Char, T>, typename Filter = tst_pass_through>
template<typename Str >
value_type const* boost::spirit::x3::symbols< Char, T, Lookup, Filter >::find ( Str const &  str) const
inline
template<typename Char = char, typename T = unused_type, typename Lookup = tst<Char, T>, typename Filter = tst_pass_through>
template<typename F >
void boost::spirit::x3::symbols< Char, T, Lookup, Filter >::for_each ( f) const
inline
template<typename Char = char, typename T = unused_type, typename Lookup = tst<Char, T>, typename Filter = tst_pass_through>
void boost::spirit::x3::symbols< Char, T, Lookup, Filter >::name ( std::string const &  str)
inline
template<typename Char = char, typename T = unused_type, typename Lookup = tst<Char, T>, typename Filter = tst_pass_through>
std::string const& boost::spirit::x3::symbols< Char, T, Lookup, Filter >::name ( ) const
inline
guard<symbols< Char, T, Lookup, Filter > , Handler> boost::spirit::x3::parser< symbols< Char, T, Lookup, Filter > >::on_error ( Handler  f) const
inlineinherited
template<typename Char = char, typename T = unused_type, typename Lookup = tst<Char, T>, typename Filter = tst_pass_through>
symbols& boost::spirit::x3::symbols< Char, T, Lookup, Filter >::operator= ( symbols< Char, T, Lookup, Filter > const &  rhs)
inline
template<typename Char = char, typename T = unused_type, typename Lookup = tst<Char, T>, typename Filter = tst_pass_through>
template<typename Filter_ >
symbols& boost::spirit::x3::symbols< Char, T, Lookup, Filter >::operator= ( symbols< Char, T, Lookup, Filter_ > const &  rhs)
inline
template<typename Char = char, typename T = unused_type, typename Lookup = tst<Char, T>, typename Filter = tst_pass_through>
template<typename Str >
adder const& boost::spirit::x3::symbols< Char, T, Lookup, Filter >::operator= ( Str const &  str)
inline
action<symbols< Char, T, Lookup, Filter > , Action> boost::spirit::x3::parser< symbols< Char, T, Lookup, Filter > >::operator[] ( Action  f) const
inlineinherited
template<typename Char = char, typename T = unused_type, typename Lookup = tst<Char, T>, typename Filter = tst_pass_through>
template<typename Iterator , typename Context , typename Attribute >
bool boost::spirit::x3::symbols< Char, T, Lookup, Filter >::parse ( Iterator &  first,
Iterator const &  last,
Context const &  context,
unused_type  ,
Attribute &  attr 
) const
inline
template<typename Char = char, typename T = unused_type, typename Lookup = tst<Char, T>, typename Filter = tst_pass_through>
template<typename Iterator >
value_type* boost::spirit::x3::symbols< Char, T, Lookup, Filter >::prefix_find ( Iterator &  first,
Iterator const &  last 
)
inline
template<typename Char = char, typename T = unused_type, typename Lookup = tst<Char, T>, typename Filter = tst_pass_through>
template<typename Iterator >
value_type const* boost::spirit::x3::symbols< Char, T, Lookup, Filter >::prefix_find ( Iterator &  first,
Iterator const &  last 
) const
inline

Friends And Related Function Documentation

template<typename Char = char, typename T = unused_type, typename Lookup = tst<Char, T>, typename Filter = tst_pass_through>
template<typename Str >
adder const& operator+= ( symbols< Char, T, Lookup, Filter > &  sym,
Str const &  str 
)
friend
template<typename Char = char, typename T = unused_type, typename Lookup = tst<Char, T>, typename Filter = tst_pass_through>
template<typename Str >
remover const& operator-= ( symbols< Char, T, Lookup, Filter > &  sym,
Str const &  str 
)
friend

Member Data Documentation

template<typename Char = char, typename T = unused_type, typename Lookup = tst<Char, T>, typename Filter = tst_pass_through>
adder boost::spirit::x3::symbols< Char, T, Lookup, Filter >::add
template<typename Char = char, typename T = unused_type, typename Lookup = tst<Char, T>, typename Filter = tst_pass_through>
bool const boost::spirit::x3::symbols< Char, T, Lookup, Filter >::handles_container
static
bool const boost::spirit::x3::parser< symbols< Char, T, Lookup, Filter > >::has_action
staticinherited
template<typename Char = char, typename T = unused_type, typename Lookup = tst<Char, T>, typename Filter = tst_pass_through>
bool const boost::spirit::x3::symbols< Char, T, Lookup, Filter >::has_attribute
static
bool const boost::spirit::x3::parser< symbols< Char, T, Lookup, Filter > >::is_pass_through_unary
staticinherited
template<typename Char = char, typename T = unused_type, typename Lookup = tst<Char, T>, typename Filter = tst_pass_through>
std::string boost::spirit::x3::symbols< Char, T, Lookup, Filter >::name_
template<typename Char = char, typename T = unused_type, typename Lookup = tst<Char, T>, typename Filter = tst_pass_through>
remover boost::spirit::x3::symbols< Char, T, Lookup, Filter >::remove

The documentation for this struct was generated from the following file: