Eclipse CDT
Pre-release 3.0

org.eclipse.cdt.debug.core.cdi.model
Interface ICDIAddressToSource.IMappedSourceLocation

All Superinterfaces:
Comparable
Enclosing interface:
ICDIAddressToSource

public static interface ICDIAddressToSource.IMappedSourceLocation
extends Comparable

Represents a source location returned by ICDIAddressToSource.getSourceForAddress.


Method Summary
 IAddress getAddress()
          Returns the address of the source location.
 IPath getExecutable()
          Return the path to the executable the address is in.
 String getFunctionName()
          Returns the name of the function the address is in.
 int getLineNumber()
          Returns the line number corresponding to the address.
 IPath getSourceFile()
          Returns the location of the source file.
 String getUnmangledFunctionName()
          Returns the unmangled name of the function the address is in.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getAddress

public IAddress getAddress()
Returns the address of the source location. This should be the same address passed to ICDIAddressToSource.getSourceForAddress.

Returns:
address of the source location.

getSourceFile

public IPath getSourceFile()
Returns the location of the source file.

Returns:
the location of the source file.

getLineNumber

public int getLineNumber()
Returns the line number corresponding to the address.

Returns:
the line number corresponding to the address.

getFunctionName

public String getFunctionName()
Returns the name of the function the address is in.

Returns:
the name of the function the address is in.

getUnmangledFunctionName

public String getUnmangledFunctionName()
Returns the unmangled name of the function the address is in.

Returns:
the unmangled name of the function the address is in.

getExecutable

public IPath getExecutable()
Return the path to the executable the address is in.

Returns:
the path to the executable the address is in.

Eclipse CDT
Pre-release 3.0

Copyright (c) IBM Corp. and others 2004. All Rights Reserved.