Eclipse CDT
Pre-release 3.0

org.eclipse.cdt.core.search
Interface IMatch

All Known Implementing Classes:
BasicSearchMatch

public interface IMatch

Interface used for returning matches from the Search Engine


Method Summary
 int getElementType()
          Returns ICElement constant describing the element type
 IMatchLocatable getLocatable()
           
 IPath getLocation()
           
 String getName()
           
 String[] getParameters()
          Returns the list of parameters if this matched a function or a method.
 String getParentName()
           
 IPath getReferenceLocation()
           
 IResource getResource()
           
 String getReturnType()
          Returns the return type if this matched a function or a method.
 int getVisibility()
           
 boolean isConst()
           
 boolean isStatic()
           
 boolean isVolatile()
           
 

Method Detail

getElementType

int getElementType()
Returns ICElement constant describing the element type

Returns:

getVisibility

int getVisibility()

getName

String getName()

getParameters

String[] getParameters()
Returns the list of parameters if this matched a function or a method.

Returns:
array of Strings for the parameters

getReturnType

String getReturnType()
Returns the return type if this matched a function or a method.

Returns:
the return type

getParentName

String getParentName()

getResource

IResource getResource()

getLocation

IPath getLocation()

getReferenceLocation

IPath getReferenceLocation()

getLocatable

IMatchLocatable getLocatable()

isStatic

boolean isStatic()

isConst

boolean isConst()

isVolatile

boolean isVolatile()

Eclipse CDT
Pre-release 3.0

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