|
Aegis
4.25.D505
|
#include <pos.h>
Public Types | |
| typedef aegis_shared_ptr < rpt_position > | pointer |
Public Member Functions | |
| virtual | ~rpt_position () |
| void | print_error (sub_context_ty &sc, const char *text) const |
| nstring | get_file_name () const |
| long | get_line_number () const |
| nstring | representation () const |
Static Public Member Functions | |
| static rpt_position::pointer | create (const nstring &file_name) |
| static rpt_position::pointer | create (const nstring &file_name, long linum) |
| static rpt_position::pointer | create (const nstring &file_name, long linum1, long linum2) |
| static rpt_position::pointer | join (const rpt_position::pointer &lhs, const rpt_position::pointer &rhs) |
Private Member Functions | |
| rpt_position (const nstring &file_name, long linum1, long linum2) | |
Private Attributes | |
| nstring | file_name |
| long | line_number [2] |
The rpt_position class is used to represent a source file location, by name and line number.
| virtual rpt_position::~rpt_position | ( | ) | [virtual] |
| rpt_position::rpt_position | ( | const nstring & | file_name, |
| long | linum1, | ||
| long | linum2 | ||
| ) | [private] |
| static rpt_position::pointer rpt_position::create | ( | const nstring & | file_name | ) | [static] |
| static rpt_position::pointer rpt_position::create | ( | const nstring & | file_name, |
| long | linum | ||
| ) | [static] |
| static rpt_position::pointer rpt_position::create | ( | const nstring & | file_name, |
| long | linum1, | ||
| long | linum2 | ||
| ) | [static] |
| nstring rpt_position::get_file_name | ( | ) | const [inline] |
| long rpt_position::get_line_number | ( | ) | const [inline] |
| static rpt_position::pointer rpt_position::join | ( | const rpt_position::pointer & | lhs, |
| const rpt_position::pointer & | rhs | ||
| ) | [static] |
| void rpt_position::print_error | ( | sub_context_ty & | sc, |
| const char * | text | ||
| ) | const |
| nstring rpt_position::representation | ( | ) | const |
nstring rpt_position::file_name [private] |
long rpt_position::line_number[2] [private] |
1.7.6.1