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
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 */
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 */
26 std::filesystem::path header;
27 std::vector<RecordRequest> records;
28};
29
30using RequestMap = std::map<std::filesystem::path, HeaderRequests>;
31
32}
std::map< std::filesystem::path, HeaderRequests > RequestMap
Definition Request.hpp:30
std::vector< RecordRequest > records
Definition Request.hpp:27
Every record described by the MF_DESCRIBE markers of one header.
Definition Request.hpp:25
std::vector< std::string > members
Definition Request.hpp:17
One described record: its qualified name and the names of its public data members.
Definition Request.hpp:15