org.eclipse.cdt.internal.core.cdtvariables
Class EnvironmentVariableSupplier.EnvVarMacro

java.lang.Object
  extended by org.eclipse.cdt.core.cdtvariables.CdtVariable
      extended by org.eclipse.cdt.internal.core.cdtvariables.EnvironmentVariableSupplier.EnvVarMacro
All Implemented Interfaces:
ICdtVariable
Enclosing class:
EnvironmentVariableSupplier

public class EnvironmentVariableSupplier.EnvVarMacro
extends CdtVariable


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
 java.lang.String[] getStringListValue()
           
 java.lang.String getStringValue()
           
 int getValueType()
           
 
Methods inherited from class org.eclipse.cdt.core.cdtvariables.CdtVariable
getName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getValueType

public int getValueType()
Specified by:
getValueType in interface ICdtVariable
Overrides:
getValueType in class CdtVariable
Returns:
IBuildMacro.VALUE_xxx

getStringValue

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

getStringListValue

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