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

◆ set_attribute()

template<typename T >
void MayaFlux::Kakshya::RegionGroup::set_attribute ( const std::string &  key,
value 
)
inline

Set a group-level attribute.

Template Parameters
TValue type.
Parameters
keyAttribute key.
valueValue to set.

Definition at line 267 of file RegionGroup.hpp.

268 {
269 attributes[key] = std::move(value);
270 }
std::unordered_map< std::string, std::any > attributes
Flexible key-value store for group-specific attributes.