Namespaces | |
flex_string_details | |
impl | |
on_exit | |
time_conversion | |
Classes | |
class | AllocatorStringStorage |
class | CowString |
struct | file_position |
class | flex_string |
struct | functor_input |
class | if_block |
class | if_block_stack |
class | include_paths |
class | insert_whitespace_detection |
class | iteration_context_stack |
struct | macro_definition |
class | macromap |
class | mallocator |
class | mallocator< void > |
struct | pattern_and |
struct | position_iterator |
class | predefined_macros |
class | SimpleStringStorage |
class | SmallStringOpt |
struct | symbol_table |
class | unput_queue_iterator |
class | VectorStringStorage |
Typedefs | |
typedef file_position < BOOST_WAVE_STRINGTYPE > | file_position_type |
Enumerations | |
enum | severity { severity_remark = 0, severity_warning, severity_error, severity_fatal, severity_commandline_error, last_severity_code = severity_commandline_error } |
Functions | |
char const * | get_severity (int level) |
template<typename Exception , typename S1 , typename Pos > | |
void | throw_ (typename Exception::error_code code, S1 msg, Pos const &pos) |
template<typename Exception , typename Context , typename S1 , typename Pos > | |
void | throw_ (Context &ctx, typename Exception::error_code code, S1 msg, Pos const &pos) |
template<typename Exception , typename S1 , typename Pos , typename S2 > | |
void | throw_ (typename Exception::error_code code, S1 msg, Pos const &pos, S2 name) |
template<typename Exception , typename Context , typename S1 , typename Pos1 , typename S2 > | |
void | throw_ (Context &ctx, typename Exception::error_code code, S1 msg, Pos1 const &pos, S2 name) |
bool | as_relative_to (boost::filesystem::path const &path, boost::filesystem::path const &base, boost::filesystem::path &result) |
template<typename ContextT , typename ParseNodeT , typename TokenT , typename PositionT > | |
bool | retrieve_macroname (ContextT &ctx, ParseNodeT const &node, boost::spirit::classic::parser_id id, TokenT ¯oname, PositionT &act_pos, bool update_position) |
template<typename ParseNodeT , typename ContainerT , typename PositionT > | |
bool | retrieve_macrodefinition (ParseNodeT const &node, boost::spirit::classic::parser_id id, ContainerT ¯odefinition, PositionT &act_pos, bool update_position) |
template<typename Context > | |
void | report_invalid_concatenation (Context &ctx, typename Context::token_type const &prev, typename Context::token_type const &next, typename Context::position_type const &main_pos) |
template<typename Target , typename Src > | |
impl::to_string_helper< Target, Src >::type | to_string (Src const &src) |
template<typename StringT > | |
bool | operator== (file_position< StringT > const &lhs, file_position< StringT > const &rhs) |
template<typename StringT > | |
std::ostream & | operator<< (std::ostream &o, file_position< StringT > const &pos) |
boost::filesystem::path | initial_path () |
boost::filesystem::path | current_path () |
template<typename String > | |
boost::filesystem::path | create_path (String const &p) |
std::string | leaf (boost::filesystem::path const &p) |
boost::filesystem::path | branch_path (boost::filesystem::path const &p) |
boost::filesystem::path | normalize (boost::filesystem::path &p) |
std::string | native_file_string (boost::filesystem::path const &p) |
boost::filesystem::path | complete_path (boost::filesystem::path const &p) |
boost::filesystem::path | complete_path (boost::filesystem::path const &p, boost::filesystem::path const &base) |
bool | create_directories (boost::filesystem::path const &p) |
template<class T > | |
bool | operator== (const mallocator< T > &, const mallocator< T > &) |
template<class T > | |
bool | operator!= (const mallocator< T > &, const mallocator< T > &) |
template<class Allocator > | |
Allocator::pointer | Reallocate (Allocator &alloc, typename Allocator::pointer p, typename Allocator::size_type oldObjCount, typename Allocator::size_type newObjCount, void *) |
template<class Allocator > | |
Allocator::pointer | Reallocate (Allocator &alloc, typename Allocator::pointer p, typename Allocator::size_type oldObjCount, typename Allocator::size_type newObjCount, mallocator< void > *) |
template<typename E , class T , class A , class S > | |
flex_string< E, T, A, S > | operator+ (const flex_string< E, T, A, S > &lhs, const flex_string< E, T, A, S > &rhs) |
template<typename E , class T , class A , class S > | |
flex_string< E, T, A, S > | operator+ (const typename flex_string< E, T, A, S >::value_type *lhs, const flex_string< E, T, A, S > &rhs) |
template<typename E , class T , class A , class S > | |
flex_string< E, T, A, S > | operator+ (typename flex_string< E, T, A, S >::value_type lhs, const flex_string< E, T, A, S > &rhs) |
template<typename E , class T , class A , class S > | |
flex_string< E, T, A, S > | operator+ (const flex_string< E, T, A, S > &lhs, const typename flex_string< E, T, A, S >::value_type *rhs) |
template<typename E , class T , class A , class S > | |
flex_string< E, T, A, S > | operator+ (const flex_string< E, T, A, S > &lhs, typename flex_string< E, T, A, S >::value_type rhs) |
template<typename E , class T , class A , class S > | |
bool | operator== (const flex_string< E, T, A, S > &lhs, const flex_string< E, T, A, S > &rhs) |
template<typename E , class T , class A , class S > | |
bool | operator== (const typename flex_string< E, T, A, S >::value_type *lhs, const flex_string< E, T, A, S > &rhs) |
template<typename E , class T , class A , class S > | |
bool | operator== (const flex_string< E, T, A, S > &lhs, const typename flex_string< E, T, A, S >::value_type *rhs) |
template<typename E , class T , class A , class S > | |
bool | operator!= (const flex_string< E, T, A, S > &lhs, const flex_string< E, T, A, S > &rhs) |
template<typename E , class T , class A , class S > | |
bool | operator!= (const typename flex_string< E, T, A, S >::value_type *lhs, const flex_string< E, T, A, S > &rhs) |
template<typename E , class T , class A , class S > | |
bool | operator!= (const flex_string< E, T, A, S > &lhs, const typename flex_string< E, T, A, S >::value_type *rhs) |
template<typename E , class T , class A , class S > | |
bool | operator< (const flex_string< E, T, A, S > &lhs, const flex_string< E, T, A, S > &rhs) |
template<typename E , class T , class A , class S > | |
bool | operator< (const flex_string< E, T, A, S > &lhs, const typename flex_string< E, T, A, S >::value_type *rhs) |
template<typename E , class T , class A , class S > | |
bool | operator< (const typename flex_string< E, T, A, S >::value_type *lhs, const flex_string< E, T, A, S > &rhs) |
template<typename E , class T , class A , class S > | |
bool | operator> (const flex_string< E, T, A, S > &lhs, const flex_string< E, T, A, S > &rhs) |
template<typename E , class T , class A , class S > | |
bool | operator> (const flex_string< E, T, A, S > &lhs, const typename flex_string< E, T, A, S >::value_type *rhs) |
template<typename E , class T , class A , class S > | |
bool | operator> (const typename flex_string< E, T, A, S >::value_type *lhs, const flex_string< E, T, A, S > &rhs) |
template<typename E , class T , class A , class S > | |
bool | operator<= (const flex_string< E, T, A, S > &lhs, const flex_string< E, T, A, S > &rhs) |
template<typename E , class T , class A , class S > | |
bool | operator<= (const flex_string< E, T, A, S > &lhs, const typename flex_string< E, T, A, S >::value_type *rhs) |
template<typename E , class T , class A , class S > | |
bool | operator<= (const typename flex_string< E, T, A, S >::value_type *lhs, const flex_string< E, T, A, S > &rhs) |
template<typename E , class T , class A , class S > | |
bool | operator>= (const flex_string< E, T, A, S > &lhs, const flex_string< E, T, A, S > &rhs) |
template<typename E , class T , class A , class S > | |
bool | operator>= (const flex_string< E, T, A, S > &lhs, const typename flex_string< E, T, A, S >::value_type *rhs) |
template<typename E , class T , class A , class S > | |
bool | operator>= (const typename flex_string< E, T, A, S >::value_type *lhs, const flex_string< E, T, A, S > &rhs) |
template<typename E , class T , class A , class S > | |
void | swap (flex_string< E, T, A, S > &lhs, flex_string< E, T, A, S > &rhs) |
template<typename E , class T , class A , class S > | |
std::basic_istream< typename flex_string< E, T, A, S > ::value_type, typename flex_string< E, T, A, S > ::traits_type > & | operator>> (std::basic_istream< typename flex_string< E, T, A, S >::value_type, typename flex_string< E, T, A, S >::traits_type > &is, flex_string< E, T, A, S > &str) |
template<typename E , class T , class A , class S > | |
std::basic_ostream< typename flex_string< E, T, A, S > ::value_type, typename flex_string< E, T, A, S > ::traits_type > & | operator<< (std::basic_ostream< typename flex_string< E, T, A, S >::value_type, typename flex_string< E, T, A, S >::traits_type > &os, const flex_string< E, T, A, S > &str) |
template<typename ContextT , typename IteratorT , typename ContainerT > | |
bool | interpret_pragma (ContextT &ctx, typename ContextT::token_type const &act_token, IteratorT it, IteratorT const &end, ContainerT &pending) |
template<typename TokenT , typename ContainerT > | |
void | intrusive_ptr_add_ref (macro_definition< TokenT, ContainerT > *p) |
template<typename TokenT , typename ContainerT > | |
void | intrusive_ptr_release (macro_definition< TokenT, ContainerT > *p) |
template<typename CharT > | |
pattern_and< CharT > | pattern_p (CharT pattern, unsigned long pattern_mask=0UL) |
|
inline |
|
inline |
References boost::filesystem::path::branch_path().
Referenced by boost::wave::util::include_paths::set_current_directory().
|
inline |
References boost::filesystem::complete(), and initial_path().
Referenced by boost::wave::util::include_paths::add_include_path(), boost::wave::context< IteratorT, LexIteratorT, InputPolicyT, HooksT, DerivedT >::begin(), boost::wave::context< IteratorT, LexIteratorT, InputPolicyT, HooksT, DerivedT >::init_context(), and boost::wave::util::include_paths::set_current_directory().
|
inline |
References boost::filesystem::complete().
|
inline |
References boost::filesystem::create_directories(), and boost::filesystem::path::string().
|
inline |
References boost::filesystem::native().
Referenced by boost::wave::util::include_paths::add_include_path(), boost::wave::impl::pp_iterator_functor< ContextT >::emit_line_directive(), boost::wave::util::macromap< ContextT >::expand_predefined_macro(), boost::wave::util::include_paths::find_include_file(), boost::wave::util::macromap< ContextT >::init_predefined_macros(), boost::wave::context_policies::default_preprocessing_hooks::locate_include_file(), boost::wave::impl::pp_iterator_functor< ContextT >::on_include_helper(), boost::wave::impl::pp_iterator_functor< ContextT >::returned_from_include(), and boost::wave::util::include_paths::set_current_directory().
|
inline |
References boost::filesystem::current_path().
|
inline |
References BOOST_ASSERT, last_severity_code, and severity_remark.
Referenced by boost::wave::preprocess_exception::severity_text().
|
inline |
References boost::filesystem::initial_path().
Referenced by complete_path().
|
inline |
References boost::wave::AltExtTokenType, boost::spirit::anychar_p, boost::wave::util::impl::as_string(), boost::wave::BoolLiteralTokenType, BOOST_ASSERT, BOOST_WAVE_PRAGMA_KEYWORD, BOOST_WAVE_THROW_CTX, boost::spirit::ch_p(), boost::spirit::comment_nest_p(), boost::wave::ExtTokenTypeMask, boost::wave::KeywordTokenType, boost::spirit::lexeme_d, boost::wave::OperatorTokenType, boost::spirit::parse(), pattern_p(), boost::wave::PPTokenFlag, spirit_append_actor, spirit_assign_actor, boost::wave::T_IDENTIFIER, boost::wave::T_LEFTPAREN, boost::wave::T_NEWLINE, boost::wave::T_RIGHTPAREN, boost::wave::TokenTypeMask, boost::adaptors::values(), and boost::wave::WhiteSpaceTokenType.
Referenced by boost::wave::impl::pp_iterator_functor< ContextT >::interpret_pragma(), boost::wave::impl::pp_iterator_functor< ContextT >::on_pragma(), and boost::wave::util::macromap< ContextT >::resolve_operator_pragma().
|
inline |
|
inline |
|
inline |
References boost::filesystem::path::leaf(), and boost::filesystem::path::string().
|
inline |
References boost::filesystem::path::string().
Referenced by boost::wave::impl::pp_iterator_functor< ContextT >::emit_line_directive(), boost::wave::util::macromap< ContextT >::expand_predefined_macro(), boost::wave::util::macromap< ContextT >::init_predefined_macros(), and boost::wave::context_policies::default_preprocessing_hooks::locate_include_file().
|
inline |
References boost::filesystem::path::normalize().
Referenced by boost::wave::util::include_paths::find_include_file().
|
inline |
|
inline |
|
inline |
|
inline |
flex_string<E, T, A, S> boost::wave::util::operator+ | ( | const flex_string< E, T, A, S > & | lhs, |
const flex_string< E, T, A, S > & | rhs | ||
) |
flex_string<E, T, A, S> boost::wave::util::operator+ | ( | const typename flex_string< E, T, A, S >::value_type * | lhs, |
const flex_string< E, T, A, S > & | rhs | ||
) |
flex_string<E, T, A, S> boost::wave::util::operator+ | ( | typename flex_string< E, T, A, S >::value_type | lhs, |
const flex_string< E, T, A, S > & | rhs | ||
) |
flex_string<E, T, A, S> boost::wave::util::operator+ | ( | const flex_string< E, T, A, S > & | lhs, |
const typename flex_string< E, T, A, S >::value_type * | rhs | ||
) |
flex_string<E, T, A, S> boost::wave::util::operator+ | ( | const flex_string< E, T, A, S > & | lhs, |
typename flex_string< E, T, A, S >::value_type | rhs | ||
) |
|
inline |
|
inline |
std::basic_ostream<typename flex_string<E, T, A, S>::value_type, typename flex_string<E, T, A, S>::traits_type>& boost::wave::util::operator<< | ( | std::basic_ostream< typename flex_string< E, T, A, S >::value_type, typename flex_string< E, T, A, S >::traits_type > & | os, |
const flex_string< E, T, A, S > & | str | ||
) |
|
inline |
|
inline |
bool boost::wave::util::operator<= | ( | const typename flex_string< E, T, A, S >::value_type * | lhs, |
const flex_string< E, T, A, S > & | rhs | ||
) |
bool boost::wave::util::operator== | ( | file_position< StringT > const & | lhs, |
file_position< StringT > const & | rhs | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
bool boost::wave::util::operator> | ( | const typename flex_string< E, T, A, S >::value_type * | lhs, |
const flex_string< E, T, A, S > & | rhs | ||
) |
bool boost::wave::util::operator>= | ( | const flex_string< E, T, A, S > & | lhs, |
const flex_string< E, T, A, S > & | rhs | ||
) |
bool boost::wave::util::operator>= | ( | const flex_string< E, T, A, S > & | lhs, |
const typename flex_string< E, T, A, S >::value_type * | rhs | ||
) |
|
inline |
|
inline |
|
inline |
Referenced by boost::wave::grammars::predefined_macros_grammar::definition< ScannerT >::definition(), boost::wave::grammars::defined_grammar< ContainerT >::definition< ScannerT >::definition(), boost::wave::grammars::cpp_grammar< TokenT, ContainerT >::definition< ScannerT >::definition(), boost::wave::grammars::expression_grammar::definition< ScannerT >::definition(), and interpret_pragma().
Allocator::pointer boost::wave::util::Reallocate | ( | Allocator & | alloc, |
typename Allocator::pointer | p, | ||
typename Allocator::size_type | oldObjCount, | ||
typename Allocator::size_type | newObjCount, | ||
void * | |||
) |
Allocator::pointer boost::wave::util::Reallocate | ( | Allocator & | alloc, |
typename Allocator::pointer | p, | ||
typename Allocator::size_type | oldObjCount, | ||
typename Allocator::size_type | newObjCount, | ||
mallocator< void > * | |||
) |
|
inline |
References BOOST_WAVE_THROW_CTX.
Referenced by boost::wave::util::macromap< ContextT >::concat_tokensequence().
|
inline |
|
inline |
References BOOST_WAVE_THROW_CTX, and boost::spirit::find_node().
Referenced by boost::wave::impl::pp_iterator_functor< ContextT >::on_define().
void boost::wave::util::swap | ( | flex_string< E, T, A, S > & | lhs, |
flex_string< E, T, A, S > & | rhs | ||
) |
References boost::wave::util::flex_string< E, T, A, Storage >::swap().
Referenced by boost::wave::util::AllocatorStringStorage< E, A >::reserve(), boost::wave::util::SimpleStringStorage< E, A >::swap(), boost::wave::util::AllocatorStringStorage< E, A >::swap(), boost::wave::util::VectorStringStorage< E, A >::swap(), boost::wave::util::SmallStringOpt< Storage, threshold, Align >::swap(), and boost::wave::util::flex_string< E, T, A, Storage >::swap().
void boost::wave::util::throw_ | ( | typename Exception::error_code | code, |
S1 | msg, | ||
Pos const & | pos | ||
) |
References boost::archive::code, boost::expressions::stream, and boost::throw_exception().
void boost::wave::util::throw_ | ( | Context & | ctx, |
typename Exception::error_code | code, | ||
S1 | msg, | ||
Pos const & | pos | ||
) |
References boost::archive::code, and boost::expressions::stream.
void boost::wave::util::throw_ | ( | typename Exception::error_code | code, |
S1 | msg, | ||
Pos const & | pos, | ||
S2 | name | ||
) |
void boost::wave::util::throw_ | ( | Context & | ctx, |
typename Exception::error_code | code, | ||
S1 | msg, | ||
Pos1 const & | pos, | ||
S2 | name | ||
) |
|
inline |