Class Generator

java.lang.Object
org.bytedeco.javacpp.tools.Generator

public class Generator extends Object
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:

See Also: