generate_cpp#
- omni.graph.tools.ogn.generate_cpp(
- configuration: GeneratorConfiguration,
- all_supported: bool = None,
Create support files for the C++ interface to a node
For now only a header file is generated for the C++ interface, though there will probably be multiple files generated in the future. For that reason this single point of contact was created for outside callers.
- Parameters:
configuration – Information defining how and where the header will be generated
all_supported – Deprecated: Do not use.
- Returns:
String containing the generated header code or None if its generation was not enabled
- Raises:
NodeGenerationError – When there is a failure in the generation of the header