#include <psourceinfo.h>
Public Member Functions | |
| SourceInfo () throw () | |
| Default constructor. | |
| SourceInfo (const SourceInfo &si) throw () | |
| Copy constructor. | |
| SourceInfo (const char *_file, unsigned int _line, const char *_func) throw () | |
| Constructor. | |
| const char * | file () const throw () |
| Return the filename. | |
| unsigned int | line () const throw () |
| Returns the line number. | |
| const char * | func () const throw () |
| Returns the function signature. | |
| SourceInfo & | operator= (const SourceInfo &si) |
| Assign operator. | |
This class is used by exception classes for storing information about the location in the source code where the error occured.
Definition at line 55 of file psourceinfo.h.
|
|
Default constructor.
|
|
|
Copy constructor.
|
|
||||||||||||||||
|
Constructor.
|
|
|
Return the filename. Returns the name of the file where the exception has been thrown.
Definition at line 77 of file psourceinfo.h. |
|
|
Returns the function signature. Returns the signature of the function where the exception has been thrown.
Definition at line 97 of file psourceinfo.h. |
|
|
Returns the line number. Returns the line number of the file where the exception has been thrown.
Definition at line 87 of file psourceinfo.h. |
|
|
Assign operator.
|
1.3.3