org.eclipse.cdt.managedbuilder.macros
Interface IBuildMacro

All Superinterfaces:
ICdtVariable
All Known Implementing Classes:
BuildMacro, MbsMacroSupplier.FileContextMacro, MbsMacroSupplier.OptionMacro

public interface IBuildMacro
extends ICdtVariable

this interface represents the given build macro

Since:
3.0

Field Summary
 
Fields inherited from interface org.eclipse.cdt.core.cdtvariables.ICdtVariable
VALUE_PATH_ANY, VALUE_PATH_ANY_LIST, VALUE_PATH_DIR, VALUE_PATH_DIR_LIST, VALUE_PATH_FILE, VALUE_PATH_FILE_LIST, VALUE_TEXT, VALUE_TEXT_LIST
 
Method Summary
 int getMacroValueType()
           
 java.lang.String[] getStringListValue()
           
 java.lang.String getStringValue()
           
 
Methods inherited from interface org.eclipse.cdt.core.cdtvariables.ICdtVariable
getName, getValueType
 

Method Detail

getMacroValueType

int getMacroValueType()

getStringValue

java.lang.String getStringValue()
                                throws BuildMacroException
Specified by:
getStringValue in interface ICdtVariable
Throws:
CdtVariableException - if macro holds StringList-type value
BuildMacroException

getStringListValue

java.lang.String[] getStringListValue()
                                      throws BuildMacroException
Specified by:
getStringListValue in interface ICdtVariable
Throws:
CdtVariableException - if macro holds single String-type value
BuildMacroException