Blender  V3.3
Protected Attributes | List of all members
blender::fn::MFInstruction Class Reference

#include <FN_multi_function_procedure.hh>

Inheritance diagram for blender::fn::MFInstruction:
blender::NonCopyable blender::NonMovable blender::fn::MFBranchInstruction blender::fn::MFCallInstruction blender::fn::MFDestructInstruction blender::fn::MFDummyInstruction blender::fn::MFReturnInstruction

Public Member Functions

#MFInstruction Inline Methods
MFInstructionType type () const
 
Span< MFInstructionCursorprev () const
 

Protected Attributes

MFInstructionType type_
 
Vector< MFInstructionCursorprev_
 
friend MFProcedure
 
friend MFCallInstruction
 
friend MFBranchInstruction
 
friend MFDestructInstruction
 
friend MFDummyInstruction
 
friend MFReturnInstruction
 

Detailed Description

Base class for all instruction types.

Definition at line 108 of file FN_multi_function_procedure.hh.

Member Function Documentation

◆ prev()

Span< MFInstructionCursor > blender::fn::MFInstruction::prev ( ) const
inline

Other instructions that come before this instruction. There can be multiple previous instructions when branching is used in the procedure.

Definition at line 395 of file FN_multi_function_procedure.hh.

References prev_.

Referenced by blender::fn::MFProcedureDotExport::get_first_instruction_in_block(), blender::fn::MFProcedureDotExport::has_to_be_block_begin(), and blender::fn::procedure_optimization::move_destructs_up().

◆ type()

MFInstructionType blender::fn::MFInstruction::type ( ) const
inline

Member Data Documentation

◆ MFBranchInstruction

friend blender::fn::MFInstruction::MFBranchInstruction
protected

Definition at line 115 of file FN_multi_function_procedure.hh.

◆ MFCallInstruction

friend blender::fn::MFInstruction::MFCallInstruction
protected

Definition at line 114 of file FN_multi_function_procedure.hh.

◆ MFDestructInstruction

friend blender::fn::MFInstruction::MFDestructInstruction
protected

Definition at line 116 of file FN_multi_function_procedure.hh.

◆ MFDummyInstruction

friend blender::fn::MFInstruction::MFDummyInstruction
protected

Definition at line 117 of file FN_multi_function_procedure.hh.

◆ MFProcedure

friend blender::fn::MFInstruction::MFProcedure
protected

Definition at line 113 of file FN_multi_function_procedure.hh.

◆ MFReturnInstruction

friend blender::fn::MFInstruction::MFReturnInstruction
protected

Definition at line 118 of file FN_multi_function_procedure.hh.

◆ prev_

Vector<MFInstructionCursor> blender::fn::MFInstruction::prev_
protected

◆ type_

MFInstructionType blender::fn::MFInstruction::type_
protected

The documentation for this class was generated from the following file: