Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::spirit::qi::symbols< Char, T, Lookup, Filter > Struct Template Reference

#include <symbols.hpp>

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

Classes

struct  adder
 
struct  attribute
 
struct  remover
 

Public Types

typedef Char char_type
 
typedef T value_type
 
typedef symbols< Char, T,
Lookup, Filter > 
this_type
 
typedef reference< this_typereference_
 
typedef proto::terminal
< reference_ >::type 
terminal
 
typedef proto::extends
< terminal, this_type
base_type
 
typedef symbols< Char, T,
Lookup, Filter > 
derived_type
 
typedef qi::domain domain
 

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")
 
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 Skipper , typename Attribute >
bool parse (Iterator &first, Iterator const &last, Context &, Skipper const &skipper, Attribute &attr_) const
 
template<typename Context >
info what (Context &) const
 
void name (std::string const &str)
 
std::string const & name () const
 
symbols< Char, T, Lookup,
Filter >const & 
derived () const
 

Public Attributes

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

Friends

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

Member Typedef Documentation

template<typename Char = char, typename T = unused_type, typename Lookup = tst<Char, T>, typename Filter = tst_pass_through>
typedef proto::extends<terminal, this_type> boost::spirit::qi::symbols< Char, T, Lookup, Filter >::base_type
template<typename Char = char, typename T = unused_type, typename Lookup = tst<Char, T>, typename Filter = tst_pass_through>
typedef Char boost::spirit::qi::symbols< Char, T, Lookup, Filter >::char_type
typedef symbols< Char, T, Lookup, Filter > boost::spirit::qi::parser< symbols< Char, T, Lookup, Filter > >::derived_type
inherited
typedef qi::domain boost::spirit::qi::parser< symbols< Char, T, Lookup, Filter > >::domain
inherited
template<typename Char = char, typename T = unused_type, typename Lookup = tst<Char, T>, typename Filter = tst_pass_through>
typedef reference<this_type> boost::spirit::qi::symbols< Char, T, Lookup, Filter >::reference_
template<typename Char = char, typename T = unused_type, typename Lookup = tst<Char, T>, typename Filter = tst_pass_through>
typedef proto::terminal<reference_>::type boost::spirit::qi::symbols< Char, T, Lookup, Filter >::terminal
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::qi::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::qi::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::qi::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::qi::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::qi::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::qi::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::qi::symbols< Char, T, Lookup, Filter >::symbols ( Symbols const &  syms,
Data const &  data,
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::qi::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::qi::symbols< Char, T, Lookup, Filter >::clear ( void  )
inline
symbols< Char, T, Lookup, Filter > const& boost::spirit::qi::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::qi::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::qi::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::qi::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::qi::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::qi::symbols< Char, T, Lookup, Filter >::name ( ) const
inline
template<typename Char = char, typename T = unused_type, typename Lookup = tst<Char, T>, typename Filter = tst_pass_through>
symbols& boost::spirit::qi::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::qi::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::qi::symbols< Char, T, Lookup, Filter >::operator= ( Str const &  str)
inline
template<typename Char = char, typename T = unused_type, typename Lookup = tst<Char, T>, typename Filter = tst_pass_through>
template<typename Iterator , typename Context , typename Skipper , typename Attribute >
bool boost::spirit::qi::symbols< Char, T, Lookup, Filter >::parse ( Iterator &  first,
Iterator const &  last,
Context &  ,
Skipper const &  skipper,
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::qi::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::qi::symbols< Char, T, Lookup, Filter >::prefix_find ( Iterator &  first,
Iterator const &  last 
) const
inline
template<typename Char = char, typename T = unused_type, typename Lookup = tst<Char, T>, typename Filter = tst_pass_through>
template<typename Context >
info boost::spirit::qi::symbols< Char, T, Lookup, Filter >::what ( Context &  ) 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 >
adder const& operator+= ( symbols< Char, T, Lookup, Filter > &  sym,
Str &&  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
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 &&  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::qi::symbols< Char, T, Lookup, Filter >::add
template<typename Char = char, typename T = unused_type, typename Lookup = tst<Char, T>, typename Filter = tst_pass_through>
std::string boost::spirit::qi::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::qi::symbols< Char, T, Lookup, Filter >::remove

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