Logo Search packages:      
Sourcecode: libdbg version File versions  Download package

dbg::source_pos Struct Reference

#include <dbg.h>

List of all 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.

Definition at line 431 of file dbg.h.

Public Member Functions

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

Public Attributes

file_name_t file
func_name_t func
line_no_t line
dbg_source src

The documentation for this struct was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index