net.sf.antcontrib.cpptasks.types
public class DefineSet extends DataType
Method Summary | |
---|---|
void | addDefine(DefineArgument arg)
Adds a define element.
|
void | addUndefine(UndefineArgument arg)
Adds an undefine element.
|
void | execute() |
UndefineArgument[] | getDefines() Returns the defines and undefines in this set. |
boolean | isActive()
Returns true if the define's if and unless conditions (if any) are
satisfied.
|
void | setDefine(CUtil.StringArrayBuilder defList)
A comma-separated list of preprocessor macros to define. |
void | setDescription(String desc)
Sets a description of the current data type. |
void | setId(String id)
Sets an id that can be used to reference this element.
|
void | setIf(String propName)
Sets the property name for the 'if' condition.
|
void | setRefid(Reference r)
Specifies that this element should behave as if the content of the
element with the matching id attribute was inserted at this location. |
void | setUndefine(CUtil.StringArrayBuilder undefList)
A comma-separated list of preprocessor macros to undefine.
|
void | setUnless(String propName)
Set the property name for the 'unless' condition.
|
Throws: BuildException if reference
Throws: BuildException if reference
Throws: BuildException throws build exception if name is not set
Parameters: defList comma-separated list of preprocessor macros
Throws: BuildException throw if defineset is a reference
Parameters: id id
Parameters: propName property name
Parameters: undefList comma-separated list of preprocessor macros
Throws: BuildException throw if defineset is a reference
Parameters: propName name of property