org.eclipse.cdt.managedbuilder.scannerconfig
Interface IManagedScannerInfoCollector

All Superinterfaces:
IScannerInfoCollector
All Known Implementing Classes:
DefaultGCCScannerInfoCollector, DefaultGnuWinScannerInfoCollector

public interface IManagedScannerInfoCollector
extends IScannerInfoCollector

Interface that a colelctor of compiler information must implement.

Since:
2.0

Method Summary
 java.util.Map getDefinedSymbols()
          Answers a map of collected defines that the the compiler uses by default.
 java.util.List getIncludePaths()
          Answers a List of unique built-in includes paths that have been collected for the receiver.
 void setProject(org.eclipse.core.resources.IProject project)
          Sets the IProject for the receiver.
 
Methods inherited from interface org.eclipse.cdt.make.core.scannerconfig.IScannerInfoCollector
contributeToScannerConfig, getCollectedScannerInfo
 

Method Detail

getDefinedSymbols

java.util.Map getDefinedSymbols()
Answers a map of collected defines that the the compiler uses by default. The symbols are defined in the map as a (macro, value) pair as follows

-DFOO will be stored as ("FOO","")

-DFOO=BAR will be stored as ("FOO","BAR")

Duplicates will not be stored in the map and any whitespaces in the macro or value will be trimmed out.

Returns:
a Map of defined symbols and values

getIncludePaths

java.util.List getIncludePaths()
Answers a List of unique built-in includes paths that have been collected for the receiver. The paths are stored as String in the proper format for the host tools.

Returns:
a List of built-in compiler include search paths.

setProject

void setProject(org.eclipse.core.resources.IProject project)
Sets the IProject for the receiver.

Parameters:
project -