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

◆ set()

template<typename T >
ExecutionContext & MayaFlux::Yantra::ExecutionContext::set ( std::string  key,
T &&  value 
)
inline

Insert or update metadata value.

Adds or replaces a value in the metadata store.

Template Parameters
TValue type
Parameters
keyMetadata key
valueValue to store
Returns
Reference to this context for fluent chaining

Definition at line 131 of file ExecutionContext.hpp.

132 {
133 execution_metadata[std::move(key)] = std::forward<T>(value);
134 return *this;
135 }
std::unordered_map< std::string, std::any > execution_metadata
Arbitrary metadata parameters used by operations.