Definition at line 265 of file schema3.cc.
◆ Schema1Layout()
schema3::Schema1Layout::Schema1Layout |
( |
const vector< shared_ptr< schema1::Layout >> & |
x | ) |
|
|
inline |
Definition at line 268 of file schema3.cc.
269 for (
const auto& i: x)
273 i->json_pack(jbuf,
"");
274 json_unpack(jbuf,
"",
layout[i->id]);
map< int, schema1::UnionLayout > layout
◆ addItem()
template<class V , class O >
void schema3::Schema1Layout::addItem |
( |
V & |
vec, |
|
|
const O & |
item |
|
) |
| |
|
inline |
Definition at line 278 of file schema3.cc.
279 vec.emplace_back(item);
280 if (
layout.count(item.id))
281 vec.back().addLayout(
layout[item.id]);
map< int, schema1::UnionLayout > layout
◆ layout
The documentation for this struct was generated from the following file: