public interface ICdtVariable
Modifier and Type | Field and Description |
---|---|
static int |
VALUE_PATH_ANY
can hold both file and dir path
|
static int |
VALUE_PATH_ANY_LIST
can hold the array of PATH_ANY values
|
static int |
VALUE_PATH_DIR
can hold dir path
|
static int |
VALUE_PATH_DIR_LIST
can hold the array of dir path values
|
static int |
VALUE_PATH_FILE
can hold file path
|
static int |
VALUE_PATH_FILE_LIST
can hold the array of file path values
|
static int |
VALUE_TEXT
can hold any text string
|
static int |
VALUE_TEXT_LIST
can hold the array of text string values
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the macro name
|
String[] |
getStringListValue() |
String |
getStringValue() |
int |
getValueType() |
static final int VALUE_TEXT
static final int VALUE_TEXT_LIST
static final int VALUE_PATH_FILE
static final int VALUE_PATH_FILE_LIST
static final int VALUE_PATH_DIR
static final int VALUE_PATH_DIR_LIST
static final int VALUE_PATH_ANY
static final int VALUE_PATH_ANY_LIST
String getName()
int getValueType()
String getStringValue() throws CdtVariableException
CdtVariableException
- if macro holds StringList-type valueString[] getStringListValue() throws CdtVariableException
CdtVariableException
- if macro holds single String-type valueCopyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.