com.threerings.presents.tools.cpp
Class GenCPPStreamableTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
com.threerings.presents.tools.GenTask
com.threerings.presents.tools.cpp.GenCPPStreamableTask
- All Implemented Interfaces:
- Cloneable
public class GenCPPStreamableTask
- extends GenTask
| Methods inherited from class com.threerings.presents.tools.GenTask |
addFileset, convertEols, createMap, loadClass, loadClass, mergeTemplate, mergeTemplate, setChecking, setClasspathref, setHeader, wouldProduceSameFile, writeFile, writeTemplate, writeTemplate |
| Methods inherited from class org.apache.tools.ant.Task |
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
_cpproot
protected File _cpproot
_toProcess
protected Set<Class<?>> _toProcess
NONSUPER
protected static final Set<Class<?>> NONSUPER
HEADER_TMPL
protected static final String HEADER_TMPL
- See Also:
- Constant Field Values
CPP_TMPL
protected static final String CPP_TMPL
- See Also:
- Constant Field Values
GenCPPStreamableTask
public GenCPPStreamableTask()
createGenerate
public GenCPPStreamableTask.Generate createGenerate()
setCpproot
public void setCpproot(File asroot)
execute
public void execute()
- Description copied from class:
GenTask
- Performs the actual work of the task.
- Overrides:
execute in class GenTask
processClass
protected void processClass(File fn,
Class<?> sclass)
- Description copied from class:
GenTask
- Process a class found from the given source file that was on the filesets given to this
task.
- Specified by:
processClass in class GenTask
processClass
protected void processClass(Class<?> sclass)
throws IOException
- Processes a resolved Streamable class instance.
- Throws:
IOException
addInclude
protected static void addInclude(Class<?> ftype,
Set<String> includes)