Package com.jogamp.gluegen
Interface GenericCPP
-
- All Known Implementing Classes:
JCPP
public interface GenericCPPGeneric C preprocessor interface for GlueGen
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddDefine(String name, String value)StringfindFile(String filename)List<ConstantDefinition>getConstantDefinitions()Returns a list ofConstantDefinition, i.e.OutputStreamout()voidrun(Reader reader, String filename)voidsetOut(OutputStream out)
-
-
-
Method Detail
-
addDefine
void addDefine(String name, String value) throws LexerException
- Throws:
LexerException
-
out
OutputStream out()
-
setOut
void setOut(OutputStream out)
-
run
void run(Reader reader, String filename) throws GlueGenException
- Throws:
GlueGenException
-
getConstantDefinitions
List<ConstantDefinition> getConstantDefinitions() throws GlueGenException
Returns 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.- Throws:
GlueGenException
-
-