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, unused_type, Lookup, CharEncoding, Tag > Struct Template Reference

#include <symbols.hpp>

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

Classes

struct  adder
 
struct  attribute
 
struct  remover
 

Public Types

typedef unused_type value_type
 
typedef
spirit::karma::reference
< symbols
reference_
 
typedef proto::terminal
< reference_ >::type 
terminal
 
typedef proto::extends
< terminal, symbols
base_type
 
typedef mpl::int_
< generator_properties::no_properties
properties
 
typedef symbols< Attribute,
unused_type, 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, unused_type, 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, unused_type, Lookup, CharEncoding_, Tag_ > const &rhs)
 
void clear ()
 
template<typename Attr >
adder const & operator= (Attr const &attr)
 
template<typename F >
void for_each (F f) const
 
template<typename Attr >
value_type const * find (Attr const &attr)
 
template<typename Attr >
value_type at (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,
unused_type, Lookup,
CharEncoding, Tag >const & 
derived () const
 

Public Attributes

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

Friends

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

Member Typedef Documentation

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

Constructor & Destructor Documentation

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

Member Function Documentation

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

Friends And Related Function Documentation

template<typename Attribute , typename Lookup , typename CharEncoding , typename Tag >
template<typename Attr >
adder const& operator+= ( symbols< Attribute, unused_type, Lookup, CharEncoding, Tag > &  sym,
Attr const &  attr 
)
friend
template<typename Attribute , typename Lookup , typename CharEncoding , typename Tag >
template<typename Attr >
adder const& operator+= ( symbols< Attribute, unused_type, Lookup, CharEncoding, Tag > &  sym,
Attr &  attr 
)
friend
template<typename Attribute , typename Lookup , typename CharEncoding , typename Tag >
template<typename Attr >
remover const& operator-= ( symbols< Attribute, unused_type, Lookup, CharEncoding, Tag > &  sym,
Attr const &  attr 
)
friend
template<typename Attribute , typename Lookup , typename CharEncoding , typename Tag >
template<typename Attr >
remover const& operator-= ( symbols< Attribute, unused_type, Lookup, CharEncoding, Tag > &  sym,
Attr &  attr 
)
friend

Member Data Documentation

template<typename Attribute , typename Lookup , typename CharEncoding , typename Tag >
adder boost::spirit::karma::symbols< Attribute, unused_type, Lookup, CharEncoding, Tag >::add
template<typename Attribute , typename Lookup , typename CharEncoding , typename Tag >
shared_ptr<Lookup> boost::spirit::karma::symbols< Attribute, unused_type, Lookup, CharEncoding, Tag >::lookup
template<typename Attribute , typename Lookup , typename CharEncoding , typename Tag >
std::string boost::spirit::karma::symbols< Attribute, unused_type, Lookup, CharEncoding, Tag >::name_
template<typename Attribute , typename Lookup , typename CharEncoding , typename Tag >
remover boost::spirit::karma::symbols< Attribute, unused_type, Lookup, CharEncoding, Tag >::remove

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