Function generate_cpp_code

Source
pub fn generate_cpp_code(
    reporter: &Reporter,
    output_path: impl AsRef<Utf8Path>,
    objects: &Objects,
    type_registry: &TypeRegistry,
    check: bool,
)
Expand description

Generates C++ code.

If check is true, this will run a comparison check instead of writing files to disk.

Panics on error.

  • output_path: path to the root of the output.