Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::wave::iteration_context< ContextT, IteratorT, InputPolicyT > Struct Template Reference

#include <cpp_iteration_context.hpp>

Inheritance diagram for boost::wave::iteration_context< ContextT, IteratorT, InputPolicyT >:
Collaboration diagram for boost::wave::iteration_context< ContextT, IteratorT, InputPolicyT >:

Public Types

typedef IteratorT iterator_type
 
typedef
IteratorT::token_type::position_type 
position_type
 
typedef base_iteration_context
< ContextT, IteratorT > 
base_type
 
typedef iteration_context
< ContextT, IteratorT,
InputPolicyT > 
self_type
 
enum  file_type {
  main_file,
  system_header,
  user_header
}
 

Public Member Functions

 iteration_context (ContextT &ctx, BOOST_WAVE_STRINGTYPE const &fname, position_type const &act_pos, boost::wave::language_support language_, typename base_type::file_type type=base_type::main_file)
 

Public Attributes

IteratorT first
 
IteratorT last
 
BOOST_WAVE_STRINGTYPE real_filename
 
BOOST_WAVE_STRINGTYPE real_relative_filename
 
BOOST_WAVE_STRINGTYPE filename
 
std::size_t line
 
std::size_t emitted_lines
 
std::size_t if_block_depth
 
ContextT & ctx
 
file_type type
 

Member Typedef Documentation

template<typename ContextT , typename IteratorT , typename InputPolicyT = typename ContextT::input_policy_type>
typedef base_iteration_context<ContextT, IteratorT> boost::wave::iteration_context< ContextT, IteratorT, InputPolicyT >::base_type
template<typename ContextT , typename IteratorT , typename InputPolicyT = typename ContextT::input_policy_type>
typedef IteratorT boost::wave::iteration_context< ContextT, IteratorT, InputPolicyT >::iterator_type
template<typename ContextT , typename IteratorT , typename InputPolicyT = typename ContextT::input_policy_type>
typedef IteratorT::token_type::position_type boost::wave::iteration_context< ContextT, IteratorT, InputPolicyT >::position_type
template<typename ContextT , typename IteratorT , typename InputPolicyT = typename ContextT::input_policy_type>
typedef iteration_context<ContextT, IteratorT, InputPolicyT> boost::wave::iteration_context< ContextT, IteratorT, InputPolicyT >::self_type

Member Enumeration Documentation

template<typename ContextT , typename IteratorT >
enum boost::wave::base_iteration_context::file_type
inherited
Enumerator
main_file 
system_header 
user_header 

Constructor & Destructor Documentation

template<typename ContextT , typename IteratorT , typename InputPolicyT = typename ContextT::input_policy_type>
boost::wave::iteration_context< ContextT, IteratorT, InputPolicyT >::iteration_context ( ContextT &  ctx,
BOOST_WAVE_STRINGTYPE const &  fname,
position_type const &  act_pos,
boost::wave::language_support  language_,
typename base_type::file_type  type = base_type::main_file 
)
inline

References template.

Member Data Documentation

template<typename ContextT , typename IteratorT >
ContextT& boost::wave::base_iteration_context< ContextT, IteratorT >::ctx
inherited
template<typename ContextT , typename IteratorT >
std::size_t boost::wave::base_iteration_context< ContextT, IteratorT >::emitted_lines
inherited
template<typename ContextT , typename IteratorT >
BOOST_WAVE_STRINGTYPE boost::wave::base_iteration_context< ContextT, IteratorT >::filename
inherited
template<typename ContextT , typename IteratorT >
IteratorT boost::wave::base_iteration_context< ContextT, IteratorT >::first
inherited
template<typename ContextT , typename IteratorT >
std::size_t boost::wave::base_iteration_context< ContextT, IteratorT >::if_block_depth
inherited
template<typename ContextT , typename IteratorT >
IteratorT boost::wave::base_iteration_context< ContextT, IteratorT >::last
inherited
template<typename ContextT , typename IteratorT >
std::size_t boost::wave::base_iteration_context< ContextT, IteratorT >::line
inherited
template<typename ContextT , typename IteratorT >
BOOST_WAVE_STRINGTYPE boost::wave::base_iteration_context< ContextT, IteratorT >::real_filename
inherited
template<typename ContextT , typename IteratorT >
BOOST_WAVE_STRINGTYPE boost::wave::base_iteration_context< ContextT, IteratorT >::real_relative_filename
inherited
template<typename ContextT , typename IteratorT >
file_type boost::wave::base_iteration_context< ContextT, IteratorT >::type
inherited

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