Blender V4.3
blender::fn::multi_function::InstructionCursor Class Reference

#include <FN_multi_function_procedure.hh>

Public Types

enum  Type {
  None , Entry , Call , Destruct ,
  Branch , Dummy
}
 

Public Member Functions

 InstructionCursor ()=default
 
Instructionnext (Procedure &procedure) const
 
void set_next (Procedure &procedure, Instruction *new_instruction) const
 

#InstructionCursor Inline Methods

 InstructionCursor (CallInstruction &instruction)
 
 InstructionCursor (DestructInstruction &instruction)
 
 InstructionCursor (BranchInstruction &instruction, bool branch_output)
 
 InstructionCursor (DummyInstruction &instruction)
 
Instructioninstruction () const
 
Type type () const
 
static InstructionCursor ForEntry ()
 

Detailed Description

An InstructionCursor points to a position in a multi-function procedure, where an instruction can be inserted.

Definition at line 37 of file FN_multi_function_procedure.hh.

Member Enumeration Documentation

◆ Type

Enumerator
None 
Entry 
Call 
Destruct 
Branch 
Dummy 

Definition at line 39 of file FN_multi_function_procedure.hh.

Constructor & Destructor Documentation

◆ InstructionCursor() [1/5]

blender::fn::multi_function::InstructionCursor::InstructionCursor ( )
default

◆ InstructionCursor() [2/5]

blender::fn::multi_function::InstructionCursor::InstructionCursor ( CallInstruction & instruction)
inline

Definition at line 301 of file FN_multi_function_procedure.hh.

◆ InstructionCursor() [3/5]

blender::fn::multi_function::InstructionCursor::InstructionCursor ( DestructInstruction & instruction)
inline

Definition at line 306 of file FN_multi_function_procedure.hh.

◆ InstructionCursor() [4/5]

blender::fn::multi_function::InstructionCursor::InstructionCursor ( BranchInstruction & instruction,
bool branch_output )
inline

Definition at line 311 of file FN_multi_function_procedure.hh.

◆ InstructionCursor() [5/5]

blender::fn::multi_function::InstructionCursor::InstructionCursor ( DummyInstruction & instruction)
inline

Definition at line 316 of file FN_multi_function_procedure.hh.

Member Function Documentation

◆ ForEntry()

InstructionCursor blender::fn::multi_function::InstructionCursor::ForEntry ( )
inlinestatic

Definition at line 321 of file FN_multi_function_procedure.hh.

References Entry.

Referenced by blender::fn::multi_function::Procedure::set_entry().

◆ instruction()

Instruction * blender::fn::multi_function::InstructionCursor::instruction ( ) const
inline

◆ next()

◆ set_next()

◆ type()

InstructionCursor::Type blender::fn::multi_function::InstructionCursor::type ( ) const
inline

Definition at line 335 of file FN_multi_function_procedure.hh.


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