org.eclipse.cdt.internal.core.cdtvariables
Class CdtMacroSupplier

java.lang.Object
  extended by org.eclipse.cdt.internal.core.cdtvariables.CoreMacroSupplierBase
      extended by org.eclipse.cdt.internal.core.cdtvariables.CdtMacroSupplier
All Implemented Interfaces:
org.eclipse.cdt.utils.cdtvariables.ICdtVariableSupplier

public class CdtMacroSupplier
extends CoreMacroSupplierBase

This supplier is used to suply MBS-predefined macros

Since:
3.0

Field Summary
static java.lang.String DOT
           
static java.lang.String EMPTY_STRING
           
 
Method Summary
static CdtMacroSupplier getInstance()
           
 ICdtVariable getMacro(java.lang.String macroName)
           
 ICdtVariable getMacro(java.lang.String macroName, org.eclipse.cdt.core.settings.model.ICConfigurationDescription cfg)
           
 ICdtVariable getMacro(java.lang.String macroName, int contextType, java.lang.Object contextData)
           
 ICdtVariable getMacro(java.lang.String macroName, org.eclipse.core.resources.IWorkspace wsp)
           
 java.lang.String[] getMacroNames(int contextType)
           
 ICdtVariable[] getMacros(int contextType, java.lang.Object contextData)
           
 
Methods inherited from class org.eclipse.cdt.internal.core.cdtvariables.CoreMacroSupplierBase
getVariable, getVariables
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DOT

public static final java.lang.String DOT
See Also:
Constant Field Values

EMPTY_STRING

public static final java.lang.String EMPTY_STRING
See Also:
Constant Field Values
Method Detail

getMacroNames

public java.lang.String[] getMacroNames(int contextType)

getInstance

public static CdtMacroSupplier getInstance()

getMacro

public ICdtVariable getMacro(java.lang.String macroName,
                             int contextType,
                             java.lang.Object contextData)

getMacro

public ICdtVariable getMacro(java.lang.String macroName,
                             org.eclipse.cdt.core.settings.model.ICConfigurationDescription cfg)

getMacro

public ICdtVariable getMacro(java.lang.String macroName,
                             org.eclipse.core.resources.IWorkspace wsp)

getMacro

public ICdtVariable getMacro(java.lang.String macroName)

getMacros

public ICdtVariable[] getMacros(int contextType,
                                java.lang.Object contextData)