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

◆ remove()

bool MayaFlux::Nodes::HookList::remove ( HookId  id)

Removes the registration with this id.

Definition at line 207 of file NodeUtils.cpp.

208{
209 return mutate([id](std::vector<HookEntry>& entries) {
210 return std::erase_if(entries, [id](const HookEntry& entry) { return entry.id == id; }) > 0;
211 });
212}
bool mutate(const std::function< bool(std::vector< HookEntry > &)> &edit)

References MayaFlux::Nodes::HookEntry::id, and mutate().

Referenced by MayaFlux::Nodes::Node::unhook().

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