C API Functions

prevnext

udbReferenceLine


Description

Return the line of the specified reference.

Syntax

 #include "udb/udb.h"
 int  udbReferenceLine(UdbReference ref)

Arguments

Argument description
UdbReference ref Specified reference

Return Values

Return Value description
int The line position of specified reference.

Example Usage

 printf ("%s: %s (%s [%d,%d])\n",
                      	 udbKindShortname(udbReferenceKind(ref)),
                      	 udbEntityNameShort(udbReferenceEntity(ref)),
                      	 udbEntityNameShort(udbReferenceFile(ref)),
                      	 udbReferenceLine(ref),
                      	 udbReferenceColumn(ref) );

See Also

udbReferenceColumn to get the column position of the specified reference.

udbReferenceEntity to get the entity of the specified reference.

udbReferenceFile to get the file of the specified reference.

udbReferenceKind to get the kind of reference.

udbReferenceScope to get the entity performing the reference.

prevnext


Scientific Toolworks, Inc.
http://www.scitools.com
Voice: (802) 763-2995
Fax: (802) 763-3066
support@scitools.com
sales@scitools.com