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

#include <cpplexer_exceptions.hpp>

Inheritance diagram for boost::wave::cpplexer::lexing_exception:
Collaboration diagram for boost::wave::cpplexer::lexing_exception:

Public Types

enum  error_code {
  unexpected_error = 0,
  universal_char_invalid = 1,
  universal_char_base_charset = 2,
  universal_char_not_allowed = 3,
  invalid_long_long_literal = 4,
  generic_lexing_error = 5,
  generic_lexing_warning = 6
}
 

Public Member Functions

 lexing_exception (char const *what_, error_code code, std::size_t line_, std::size_t column_, char const *filename_) throw ()
 
 ~lexing_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 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
unexpected_error 
universal_char_invalid 
universal_char_base_charset 
universal_char_not_allowed 
invalid_long_long_literal 
generic_lexing_error 
generic_lexing_warning 

Constructor & Destructor Documentation

boost::wave::cpplexer::lexing_exception::lexing_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::cpplexer::lexing_exception::~lexing_exception ( )
throw (
)
inline

Member Function Documentation

std::size_t boost::wave::cpplexer::cpplexer_exception::column_no ( ) const
throw (
)
inlineinherited
virtual char const* boost::wave::cpplexer::lexing_exception::description ( ) const
throw (
)
inlinevirtual
static char const* boost::wave::cpplexer::lexing_exception::error_text ( int  code)
inlinestatic

References boost::archive::code.

char const* boost::wave::cpplexer::cpplexer_exception::file_name ( ) const
throw (
)
inlineinherited
virtual int boost::wave::cpplexer::lexing_exception::get_errorcode ( ) const
throw (
)
inlinevirtual
virtual int boost::wave::cpplexer::lexing_exception::get_severity ( ) const
throw (
)
inlinevirtual
virtual bool boost::wave::cpplexer::lexing_exception::is_recoverable ( ) const
throw (
)
inlinevirtual
std::size_t boost::wave::cpplexer::cpplexer_exception::line_no ( ) const
throw (
)
inlineinherited
static util::severity boost::wave::cpplexer::lexing_exception::severity_level ( int  code)
inlinestatic
static char const* boost::wave::cpplexer::lexing_exception::severity_text ( int  code)
inlinestatic
virtual char const* boost::wave::cpplexer::lexing_exception::what ( ) const
throw (
)
inlinevirtual

Member Data Documentation

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

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