blob: 44a02a4e3b5bbbeb9e4f2884fe86a00b10abad95 [file] [log] [blame]
auto storageCount = ${len(instances)};
const std::array<Index, ${len(instancegroups)}> indices = {{
% 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
}};