blob: f387c2329038e020f7868a665d838a6b175a7277 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
auto storageCount = ${len(instances)};
const std::array<Index, ${len(instancegroups)}> indicies = {{
% for g in instancegroups:
{
% for i in g.members:
{Index::key_type{${i[0]}, ${i[2]}, ${i[3]}}, ${i[5]}},
% endfor
},
% endfor
}};
const std::array<std::tuple<std::string, size_t>, ${len(callbacks)}> callbacks = {{
% for c in callbacks:
std::tuple<std::string, size_t>{"${c.datatype}", ${c.instances}},
% endfor
}};
|