Package org.bytedeco.javacpp.tools
Class Generator
java.lang.Object
org.bytedeco.javacpp.tools.Generator
The Generator is where all the C++ source code that we need gets generated.
It has not been designed in any meaningful way since the requirements were
not well understood. It is basically a prototype and is really quite a mess.
Now that we understand better what we need, it could use some refactoring.
When attempting to understand what the Generator does, try to run experiments and inspect the generated code: It is quite readable.
Moreover, although Generator is the one ultimately doing something with the various annotations it relies on, it was easier to describe the behavior its meant to have with them as part of the documentation of the annotations, so we can refer to them to understand more about how Generator should work:
- Author:
- Samuel Audet
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGenerator(Logger logger, Properties properties) Generator(Logger logger, Properties properties, String encoding) -
Method Summary
-
Constructor Details
-
Generator
-
Generator
-
-
Method Details
-
generate
public boolean generate(String sourceFilename, String jniConfigFilename, String reflectConfigFilename, String headerFilename, String loadSuffix, String baseLoadSuffix, String classPath, Class<?>... classes) throws IOException - Throws:
IOException
-