Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::wave::preprocess_exception Class Reference

#include <cpp_exceptions.hpp>

Inheritance diagram for boost::wave::preprocess_exception:
Collaboration diagram for boost::wave::preprocess_exception:

Public Types

enum  error_code {
  no_error = 0,
  unexpected_error,
  macro_redefinition,
  macro_insertion_error,
  bad_include_file,
  bad_include_statement,
  ill_formed_directive,
  error_directive,
  warning_directive,
  ill_formed_expression,
  missing_matching_if,
  missing_matching_endif,
  ill_formed_operator,
  bad_define_statement,
  bad_define_statement_va_args,
  too_few_macroarguments,
  too_many_macroarguments,
  empty_macroarguments,
  improperly_terminated_macro,
  bad_line_statement,
  bad_line_number,
  bad_line_filename,
  bad_undefine_statement,
  bad_macro_definition,
  illegal_redefinition,
  duplicate_parameter_name,
  invalid_concat,
  last_line_not_terminated,
  ill_formed_pragma_option,
  include_nesting_too_deep,
  misplaced_operator,
  alreadydefined_name,
  undefined_macroname,
  invalid_macroname,
  unexpected_qualified_name,
  division_by_zero,
  integer_overflow,
  illegal_operator_redefinition,
  ill_formed_integer_literal,
  ill_formed_character_literal,
  unbalanced_if_endif,
  character_literal_out_of_range,
  could_not_open_output_file,
  incompatible_config,
  ill_formed_pragma_message,
  pragma_message_directive,
  last_error_number = pragma_message_directive
}
 

Public Member Functions

 preprocess_exception (char const *what_, error_code code, std::size_t line_, std::size_t column_, char const *filename_) throw ()
 
 ~preprocess_exception () throw ()
 
virtual char const * what () const throw ()
 
virtual char const * description () const throw ()
 
virtual int get_severity () const throw ()
 
virtual int get_errorcode () const throw ()
 
virtual char const * get_related_name () const throw ()
 
virtual bool is_recoverable () const throw ()
 
std::size_t line_no () const throw ()
 
std::size_t column_no () const throw ()
 
char const * file_name () const throw ()
 

Static Public Member Functions

static char const * error_text (int code)
 
static util::severity severity_level (int code)
 
static char const * severity_text (int code)
 

Protected Attributes

char filename [512]
 
std::size_t line
 
std::size_t column
 

Member Enumeration Documentation

Enumerator
no_error 
unexpected_error 
macro_redefinition 
macro_insertion_error 
bad_include_file 
bad_include_statement 
ill_formed_directive 
error_directive 
warning_directive 
ill_formed_expression 
missing_matching_if 
missing_matching_endif 
ill_formed_operator 
bad_define_statement 
bad_define_statement_va_args 
too_few_macroarguments 
too_many_macroarguments 
empty_macroarguments 
improperly_terminated_macro 
bad_line_statement 
bad_line_number 
bad_line_filename 
bad_undefine_statement 
bad_macro_definition 
illegal_redefinition 
duplicate_parameter_name 
invalid_concat 
last_line_not_terminated 
ill_formed_pragma_option 
include_nesting_too_deep 
misplaced_operator 
alreadydefined_name 
undefined_macroname 
invalid_macroname 
unexpected_qualified_name 
division_by_zero 
integer_overflow 
illegal_operator_redefinition 
ill_formed_integer_literal 
ill_formed_character_literal 
unbalanced_if_endif 
character_literal_out_of_range 
could_not_open_output_file 
incompatible_config 
ill_formed_pragma_message 
pragma_message_directive 
last_error_number 

Constructor & Destructor Documentation

boost::wave::preprocess_exception::preprocess_exception ( char const *  what_,
error_code  code,
std::size_t  line_,
std::size_t  column_,
char const *  filename_ 
)
throw (
)
inline

References boost::buffer().

boost::wave::preprocess_exception::~preprocess_exception ( )
throw (
)
inline

Member Function Documentation

std::size_t boost::wave::cpp_exception::column_no ( ) const
throw (
)
inlineinherited
virtual char const* boost::wave::preprocess_exception::description ( ) const
throw (
)
inlinevirtual
static char const* boost::wave::preprocess_exception::error_text ( int  code)
inlinestatic
char const* boost::wave::cpp_exception::file_name ( ) const
throw (
)
inlineinherited
virtual int boost::wave::preprocess_exception::get_errorcode ( ) const
throw (
)
inlinevirtual
virtual char const* boost::wave::preprocess_exception::get_related_name ( ) const
throw (
)
inlinevirtual
virtual int boost::wave::preprocess_exception::get_severity ( ) const
throw (
)
inlinevirtual
std::size_t boost::wave::cpp_exception::line_no ( ) const
throw (
)
inlineinherited
static char const* boost::wave::preprocess_exception::severity_text ( int  code)
inlinestatic
virtual char const* boost::wave::preprocess_exception::what ( ) const
throw (
)
inlinevirtual

Member Data Documentation

std::size_t boost::wave::cpp_exception::column
protectedinherited
char boost::wave::cpp_exception::filename[512]
protectedinherited
std::size_t boost::wave::cpp_exception::line
protectedinherited

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