MayaFlux
1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
Request.hpp
Go to the documentation of this file.
1
#pragma once
2
3
namespace
MayaFlux::Reflect::Tool
{
4
5
/**
6
* @struct RecordRequest
7
* @brief One described record: its qualified name and the names of its public data members.
8
*
9
* Members of public bases come first, in base declaration order, then the
10
* record's own, in declaration order. line is the line after which the sidecar
11
* include may appear: the closing brace of the outermost namespace holding the
12
* marker, or the marker itself at global scope. The sidecar opens namespaces of
13
* its own, so its include must sit at global scope.
14
*/
15
struct
RecordRequest
{
16
std::string
name
;
17
std::vector<std::string>
members
;
18
unsigned
line
{};
19
};
20
21
/**
22
* @struct HeaderRequests
23
* @brief Every record described by the MF_DESCRIBE markers of one header.
24
*/
25
struct
HeaderRequests
{
26
std::filesystem::path
header
;
27
std::vector<RecordRequest>
records
;
28
};
29
30
using
RequestMap
= std::map<std::filesystem::path, HeaderRequests>;
31
32
}
MayaFlux::Reflect::Tool::RequestMap
std::map< std::filesystem::path, HeaderRequests > RequestMap
Definition
Request.hpp:30
MayaFlux::Reflect::Tool
Definition
Build.cpp:19
MayaFlux::Reflect::Tool::HeaderRequests::records
std::vector< RecordRequest > records
Definition
Request.hpp:27
MayaFlux::Reflect::Tool::HeaderRequests::header
std::filesystem::path header
Definition
Request.hpp:26
MayaFlux::Reflect::Tool::HeaderRequests
Every record described by the MF_DESCRIBE markers of one header.
Definition
Request.hpp:25
MayaFlux::Reflect::Tool::RecordRequest::name
std::string name
Definition
Request.hpp:16
MayaFlux::Reflect::Tool::RecordRequest::members
std::vector< std::string > members
Definition
Request.hpp:17
MayaFlux::Reflect::Tool::RecordRequest::line
unsigned line
Definition
Request.hpp:18
MayaFlux::Reflect::Tool::RecordRequest
One described record: its qualified name and the names of its public data members.
Definition
Request.hpp:15
src
Tools
Reflect
Request.hpp
Generated by
1.15.0