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

public int getElementType()
Returns ICElement constant describing the element type

Returns:

getVisibility

public int getVisibility()

getName

public String getName()

getParameters

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

Returns:
array of Strings for the parameters

getReturnType

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

Returns:
the return type

getParentName

public String getParentName()

getResource

public IResource getResource()

getLocation

public IPath getLocation()

getReferenceLocation

public IPath getReferenceLocation()

getLocatable

public IMatchLocatable getLocatable()

isStatic

public boolean isStatic()

isConst

public boolean isConst()

isVolatile

public boolean isVolatile()

Eclipse CDT
Pre-release 3.0

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