| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.types.DataType
net.sf.antcontrib.cpptasks.TargetDef
public final class TargetDef
Information on the execution platforms for the generated code. (Non-functional prototype)
| Field Summary | 
|---|
| Fields inherited from class org.apache.tools.ant.types.DataType | 
|---|
| checked, description, ref | 
| Fields inherited from class org.apache.tools.ant.ProjectComponent | 
|---|
| project | 
| 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(java.lang.String desc)Sets a description of the current data type. | 
|  void | setId(java.lang.String id)Sets an id that can be used to reference this element. | 
|  void | setIf(java.lang.String propName)Sets the property name for the 'if' condition. | 
|  void | setOsfamily(OSFamilyEnum value)Sets operating system family. | 
|  void | setRefid(org.apache.tools.ant.types.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(java.lang.String propName)Set the property name for the 'unless' condition. | 
| Methods inherited from class org.apache.tools.ant.types.DataType | 
|---|
| checkAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, getCheckedRef, getDescription, getRefid, isChecked, isReference, noChildrenAllowed, setChecked, tooManyAttributes | 
| Methods inherited from class org.apache.tools.ant.ProjectComponent | 
|---|
| getProject, log, log, setProject | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public TargetDef()
| Method Detail | 
|---|
public void execute()
public boolean isActive()
public void setDescription(java.lang.String desc)
setDescription in class org.apache.tools.ant.types.DataTypedesc - descriptionpublic void setId(java.lang.String id)
id - idpublic void setIf(java.lang.String propName)
propName - property namepublic void setRefid(org.apache.tools.ant.types.Reference r)
setRefid in class org.apache.tools.ant.types.DataTyper - id of referenced targetpublic void setUnless(java.lang.String propName)
propName - name of propertypublic CPUEnum getCpu()
public ArchEnum getArch()
public OSFamilyEnum getOsfamily()
public void setCpu(CPUEnum value)
value - new valuepublic void setArch(ArchEnum value)
value - new valuepublic void setOsfamily(OSFamilyEnum value)
value - new value| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||