blob: 44a02a4e3b5bbbeb9e4f2884fe86a00b10abad95 [file] [log] [blame]
Brad Bishop3ce5c482017-05-25 21:31:58 -04001auto storageCount = ${len(instances)};
2
Gunnar Mills78199b42017-10-25 16:30:18 -05003const std::array<Index, ${len(instancegroups)}> indices = {{
Brad Bishop3ce5c482017-05-25 21:31:58 -04004% for g in instancegroups:
5 {
6 % for i in g.members:
7 {Index::key_type{${i[0]}, ${i[2]}, ${i[3]}}, ${i[5]}},
8 % endfor
9 },
10% endfor
11}};
12
13const std::array<std::tuple<std::string, size_t>, ${len(callbacks)}> callbacks = {{
14% for c in callbacks:
15 std::tuple<std::string, size_t>{"${c.datatype}", ${c.instances}},
16% endfor
17}};