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

◆ controls()

template<typename C>
const C & MayaFlux::Nodes::Network::RewriteOperator::Environment::controls ( ) const
inlinenodiscardnoexcept

The grammar's controls as they were when this rewrite began.

Template Parameters
CThe struct given to declare(). Any other type returns a default one.

Definition at line 78 of file RewriteOperator.hpp.

79 {
80 static const C none {};
81 return held_tag == controls_tag<C>() && held != nullptr ? *static_cast<const C*>(held) : none;
82 }
static const void * controls_tag() noexcept
A tag that is the same for every use of one type C in a module, and differs between types.

References MayaFlux::Nodes::Network::RewriteOperator::controls_tag(), held, and held_tag.

Here is the call graph for this function: