net.sf.antcontrib.cpptasks
public final class TargetDef extends DataType
Constructor Summary | |
---|---|
TargetDef()
Constructor.
|
Method Summary | |
---|---|
void | execute()
Bogus method required for documentation generation. |
ArchEnum | getArch()
Gets arch. |
CPUEnum | getCpu()
Gets cpu. |
OSFamilyEnum | getOsfamily()
Gets operating system family. |
boolean | isActive()
Returns true if the define's if and unless conditions (if any) are
satisfied. |
void | setArch(ArchEnum value)
Sets cpu architecture, compiler may use cpu specific instructions. |
void | setCpu(CPUEnum value)
Sets preferred cpu, but does not use cpu specific instructions. |
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 | setOsfamily(OSFamilyEnum value)
Sets operating system family. |
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 | setUnless(String propName)
Set the property name for the 'unless' condition.
|
Returns: arch, may be null.
Returns: cpu, may be null.
Returns: os family, may be null.
Returns: true if active
Parameters: value new value
Parameters: value new value
Parameters: desc description
Parameters: id id
Parameters: propName property name
Parameters: value new value
Parameters: r id of referenced target
Parameters: propName name of property