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

◆ targets_operation()

template<typename OperationType >
RuleBuilder & MayaFlux::Yantra::ComputationGrammar::RuleBuilder::targets_operation ( )
inline

Sets the target operation type for this rule.

Template Parameters
OperationTypeThe operation type this rule creates or targets
Returns
Reference to this builder for method chaining

Used for type-based rule queries and validation. Helps organize rules by the types of operations they create or work with.

Definition at line 421 of file ComputeGrammar.hpp.

422 {
423 m_rule.target_operation_type = std::type_index(typeid(OperationType));
424 return *this;
425 }
OperationType
Operation categories for organization and discovery.
std::type_index target_operation_type
Type of operation this rule creates (for type-based queries)

References MayaFlux::Yantra::ComputationGrammar::Rule::target_operation_type.