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

◆ replace() [1/3]

bool MayaFlux::Nodes::Network::RewriteOperator::replace ( Replacement replacement)

Append a rule; false when the operator is invalid or the successor is empty.

Definition at line 68 of file RewriteOperator.cpp.

69{
70 if (!m_valid) {
71 return false;
72 }
73 if (!replacement.successor) {
75 "RewriteOperator ignored replacement without a successor");
76 return false;
77 }
78
79 m_replacements.push_back(std::move(replacement));
80 return true;
81}
#define MF_WARN(comp, ctx,...)
@ Configuration
Configuration and parameter updates.
@ Nodes
DSP Generator and Filter Nodes, graph pipeline, node management.

References MayaFlux::Journal::Configuration, m_replacements, m_valid, MF_WARN, MayaFlux::Journal::Nodes, replace(), and MayaFlux::Nodes::Network::RewriteOperator::Replacement::successor.

Referenced by replace(), replace(), and replace().

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