MetaCC::Error Class Reference

#include <metacc_error.h>

List of all members.


Detailed Description

Exception class which represents an error in the MetaCC compiler.

Definition at line 9 of file metacc_error.h.

Public Member Functions

 Error (const std::string n_msg, unsigned int n_row, unsigned int n_col)
 Construct the exception object Error.
const std::string get_msg () const
 Return syntax error message text.
unsigned int get_row () const
 Return syntax error location in input text (row number).
unsigned int get_col () const
 Return syntax error location in input text (column number).


Constructor & Destructor Documentation

MetaCC::Error::Error ( const std::string  n_msg,
unsigned int  n_row,
unsigned int  n_col 
)

Construct the exception object Error.

Definition at line 7 of file metacc_error.cpp.


Member Function Documentation

const std::string MetaCC::Error::get_msg (  )  const [inline]

Return syntax error message text.

Definition at line 19 of file metacc_error.h.

unsigned int MetaCC::Error::get_row (  )  const [inline]

Return syntax error location in input text (row number).

Definition at line 22 of file metacc_error.h.

unsigned int MetaCC::Error::get_col (  )  const [inline]

Return syntax error location in input text (column number).

Definition at line 25 of file metacc_error.h.


The documentation for this class was generated from the following files:
Generated on Sat Sep 9 03:50:56 2006 for Openem APIs by  doxygen 1.4.7