Package com.jogamp.gluegen.pcpp
Class PCPP
java.lang.Object
com.jogamp.gluegen.pcpp.PCPP
- All Implemented Interfaces:
GenericCPP
A minimal pseudo-C-preprocessor designed in particular to preserve
#define statements defining constants so they can be observed by a
glue code generator.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidReturns a list ofConstantDefinition, i.e.static voidout()voidvoidsetOut(OutputStream out)
-
Constructor Details
-
PCPP
-
-
Method Details
-
run
- Specified by:
runin interfaceGenericCPP- Throws:
GlueGenException
-
getConstantDefinitions
Description copied from interface:GenericCPPReturns a list ofConstantDefinition, i.e. non-function-like and non-empty macros w/ constant-value, as derived during parsing.May return an empty list, in case this preprocessor does not store
ConstantDefinitions.- Specified by:
getConstantDefinitionsin interfaceGenericCPP- Throws:
GlueGenException
-
findFile
- Specified by:
findFilein interfaceGenericCPP
-
out
- Specified by:
outin interfaceGenericCPP
-
setOut
- Specified by:
setOutin interfaceGenericCPP
-
addDefine
- Specified by:
addDefinein interfaceGenericCPP
-
main
- Throws:
IOException
-