MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ add_compound_field()

bool MayaFlux::Kakshya::CompositeLayout::add_compound_field ( std::string name,
CompositeLayout layout )

Declare a compound field containing one nested record.

Parameters
nameNonempty unique field name.
layoutLayout of the nested record; must contain a field.
Returns
True if added; false for an invalid name, empty layout, or finalized parent layout.

Definition at line 91 of file Composite.cpp.

92{
93 return add_nested_field(std::move(name), std::move(layout), typeid(detail::CompositeCompound));
94}
bool add_nested_field(std::string name, CompositeLayout layout, std::type_index type)
Definition Composite.cpp:55

References add_nested_field().

Referenced by MayaFlux::Kakshya::CompositeFieldCodec< T >::add().

Here is the call graph for this function:
Here is the caller graph for this function: