Top Description Inners Fields Constructors Methods
com.jogamp.gluegen.jcpp

public Class CppTask

extends Copy
Class Inheritance
Imports
java.io.File, .FileWriter, .IOException, java.util.ArrayList, .Arrays, .Enumeration, .List, org.apache.tools.ant.BuildException, org.apache.tools.ant.taskdefs.Copy, org.apache.tools.ant.types.FilterSet, .FilterSetCollection, .Path

An ant task for jcpp.

Nested and Inner Type Summary

Modifier and TypeClass and Description
private class
public static class

Field Summary

Modifier and TypeField and Description
private final CppTask.Listener
private Path
private final List<CppTask.Macro>
private Path
Inherited from org.apache.tools.ant.taskdefs.Copy:
completeDirMapdestDirdestFiledirCopyMapfailonerrorfilefileCopyMapfilesetsfileUtilsfilteringflattenforceOverwriteincludeEmptymapperElementpreserveLastModifiedrcsverbosity

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public void
public void
protected void
doFileOperations()

Overrides org.apache.tools.ant.taskdefs.Copy.doFileOperations.

Actually does the file (and possibly empty directory) copies.
private void
preprocess(File input, File output)

Inherited from org.apache.tools.ant.taskdefs.Copy:
addaddaddFilesetbuildMapbuildMapcreateFilterChaincreateFilterSetcreateMapperdoResourceOperationsexecutegetEncodinggetFileUtilsgetFilterChainsgetFilterSetsgetForcegetOutputEncodinggetPreserveLastModifiedisEnableMultipleMappingscanscansetEnableMultipleMappingssetEncodingsetFailOnErrorsetFilesetFilteringsetFlattensetForcesetGranularitysetIncludeEmptyDirssetOutputEncodingsetOverwritesetPreserveLastModifiedsetPreserveLastModifiedsetQuietsetTodirsetTofilesetVerbosesupportsNonFileResourcesvalidateAttributes

Field Detail

listenerback to summary
private final CppTask.Listener listener
localincludepathback to summary
private Path localincludepath
macrosback to summary
private final List<CppTask.Macro> macros
systemincludepathback to summary
private Path systemincludepath

Constructor Detail

CppTaskback to summary
public CppTask()

Method Detail

addLocalincludepathback to summary
public void addLocalincludepath(Path path)
addMacroback to summary
public void addMacro(CppTask.Macro macro)
addSystemincludepathback to summary
public void addSystemincludepath(Path path)
doFileOperationsback to summary
protected void doFileOperations()

Overrides org.apache.tools.ant.taskdefs.Copy.doFileOperations.

Doc from org.apache.tools.ant.taskdefs.Copy.doFileOperations.

Actually does the file (and possibly empty directory) copies. This is a good method for subclasses to override.

Annotations
@Override
preprocessback to summary
private void preprocess(File input, File output) throws Exception
com.jogamp.gluegen.jcpp back to summary

private Class CppTask.Listener

extends DefaultPreprocessorListener
Class Inheritance

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
protected void
Inherited from com.jogamp.gluegen.jcpp.DefaultPreprocessorListener:
cleargetErrorsgetWarningshandleErrorhandleSourceChangehandleWarning

Constructor Detail

Listenerback to summary
private Listener()

Method Detail

printback to summary
protected void print(String msg)

Overrides com.jogamp.gluegen.jcpp.DefaultPreprocessorListener.print.

Annotations
@Override
com.jogamp.gluegen.jcpp back to summary

public Class CppTask.Macro

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
private String
private String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
public String
public void
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

nameback to summary
private String name
valueback to summary
private String value

Constructor Detail

Macroback to summary
public Macro()

Method Detail

getNameback to summary
public String getName()
getValueback to summary
public String getValue()
setNameback to summary
public void setName(String name)
setValueback to summary
public void setValue(String value)