org.eclipse.cdt.make.internal.core.scannerconfig2
Class PerFileSICollector.PerFileDiscoveredPathInfo

java.lang.Object
  extended by org.eclipse.cdt.make.internal.core.scannerconfig2.PerFileSICollector.PerFileDiscoveredPathInfo
All Implemented Interfaces:
IDiscoveredPathManager.IDiscoveredPathInfo, IDiscoveredPathManager.IPerFileDiscoveredPathInfo, IDiscoveredPathManager.IPerFileDiscoveredPathInfo2
Enclosing class:
PerFileSICollector

public class PerFileSICollector.PerFileDiscoveredPathInfo
extends java.lang.Object
implements IDiscoveredPathManager.IPerFileDiscoveredPathInfo2

Per file DPI object

Author:
vhirsl

Constructor Summary
PerFileSICollector.PerFileDiscoveredPathInfo()
           
 
Method Summary
 org.eclipse.core.runtime.IPath[] getIncludeFiles(org.eclipse.core.runtime.IPath path)
          Get include files (gcc option -include) for the specific path (file)
 org.eclipse.core.runtime.IPath[] getIncludePaths()
          Get include paths for the whole project
 org.eclipse.core.runtime.IPath[] getIncludePaths(org.eclipse.core.runtime.IPath path)
          Get include paths for the specific path (file)
 org.eclipse.core.runtime.IPath[] getMacroFiles(org.eclipse.core.runtime.IPath path)
          Get macro files (gcc option -imacros) for the specific path (file)
 java.util.Map getPathInfoMap()
          returns the map containing IResource - to - PathInfo pairs representing complete set of discovered information for the whole project
 org.eclipse.core.resources.IProject getProject()
           
 org.eclipse.core.runtime.IPath[] getQuoteIncludePaths(org.eclipse.core.runtime.IPath path)
          Get quote include paths (for #include "...") for the specific path (file)
 IDiscoveredPathManager.IDiscoveredScannerInfoSerializable getSerializable()
           
 java.util.Map getSymbols()
          Get defined symbols for the whole project
 java.util.Map getSymbols(org.eclipse.core.runtime.IPath path)
          Get defined symbols for the specific path (file)
 boolean isEmpty(org.eclipse.core.runtime.IPath path)
          Returns if there is any discovered scanner info for the path
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerFileSICollector.PerFileDiscoveredPathInfo

public PerFileSICollector.PerFileDiscoveredPathInfo()
Method Detail

getProject

public org.eclipse.core.resources.IProject getProject()
Specified by:
getProject in interface IDiscoveredPathManager.IDiscoveredPathInfo

getIncludePaths

public org.eclipse.core.runtime.IPath[] getIncludePaths()
Description copied from interface: IDiscoveredPathManager.IDiscoveredPathInfo
Get include paths for the whole project

Specified by:
getIncludePaths in interface IDiscoveredPathManager.IDiscoveredPathInfo

getSymbols

public java.util.Map getSymbols()
Description copied from interface: IDiscoveredPathManager.IDiscoveredPathInfo
Get defined symbols for the whole project

Specified by:
getSymbols in interface IDiscoveredPathManager.IDiscoveredPathInfo

getIncludePaths

public org.eclipse.core.runtime.IPath[] getIncludePaths(org.eclipse.core.runtime.IPath path)
Description copied from interface: IDiscoveredPathManager.IPerFileDiscoveredPathInfo
Get include paths for the specific path (file)

Specified by:
getIncludePaths in interface IDiscoveredPathManager.IPerFileDiscoveredPathInfo

getQuoteIncludePaths

public org.eclipse.core.runtime.IPath[] getQuoteIncludePaths(org.eclipse.core.runtime.IPath path)
Description copied from interface: IDiscoveredPathManager.IPerFileDiscoveredPathInfo
Get quote include paths (for #include "...") for the specific path (file)

Specified by:
getQuoteIncludePaths in interface IDiscoveredPathManager.IPerFileDiscoveredPathInfo

getSymbols

public java.util.Map getSymbols(org.eclipse.core.runtime.IPath path)
Description copied from interface: IDiscoveredPathManager.IPerFileDiscoveredPathInfo
Get defined symbols for the specific path (file)

Specified by:
getSymbols in interface IDiscoveredPathManager.IPerFileDiscoveredPathInfo

getIncludeFiles

public org.eclipse.core.runtime.IPath[] getIncludeFiles(org.eclipse.core.runtime.IPath path)
Description copied from interface: IDiscoveredPathManager.IPerFileDiscoveredPathInfo
Get include files (gcc option -include) for the specific path (file)

Specified by:
getIncludeFiles in interface IDiscoveredPathManager.IPerFileDiscoveredPathInfo

getMacroFiles

public org.eclipse.core.runtime.IPath[] getMacroFiles(org.eclipse.core.runtime.IPath path)
Description copied from interface: IDiscoveredPathManager.IPerFileDiscoveredPathInfo
Get macro files (gcc option -imacros) for the specific path (file)

Specified by:
getMacroFiles in interface IDiscoveredPathManager.IPerFileDiscoveredPathInfo

getSerializable

public IDiscoveredPathManager.IDiscoveredScannerInfoSerializable getSerializable()
Specified by:
getSerializable in interface IDiscoveredPathManager.IDiscoveredPathInfo

isEmpty

public boolean isEmpty(org.eclipse.core.runtime.IPath path)
Description copied from interface: IDiscoveredPathManager.IPerFileDiscoveredPathInfo
Returns if there is any discovered scanner info for the path

Specified by:
isEmpty in interface IDiscoveredPathManager.IPerFileDiscoveredPathInfo

getPathInfoMap

public java.util.Map getPathInfoMap()
Description copied from interface: IDiscoveredPathManager.IPerFileDiscoveredPathInfo2
returns the map containing IResource - to - PathInfo pairs representing complete set of discovered information for the whole project

Specified by:
getPathInfoMap in interface IDiscoveredPathManager.IPerFileDiscoveredPathInfo2
Returns:
Map