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
3
#include "
SignatureCollector.hpp
"
4
5
namespace
MayaFlux::Reflect::Tool
{
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
*/
17
struct
SignatureFiles
{
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
*/
28
[[nodiscard]]
SignatureFiles
render_signature_files
(
29
const
std::vector<SignatureClass>& classes,
const
std::filesystem::path& source_root);
30
31
}
SignatureCollector.hpp
MayaFlux::Reflect::Tool::render_signature_files
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.
Definition
SignatureOutput.cpp:55
MayaFlux::Reflect::Tool
Definition
Build.cpp:19
MayaFlux::Reflect::Tool::SignatureFiles::declarations
std::string declarations
Definition
SignatureOutput.hpp:20
MayaFlux::Reflect::Tool::SignatureFiles::definitions
std::string definitions
Definition
SignatureOutput.hpp:21
MayaFlux::Reflect::Tool::SignatureFiles::includes
std::string includes
Definition
SignatureOutput.hpp:18
MayaFlux::Reflect::Tool::SignatureFiles::classes
std::string classes
Definition
SignatureOutput.hpp:19
MayaFlux::Reflect::Tool::SignatureFiles
The four generated files of the Creator proxy, as text.
Definition
SignatureOutput.hpp:17
src
Tools
Reflect
SignatureOutput.hpp
Generated by
1.15.0