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::simple_trace< IndentSpaces, CharsToPrint > Struct Template Reference

#include <simple_trace.hpp>

Collaboration diagram for boost::spirit::x3::simple_trace< IndentSpaces, CharsToPrint >:

Public Member Functions

 simple_trace (std::ostream &out)
 
void print_indent (int n) const
 
template<typename Iterator >
void print_some (char const *tag, Iterator first, Iterator const &last) const
 
template<typename Iterator , typename Attribute , typename State >
void operator() (Iterator const &first, Iterator const &last, Attribute const &attr, State state, std::string const &rule_name) const
 

Public Attributes

std::ostream & out
 
int indent
 

Constructor & Destructor Documentation

template<int IndentSpaces = 2, int CharsToPrint = 20>
boost::spirit::x3::simple_trace< IndentSpaces, CharsToPrint >::simple_trace ( std::ostream &  out)
inline

Member Function Documentation

template<int IndentSpaces = 2, int CharsToPrint = 20>
template<typename Iterator , typename Attribute , typename State >
void boost::spirit::x3::simple_trace< IndentSpaces, CharsToPrint >::operator() ( Iterator const &  first,
Iterator const &  last,
Attribute const &  attr,
State  state,
std::string const &  rule_name 
) const
inline
template<int IndentSpaces = 2, int CharsToPrint = 20>
void boost::spirit::x3::simple_trace< IndentSpaces, CharsToPrint >::print_indent ( int  n) const
inline
template<int IndentSpaces = 2, int CharsToPrint = 20>
template<typename Iterator >
void boost::spirit::x3::simple_trace< IndentSpaces, CharsToPrint >::print_some ( char const *  tag,
Iterator  first,
Iterator const &  last 
) const
inline

Member Data Documentation

template<int IndentSpaces = 2, int CharsToPrint = 20>
int boost::spirit::x3::simple_trace< IndentSpaces, CharsToPrint >::indent
mutable
template<int IndentSpaces = 2, int CharsToPrint = 20>
std::ostream& boost::spirit::x3::simple_trace< IndentSpaces, CharsToPrint >::out

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