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

◆ merge()

void MayaFlux::Facets::merge ( const Facets & source)
inline

Adds entries from source, replacing values for shared keys.

Definition at line 225 of file Facets.hpp.

226 {
227 for (const auto& [id, entry] : source.m_entries) {
228 m_entries.insert_or_assign(id, entry);
229 }
230 for (const auto& [type, entry] : source.m_struct_entries) {
231 m_struct_entries.insert_or_assign(type, entry);
232 }
233 }
std::unordered_map< std::type_index, std::shared_ptr< const EntryBase > > m_struct_entries
Definition Facets.hpp:259
Memory::FlatMap< const void *, std::shared_ptr< const EntryBase > > m_entries
Definition Facets.hpp:258
Source source()
Begin a Source chain.
Definition Plot.hpp:127

References m_entries, and m_struct_entries.

Referenced by MayaFlux::Yantra::FluentExecutor< Executor, DataType >::absorbed().

Here is the caller graph for this function: