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

◆ get_region_group()

std::optional< RegionGroup > MayaFlux::Kakshya::get_region_group ( const std::unordered_map< std::string, RegionGroup > &  groups,
const std::string &  name 
)

Get a RegionGroup by name from a group map.

Parameters
groupsMap of group name to RegionGroup.
nameName of the group to retrieve.
Returns
Optional RegionGroup if found.

Definition at line 170 of file RegionUtils.cpp.

171{
172 auto it = groups.find(name);
173 if (it != groups.end())
174 return it->second;
175 return std::nullopt;
176}

References get_region_group().

Referenced by get_region_group().

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