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

◆ clear()

void MayaFlux::Kakshya::CompositeContainer::clear ( )
overridevirtual

Remove all elements while retaining the field layout.

Implements MayaFlux::Kakshya::NDDataContainer< CompositeArray >.

Definition at line 199 of file CompositeContainer.cpp.

200{
201 m_data = CompositeArray(m_data.layout());
202 m_materialized_data = CompositeArray(m_data.layout());
203 m_region_groups.clear();
204 m_next_element = 0;
205}
const CompositeLayout & layout() const noexcept
Finalized layout shared by all elements.
std::unordered_map< std::string, RegionGroup > m_region_groups

References MayaFlux::Kakshya::CompositeArray::layout(), m_data, m_materialized_data, m_next_element, and m_region_groups.

+ Here is the call graph for this function: