struct source_pos

Data structure describing a position in the source file. More...

Full namedbg::source_pos
Definition#include <dbg.h>
Inherited byassert_info
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Members


Detailed Description

Data structure describing a position in the source file. That is,

To create a source_pos for the current position, you can use the DBG_HERE convenience macro.

There is an empty constructor that allows you to create a source_pos that represents 'no position specified'.

This structure should only be used in dbg library API calls.

You can print a source_pos using the usual stream manipulator syntax.

line_no_t line

line

func_name_t func

func

file_name_t file

file

dbg_source src

src

 source_pos (line_no_t ln, func_name_t fn, file_name_t fl, dbg_source s)

source_pos

Creates a source_pos struct. Use the DBG_HERE macro to call this constructor conveniently.

 source_pos ()

source_pos

A 'null' source_pos for 'no position specified'


Generated by: pg1 on imgpc030 on Tue Sep 16 13:46:16 2003, using kdoc 2.0a54.