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

◆ resolve_expanse_fn()

std::shared_ptr< Expanse::ContainsFn > MayaFlux::Nexus::Fabric::resolve_expanse_fn ( std::string_view  name) const

Look up a registered Expanse containment function by name.

Returns
Shared pointer to the stored function, or nullptr if not found.

Definition at line 324 of file Fabric.cpp.

325{
326 auto it = m_expanse_fns.find(std::string(name));
327 return it != m_expanse_fns.end() ? it->second : nullptr;
328}
std::unordered_map< std::string, std::shared_ptr< Expanse::ContainsFn > > m_expanse_fns
Definition Fabric.hpp:301
const std::string & name() const
Assigned name, empty if the Fabric was constructed outside a Tapestry.
Definition Fabric.hpp:67

References m_expanse_fns, and name().

Referenced by MayaFlux::Nexus::StateDecoder::decode(), and MayaFlux::Nexus::StateDecoder::reconstruct().

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