org.eclipse.cdt.internal.ui.callhierarchy
Class CHQueries

java.lang.Object
  extended by org.eclipse.cdt.internal.ui.callhierarchy.CHQueries

public class CHQueries
extends java.lang.Object

Access to high level queries in the index.

Since:
4.0

Method Summary
static CHNode[] findCalledBy(CHContentProvider cp, CHNode node, org.eclipse.cdt.core.index.IIndex index, org.eclipse.core.runtime.IProgressMonitor pm)
          Searches for functions and methods that call a given element.
static CHNode[] findCalls(CHContentProvider cp, CHNode node, org.eclipse.cdt.core.index.IIndex index, org.eclipse.core.runtime.IProgressMonitor pm)
          Searches for all calls that are made within a given range.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

findCalledBy

public static CHNode[] findCalledBy(CHContentProvider cp,
                                    CHNode node,
                                    org.eclipse.cdt.core.index.IIndex index,
                                    org.eclipse.core.runtime.IProgressMonitor pm)
                             throws org.eclipse.core.runtime.CoreException
Searches for functions and methods that call a given element.

Throws:
org.eclipse.core.runtime.CoreException

findCalls

public static CHNode[] findCalls(CHContentProvider cp,
                                 CHNode node,
                                 org.eclipse.cdt.core.index.IIndex index,
                                 org.eclipse.core.runtime.IProgressMonitor pm)
                          throws org.eclipse.core.runtime.CoreException
Searches for all calls that are made within a given range.

Throws:
org.eclipse.core.runtime.CoreException