| 
 | ||||||||||
| 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.PrecompileDef
public final class PrecompileDef
An element that specifies a prototype file and rules for source files that should not use precompiled headers
| 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 | |
|---|---|
| PrecompileDef()Constructor | |
| Method Summary | |
|---|---|
|  void | appendExceptFileSet(ConditionalFileSet exceptSet)Method used by PrecompileExceptDef to add exception set to PrecompileDef. | 
|  PrecompileExceptDef | createExcept()Adds filesets that specify files that should not be processed with precompiled headers enabled. | 
|  void | execute() | 
|  java.lang.String[] | getExceptFiles() | 
|  java.io.File | getPrototype()Gets prototype source file | 
|  boolean | isActive() | 
|  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)Set the 'if' condition. | 
|  void | setPrototype(java.io.File prototype)Sets file to precompile. | 
|  void | setRefid(org.apache.tools.ant.types.Reference ref)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 '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 PrecompileDef()
| Method Detail | 
|---|
public void appendExceptFileSet(ConditionalFileSet exceptSet)
public PrecompileExceptDef createExcept()
public void execute()
             throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildExceptionpublic java.lang.String[] getExceptFiles()
public java.io.File getPrototype()
public boolean isActive()
public void setDescription(java.lang.String desc)
setDescription in class org.apache.tools.ant.types.DataTypepublic void setId(java.lang.String id)
id - idpublic void setIf(java.lang.String propName)
propName - name of propertypublic void setPrototype(java.io.File prototype)
prototype - file path for prototype source filepublic void setRefid(org.apache.tools.ant.types.Reference ref)
setRefid in class org.apache.tools.ant.types.DataTyperef - Reference to other elementpublic void setUnless(java.lang.String propName)
propName - name of property| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||