MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
SignatureOutput.hpp
Go to the documentation of this file.
1#pragma once
2
4
6
7/**
8 * @struct SignatureFiles
9 * @brief The four generated files of the Creator proxy, as text.
10 *
11 * includes names the headers the method signatures need, classes names the registered classes'
12 * own headers, declarations holds one method declaration per public constructor with its
13 * defaults, and definitions holds the matching definitions that build the object and expose it.
14 * Type names are relative to MayaFlux, the namespace Creator is declared in, except inside the
15 * make_shared call.
16 */
18 std::string includes;
19 std::string classes;
20 std::string declarations;
21 std::string definitions;
22};
23
24/**
25 * @brief Renders the generated files for the non abstract classes of @p classes.
26 * @param source_root The directory MayaFlux/ sits in, which include paths are relative to.
27 */
29 const std::vector<SignatureClass>& classes, const std::filesystem::path& source_root);
30
31}
SignatureFiles render_signature_files(const std::vector< SignatureClass > &classes, const std::filesystem::path &source_root)
Renders the generated files for the non abstract classes of classes.
The four generated files of the Creator proxy, as text.