Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

IntelibX_reader_error Class Reference

#include <sreader.hpp>

Inheritance diagram for IntelibX_reader_error:

Inheritance graph
[legend]
Collaboration diagram for IntelibX_reader_error:

Collaboration graph
[legend]
List of all members.

Detailed Description

Exception class for reader errors capable of keeping line numbers.

Definition at line 259 of file sreader.hpp.

Public Member Functions

 IntelibX_reader_error (SReference a_param, int a_line, int a_begline=-1, SString &afn="")
 The constructor.
int Line ()
int ExpBegLine ()
SStringFileName ()
void AddStack (SReference r)
 Add an element to the carried stack-related information.
const char * Description () const
 Get the description.
const SReferenceParameter () const
 Get the parameter.
const SReferenceStack () const
 Get the stack.


Constructor & Destructor Documentation

IntelibX_reader_error::IntelibX_reader_error SReference  a_param,
int  a_line,
int  a_begline = -1,
SString afn = ""
 

The constructor.

Parameters:
a_param is an expression, typically just a diagnostic message
a_line is the line number (or -1 if not available)
a_begline is the number of the line where the expression has started (e.g., where the left parenthesis was found, in case smth. wrong with the list
afn is the name of the file, or an empty string if the name is not available

Definition at line 477 of file sreader.cpp.


Member Function Documentation

int IntelibX_reader_error::Line  ) 
 

Definition at line 278 of file sreader.hpp.

int IntelibX_reader_error::ExpBegLine  ) 
 

Definition at line 279 of file sreader.hpp.

SString& IntelibX_reader_error::FileName  ) 
 

Definition at line 280 of file sreader.hpp.

void IntelibX::AddStack SReference  r  )  [inherited]
 

Add an element to the carried stack-related information.

Definition at line 34 of file iexcept.cpp.

References SReference::GetPtr(), and PTheEmptyList.

const char* IntelibX::Description  )  const [inherited]
 

Get the description.

Definition at line 85 of file iexcept.hpp.

const SReference& IntelibX::Parameter  )  const [inherited]
 

Get the parameter.

Definition at line 87 of file iexcept.hpp.

const SReference& IntelibX::Stack  )  const [inherited]
 

Get the stack.

Definition at line 89 of file iexcept.hpp.


The documentation for this class was generated from the following files:
Generated on Tue Dec 18 00:42:18 2007 for InteLib by  doxygen 1.4.1