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

◆ set() [2/4]

template<typename T>
void MayaFlux::Facets::set ( const Facet< T > & key,
std::type_identity_t< T > value )
inline

Stores value under key, replacing any previous value.

Definition at line 115 of file Facets.hpp.

116 {
117 m_entries.insert_or_assign(key.id(), std::make_shared<Entry<T>>(key.token(), std::move(value)));
118 }
Memory::FlatMap< const void *, std::shared_ptr< const EntryBase > > m_entries
Definition Facets.hpp:258

References MayaFlux::Facet< T >::id(), m_entries, and MayaFlux::Facet< T >::token().

Here is the call graph for this function: