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

#include <symbols.hpp>

Inheritance diagram for boost::spirit::karma::symbols< Attribute, T, Lookup, CharEncoding, Tag >:
Collaboration diagram for boost::spirit::karma::symbols< Attribute, T, Lookup, CharEncoding, Tag >:

Classes

struct  adder
 
struct  attribute
 
struct  remover
 

Public Types

typedef T value_type
 
typedef reference< symbolsreference_
 
typedef proto::terminal
< reference_ >::type 
terminal
 
typedef proto::extends
< terminal, symbols
base_type
 
typedef mpl::int_
< generator_properties::no_properties
properties
 
typedef symbols< Attribute, T,
Lookup, CharEncoding, Tag > 
derived_type
 
typedef karma::domain domain
 

Public Member Functions

 symbols (std::string const &name="symbols")
 
 symbols (symbols const &syms)
 
template<typename CharEncoding_ , typename Tag_ >
 symbols (symbols< Attribute, T, Lookup, CharEncoding_, Tag_ > const &syms)
 
template<typename Symbols , typename Data >
 symbols (Symbols const &syms, Data const &data, std::string const &name="symbols")
 
symbolsoperator= (symbols const &rhs)
 
template<typename CharEncoding_ , typename Tag_ >
symbolsoperator= (symbols< Attribute, T, Lookup, CharEncoding_, Tag_ > const &rhs)
 
void clear ()
 
template<typename Attr , typename T_ >
adder const & operator= (std::pair< Attr, T_ > const &p)
 
template<typename F >
void for_each (F f) const
 
template<typename Attr >
value_typefind (Attr const &attr)
 
template<typename Attr >
value_typeat (Attr const &attr)
 
template<typename OutputIterator , typename Context , typename Delimiter , typename Attr >
bool generate (OutputIterator &sink, Context &, Delimiter const &d, Attr const &attr) const
 
template<typename Context >
info what (Context &) const
 
void name (std::string const &str)
 
std::string const & name () const
 
symbols< Attribute, T, Lookup,
CharEncoding, Tag >const & 
derived () const
 

Public Attributes

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

Friends

template<typename Attr , typename T_ >
adder const & operator+= (symbols &sym, std::pair< Attr, T_ > const &p)
 
template<typename Attr >
remover const & operator-= (symbols &sym, Attr const &attr)
 
template<typename Attr , typename T_ >
adder const & operator+= (symbols &sym, std::pair< Attr, T_ > &&p)
 
template<typename Attr >
remover const & operator-= (symbols &sym, Attr &&attr)
 

Member Typedef Documentation

template<typename Attribute = char, typename T = unused_type, typename Lookup = typename symbols_lookup<T, Attribute>::type, typename CharEncoding = unused_type, typename Tag = unused_type>
typedef proto::extends<terminal, symbols> boost::spirit::karma::symbols< Attribute, T, Lookup, CharEncoding, Tag >::base_type
typedef symbols< Attribute, T, Lookup, CharEncoding, Tag > boost::spirit::karma::generator< symbols< Attribute, T, Lookup, CharEncoding, Tag > >::derived_type
inherited
typedef karma::domain boost::spirit::karma::generator< symbols< Attribute, T, Lookup, CharEncoding, Tag > >::domain
inherited
typedef mpl::int_<generator_properties::no_properties> boost::spirit::karma::generator< symbols< Attribute, T, Lookup, CharEncoding, Tag > >::properties
inherited
template<typename Attribute = char, typename T = unused_type, typename Lookup = typename symbols_lookup<T, Attribute>::type, typename CharEncoding = unused_type, typename Tag = unused_type>
typedef reference<symbols> boost::spirit::karma::symbols< Attribute, T, Lookup, CharEncoding, Tag >::reference_
template<typename Attribute = char, typename T = unused_type, typename Lookup = typename symbols_lookup<T, Attribute>::type, typename CharEncoding = unused_type, typename Tag = unused_type>
typedef proto::terminal<reference_>::type boost::spirit::karma::symbols< Attribute, T, Lookup, CharEncoding, Tag >::terminal
template<typename Attribute = char, typename T = unused_type, typename Lookup = typename symbols_lookup<T, Attribute>::type, typename CharEncoding = unused_type, typename Tag = unused_type>
typedef T boost::spirit::karma::symbols< Attribute, T, Lookup, CharEncoding, Tag >::value_type

Constructor & Destructor Documentation

template<typename Attribute = char, typename T = unused_type, typename Lookup = typename symbols_lookup<T, Attribute>::type, typename CharEncoding = unused_type, typename Tag = unused_type>
boost::spirit::karma::symbols< Attribute, T, Lookup, CharEncoding, Tag >::symbols ( std::string const &  name = "symbols< Attribute, T, Lookup, CharEncoding, Tag >")
inline
template<typename Attribute = char, typename T = unused_type, typename Lookup = typename symbols_lookup<T, Attribute>::type, typename CharEncoding = unused_type, typename Tag = unused_type>
boost::spirit::karma::symbols< Attribute, T, Lookup, CharEncoding, Tag >::symbols ( symbols< Attribute, T, Lookup, CharEncoding, Tag > const &  syms)
inline
template<typename Attribute = char, typename T = unused_type, typename Lookup = typename symbols_lookup<T, Attribute>::type, typename CharEncoding = unused_type, typename Tag = unused_type>
template<typename CharEncoding_ , typename Tag_ >
boost::spirit::karma::symbols< Attribute, T, Lookup, CharEncoding, Tag >::symbols ( symbols< Attribute, T, Lookup, CharEncoding_, Tag_ > const &  syms)
inline
template<typename Attribute = char, typename T = unused_type, typename Lookup = typename symbols_lookup<T, Attribute>::type, typename CharEncoding = unused_type, typename Tag = unused_type>
template<typename Symbols , typename Data >
boost::spirit::karma::symbols< Attribute, T, Lookup, CharEncoding, Tag >::symbols ( Symbols const &  syms,
Data const &  data,
std::string const &  name = "symbols< Attribute, T, Lookup, CharEncoding, Tag >" 
)
inline

Member Function Documentation

template<typename Attribute = char, typename T = unused_type, typename Lookup = typename symbols_lookup<T, Attribute>::type, typename CharEncoding = unused_type, typename Tag = unused_type>
template<typename Attr >
value_type& boost::spirit::karma::symbols< Attribute, T, Lookup, CharEncoding, Tag >::at ( Attr const &  attr)
inline
template<typename Attribute = char, typename T = unused_type, typename Lookup = typename symbols_lookup<T, Attribute>::type, typename CharEncoding = unused_type, typename Tag = unused_type>
void boost::spirit::karma::symbols< Attribute, T, Lookup, CharEncoding, Tag >::clear ( void  )
inline
symbols< Attribute, T, Lookup, CharEncoding, Tag > const& boost::spirit::karma::generator< symbols< Attribute, T, Lookup, CharEncoding, Tag > >::derived ( ) const
inlineinherited
template<typename Attribute = char, typename T = unused_type, typename Lookup = typename symbols_lookup<T, Attribute>::type, typename CharEncoding = unused_type, typename Tag = unused_type>
template<typename Attr >
value_type* boost::spirit::karma::symbols< Attribute, T, Lookup, CharEncoding, Tag >::find ( Attr const &  attr)
inline
template<typename Attribute = char, typename T = unused_type, typename Lookup = typename symbols_lookup<T, Attribute>::type, typename CharEncoding = unused_type, typename Tag = unused_type>
template<typename F >
void boost::spirit::karma::symbols< Attribute, T, Lookup, CharEncoding, Tag >::for_each ( f) const
inline
template<typename Attribute = char, typename T = unused_type, typename Lookup = typename symbols_lookup<T, Attribute>::type, typename CharEncoding = unused_type, typename Tag = unused_type>
template<typename OutputIterator , typename Context , typename Delimiter , typename Attr >
bool boost::spirit::karma::symbols< Attribute, T, Lookup, CharEncoding, Tag >::generate ( OutputIterator &  sink,
Context &  ,
Delimiter const &  d,
Attr const &  attr 
) const
inline
template<typename Attribute = char, typename T = unused_type, typename Lookup = typename symbols_lookup<T, Attribute>::type, typename CharEncoding = unused_type, typename Tag = unused_type>
void boost::spirit::karma::symbols< Attribute, T, Lookup, CharEncoding, Tag >::name ( std::string const &  str)
inline
template<typename Attribute = char, typename T = unused_type, typename Lookup = typename symbols_lookup<T, Attribute>::type, typename CharEncoding = unused_type, typename Tag = unused_type>
std::string const& boost::spirit::karma::symbols< Attribute, T, Lookup, CharEncoding, Tag >::name ( ) const
inline
template<typename Attribute = char, typename T = unused_type, typename Lookup = typename symbols_lookup<T, Attribute>::type, typename CharEncoding = unused_type, typename Tag = unused_type>
symbols& boost::spirit::karma::symbols< Attribute, T, Lookup, CharEncoding, Tag >::operator= ( symbols< Attribute, T, Lookup, CharEncoding, Tag > const &  rhs)
inline
template<typename Attribute = char, typename T = unused_type, typename Lookup = typename symbols_lookup<T, Attribute>::type, typename CharEncoding = unused_type, typename Tag = unused_type>
template<typename CharEncoding_ , typename Tag_ >
symbols& boost::spirit::karma::symbols< Attribute, T, Lookup, CharEncoding, Tag >::operator= ( symbols< Attribute, T, Lookup, CharEncoding_, Tag_ > const &  rhs)
inline
template<typename Attribute = char, typename T = unused_type, typename Lookup = typename symbols_lookup<T, Attribute>::type, typename CharEncoding = unused_type, typename Tag = unused_type>
template<typename Attr , typename T_ >
adder const& boost::spirit::karma::symbols< Attribute, T, Lookup, CharEncoding, Tag >::operator= ( std::pair< Attr, T_ > const &  p)
inline
template<typename Attribute = char, typename T = unused_type, typename Lookup = typename symbols_lookup<T, Attribute>::type, typename CharEncoding = unused_type, typename Tag = unused_type>
template<typename Context >
info boost::spirit::karma::symbols< Attribute, T, Lookup, CharEncoding, Tag >::what ( Context &  ) const
inline

Friends And Related Function Documentation

template<typename Attribute = char, typename T = unused_type, typename Lookup = typename symbols_lookup<T, Attribute>::type, typename CharEncoding = unused_type, typename Tag = unused_type>
template<typename Attr , typename T_ >
adder const& operator+= ( symbols< Attribute, T, Lookup, CharEncoding, Tag > &  sym,
std::pair< Attr, T_ > const &  p 
)
friend
template<typename Attribute = char, typename T = unused_type, typename Lookup = typename symbols_lookup<T, Attribute>::type, typename CharEncoding = unused_type, typename Tag = unused_type>
template<typename Attr , typename T_ >
adder const& operator+= ( symbols< Attribute, T, Lookup, CharEncoding, Tag > &  sym,
std::pair< Attr, T_ > &&  p 
)
friend
template<typename Attribute = char, typename T = unused_type, typename Lookup = typename symbols_lookup<T, Attribute>::type, typename CharEncoding = unused_type, typename Tag = unused_type>
template<typename Attr >
remover const& operator-= ( symbols< Attribute, T, Lookup, CharEncoding, Tag > &  sym,
Attr const &  attr 
)
friend
template<typename Attribute = char, typename T = unused_type, typename Lookup = typename symbols_lookup<T, Attribute>::type, typename CharEncoding = unused_type, typename Tag = unused_type>
template<typename Attr >
remover const& operator-= ( symbols< Attribute, T, Lookup, CharEncoding, Tag > &  sym,
Attr &&  attr 
)
friend

Member Data Documentation

template<typename Attribute = char, typename T = unused_type, typename Lookup = typename symbols_lookup<T, Attribute>::type, typename CharEncoding = unused_type, typename Tag = unused_type>
remover boost::spirit::karma::symbols< Attribute, T, Lookup, CharEncoding, Tag >::remove

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