Definition at line 55 of file Composite.cpp.
57{
58 if (layout.fields().empty())
59 return false;
60
61 layout.finalize();
62 auto nested_layout = std::make_shared<const CompositeLayout>(std::move(layout));
63
65 return false;
66
67 m_fields.back().nested_layout = std::move(nested_layout);
68 return true;
69}
bool add_field_impl(std::string name, std::type_index type, size_t size_bytes)
std::vector< CompositeField > m_fields
References add_field_impl(), fields(), finalize(), and m_fields.
Referenced by add_compound_field(), and add_list_field().