blob: 16febd7b85407b57ff4006788f85fa26b864469f [file] [log] [blame]
Brad Bishopc9e173f2017-05-09 00:23:11 -04001const std::array<std::string, ${len(meta)}> meta = {
2% for m in meta:
3 "${m.name}"s,
4% endfor
5};
6
7const std::array<std::string, ${len(interfaces)}> interfaces = {
8% for i in interfaces:
9 "${i.name}"s,
10% endfor
11};
12
13const std::array<std::string, ${len(propertynames)}> properties = {
14% for p in propertynames:
15 "${p.name}"s,
16% endfor
17};
18
19const std::array<GroupOfProperties, ${len(propertygroups)}> groups = {{
20% for g in propertygroups:
21 // ${g.name}
22 {
23 % for p in g.members:
24 Property{ interfaces[${p[0]}], properties[${p[1]}], meta[${p[2]}] },
25 % endfor
26 },
27% endfor
28}};
29
30const std::array<std::string, ${len(propertygroups)}> types = {
31% for g in propertygroups:
32 "${g.datatype}"s,
33% endfor
34};