#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] |
Definition at line 34 of file pos.h.
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] |
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] |