#include <cpp_context.hpp>
|
| BOOST_CLASS_REQUIRE (IteratorT, boost, ForwardIteratorConcept) |
|
| context (target_iterator_type const &first_, target_iterator_type const &last_, char const *fname="<Unknown>", HooksT const &hooks_=HooksT()) |
|
iterator_type | begin () |
|
iterator_type | begin (target_iterator_type const &first_, target_iterator_type const &last_) |
|
iterator_type | end () const |
|
bool | add_include_path (char const *path_) |
|
bool | add_sysinclude_path (char const *path_) |
|
void | set_sysinclude_delimiter () |
|
iteration_context_stack_type::size_type | get_iteration_depth () const |
|
template<typename StringT > |
bool | add_macro_definition (StringT const &name, position_type const &pos, bool has_params, std::vector< token_type > ¶meters, token_sequence_type &definition, bool is_predefined=false) |
|
template<typename StringT > |
bool | is_defined_macro (StringT const &str) const |
|
template<typename StringT > |
bool | get_macro_definition (StringT const &name, bool &has_params, bool &is_predefined, position_type &pos, std::vector< token_type > ¶meters, token_sequence_type &definition) const |
|
template<typename StringT > |
bool | remove_macro_definition (StringT const &undefname, bool even_predefined=false) |
|
void | reset_macro_definitions () |
|
name_iterator | macro_names_begin () |
|
name_iterator | macro_names_end () |
|
const_name_iterator | macro_names_begin () const |
|
const_name_iterator | macro_names_end () const |
|
bool | add_macro_definition (token_type const &name, bool has_params, std::vector< token_type > ¶meters, token_sequence_type &definition, bool is_predefined=false) |
|
void | set_language (boost::wave::language_support language_, bool reset_macros=true) |
|
boost::wave::language_support | get_language () const |
|
position_type & | get_main_pos () |
|
position_type const & | get_main_pos () const |
|
void | set_max_include_nesting_depth (iter_size_type new_depth) |
|
iter_size_type | get_max_include_nesting_depth () const |
|
hook_policy_type & | get_hooks () |
|
hook_policy_type const & | get_hooks () const |
|
actual_context_type & | derived () |
|
actual_context_type const & | derived () const |
|
boost::filesystem::path | get_current_directory () const |
|
void | set_current_relative_filename (char const *real_name) |
|
std::string const & | get_current_relative_filename () const |
|
bool | find_include_file (std::string &s, std::string &d, bool is_system, char const *current_file) const |
|
|
void | init_context () |
|
template<typename IteratorT2 > |
bool | is_defined_macro (IteratorT2 const &begin, IteratorT2 const &end) const |
|
void | set_current_directory (char const *path_) |
|
bool | get_if_block_status () const |
|
bool | get_if_block_some_part_status () const |
|
bool | get_enclosing_if_block_status () const |
|
void | enter_if_block (bool new_status) |
|
bool | enter_elif_block (bool new_status) |
|
bool | enter_else_block () |
|
bool | exit_if_block () |
|
boost::wave::util::if_block_stack::size_type | get_if_block_depth () const |
|
iteration_ptr_type | pop_iteration_context () |
|
void | push_iteration_context (position_type const &act_pos, iteration_ptr_type iter_ctx) |
|
template<typename IteratorT2 > |
token_type | expand_tokensequence (IteratorT2 &first_, IteratorT2 const &last_, token_sequence_type &pending, token_sequence_type &expanded, bool &seen_newline, bool expand_undefined=false) |
|
template<typename IteratorT2 > |
void | expand_whole_tokensequence (IteratorT2 &first_, IteratorT2 const &last_, token_sequence_type &expanded, bool expand_undefined=true) |
|
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
bool boost::wave::context< IteratorT, LexIteratorT, InputPolicyT, HooksT, DerivedT >::add_include_path |
( |
char const * |
path_ | ) |
|
|
inline |
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
template<typename StringT >
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
bool boost::wave::context< IteratorT, LexIteratorT, InputPolicyT, HooksT, DerivedT >::add_sysinclude_path |
( |
char const * |
path_ | ) |
|
|
inline |
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
boost::wave::context< IteratorT, LexIteratorT, InputPolicyT, HooksT, DerivedT >::BOOST_CLASS_REQUIRE |
( |
IteratorT |
, |
|
|
boost |
, |
|
|
ForwardIteratorConcept |
|
|
) |
| |
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
bool boost::wave::context< IteratorT, LexIteratorT, InputPolicyT, HooksT, DerivedT >::enter_elif_block |
( |
bool |
new_status | ) |
|
|
inlineprotected |
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
bool boost::wave::context< IteratorT, LexIteratorT, InputPolicyT, HooksT, DerivedT >::enter_else_block |
( |
| ) |
|
|
inlineprotected |
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
void boost::wave::context< IteratorT, LexIteratorT, InputPolicyT, HooksT, DerivedT >::enter_if_block |
( |
bool |
new_status | ) |
|
|
inlineprotected |
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
bool boost::wave::context< IteratorT, LexIteratorT, InputPolicyT, HooksT, DerivedT >::exit_if_block |
( |
| ) |
|
|
inlineprotected |
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
template<typename IteratorT2 >
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
template<typename IteratorT2 >
void boost::wave::context< IteratorT, LexIteratorT, InputPolicyT, HooksT, DerivedT >::expand_whole_tokensequence |
( |
IteratorT2 & |
first_, |
|
|
IteratorT2 const & |
last_, |
|
|
token_sequence_type & |
expanded, |
|
|
bool |
expand_undefined = true |
|
) |
| |
|
inlineprotected |
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
bool boost::wave::context< IteratorT, LexIteratorT, InputPolicyT, HooksT, DerivedT >::find_include_file |
( |
std::string & |
s, |
|
|
std::string & |
d, |
|
|
bool |
is_system, |
|
|
char const * |
current_file |
|
) |
| const |
|
inline |
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
std::string const& boost::wave::context< IteratorT, LexIteratorT, InputPolicyT, HooksT, DerivedT >::get_current_relative_filename |
( |
| ) |
const |
|
inline |
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
bool boost::wave::context< IteratorT, LexIteratorT, InputPolicyT, HooksT, DerivedT >::get_enclosing_if_block_status |
( |
| ) |
const |
|
inlineprotected |
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
bool boost::wave::context< IteratorT, LexIteratorT, InputPolicyT, HooksT, DerivedT >::get_if_block_some_part_status |
( |
| ) |
const |
|
inlineprotected |
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
bool boost::wave::context< IteratorT, LexIteratorT, InputPolicyT, HooksT, DerivedT >::get_if_block_status |
( |
| ) |
const |
|
inlineprotected |
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
template<typename StringT >
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
iter_size_type boost::wave::context< IteratorT, LexIteratorT, InputPolicyT, HooksT, DerivedT >::get_max_include_nesting_depth |
( |
| ) |
const |
|
inline |
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
static std::string boost::wave::context< IteratorT, LexIteratorT, InputPolicyT, HooksT, DerivedT >::get_version |
( |
| ) |
|
|
inlinestatic |
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
static std::string boost::wave::context< IteratorT, LexIteratorT, InputPolicyT, HooksT, DerivedT >::get_version_string |
( |
| ) |
|
|
inlinestatic |
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
void boost::wave::context< IteratorT, LexIteratorT, InputPolicyT, HooksT, DerivedT >::init_context |
( |
| ) |
|
|
inlineprotected |
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
template<typename StringT >
bool boost::wave::context< IteratorT, LexIteratorT, InputPolicyT, HooksT, DerivedT >::is_defined_macro |
( |
StringT const & |
str | ) |
const |
|
inline |
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
template<typename IteratorT2 >
bool boost::wave::context< IteratorT, LexIteratorT, InputPolicyT, HooksT, DerivedT >::is_defined_macro |
( |
IteratorT2 const & |
begin, |
|
|
IteratorT2 const & |
end |
|
) |
| const |
|
inlineprotected |
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
template<typename StringT >
bool boost::wave::context< IteratorT, LexIteratorT, InputPolicyT, HooksT, DerivedT >::remove_macro_definition |
( |
StringT const & |
undefname, |
|
|
bool |
even_predefined = false |
|
) |
| |
|
inline |
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
void boost::wave::context< IteratorT, LexIteratorT, InputPolicyT, HooksT, DerivedT >::reset_macro_definitions |
( |
| ) |
|
|
inline |
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
void boost::wave::context< IteratorT, LexIteratorT, InputPolicyT, HooksT, DerivedT >::set_current_directory |
( |
char const * |
path_ | ) |
|
|
inlineprotected |
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
void boost::wave::context< IteratorT, LexIteratorT, InputPolicyT, HooksT, DerivedT >::set_current_relative_filename |
( |
char const * |
real_name | ) |
|
|
inline |
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
void boost::wave::context< IteratorT, LexIteratorT, InputPolicyT, HooksT, DerivedT >::set_max_include_nesting_depth |
( |
iter_size_type |
new_depth | ) |
|
|
inline |
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
void boost::wave::context< IteratorT, LexIteratorT, InputPolicyT, HooksT, DerivedT >::set_sysinclude_delimiter |
( |
| ) |
|
|
inline |
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
template<typename IteratorT , typename LexIteratorT , typename InputPolicyT = iteration_context_policies::load_file_to_string, typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, typename DerivedT = this_type>
The documentation for this class was generated from the following file: