Blender  V3.3
Public Types | Public Member Functions | Friends | List of all members
blender::fn::MFInstructionCursor Class Reference

#include <FN_multi_function_procedure.hh>

Public Types

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

Public Member Functions

 MFInstructionCursor ()=default
 
MFInstructionnext (MFProcedure &procedure) const
 
void set_next (MFProcedure &procedure, MFInstruction *new_instruction) const
 

Friends

bool operator== (const MFInstructionCursor &a, const MFInstructionCursor &b)
 
bool operator!= (const MFInstructionCursor &a, const MFInstructionCursor &b)
 

#MFInstructionCursor Inline Methods

 MFInstructionCursor (MFCallInstruction &instruction)
 
 MFInstructionCursor (MFDestructInstruction &instruction)
 
 MFInstructionCursor (MFBranchInstruction &instruction, bool branch_output)
 
 MFInstructionCursor (MFDummyInstruction &instruction)
 
MFInstructioninstruction () const
 
Type type () const
 
static MFInstructionCursor ForEntry ()
 

Detailed Description

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

Definition at line 35 of file FN_multi_function_procedure.hh.

Member Enumeration Documentation

◆ Type

Enumerator
None 
Entry 
Call 
Destruct 
Branch 
Dummy 

Definition at line 37 of file FN_multi_function_procedure.hh.

Constructor & Destructor Documentation

◆ MFInstructionCursor() [1/5]

blender::fn::MFInstructionCursor::MFInstructionCursor ( )
default

◆ MFInstructionCursor() [2/5]

blender::fn::MFInstructionCursor::MFInstructionCursor ( MFCallInstruction instruction)
inline

Definition at line 318 of file FN_multi_function_procedure.hh.

References blender::fn::Call.

◆ MFInstructionCursor() [3/5]

blender::fn::MFInstructionCursor::MFInstructionCursor ( MFDestructInstruction instruction)
inline

Definition at line 323 of file FN_multi_function_procedure.hh.

References blender::fn::Destruct.

◆ MFInstructionCursor() [4/5]

blender::fn::MFInstructionCursor::MFInstructionCursor ( MFBranchInstruction instruction,
bool  branch_output 
)
inline

Definition at line 328 of file FN_multi_function_procedure.hh.

References blender::fn::Branch.

◆ MFInstructionCursor() [5/5]

blender::fn::MFInstructionCursor::MFInstructionCursor ( MFDummyInstruction instruction)
inline

Definition at line 334 of file FN_multi_function_procedure.hh.

References blender::fn::Dummy.

Member Function Documentation

◆ ForEntry()

MFInstructionCursor blender::fn::MFInstructionCursor::ForEntry ( )
inlinestatic

Definition at line 339 of file FN_multi_function_procedure.hh.

Referenced by blender::fn::MFProcedure::set_entry().

◆ instruction()

MFInstruction * blender::fn::MFInstructionCursor::instruction ( ) const
inline

◆ next()

MFInstruction * blender::fn::MFInstructionCursor::next ( MFProcedure procedure) const

◆ set_next()

void blender::fn::MFInstructionCursor::set_next ( MFProcedure procedure,
MFInstruction new_instruction 
) const

◆ type()

MFInstructionCursor::Type blender::fn::MFInstructionCursor::type ( ) const
inline

Definition at line 353 of file FN_multi_function_procedure.hh.

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( const MFInstructionCursor a,
const MFInstructionCursor b 
)
friend

Definition at line 74 of file FN_multi_function_procedure.hh.

◆ operator==

bool operator== ( const MFInstructionCursor a,
const MFInstructionCursor b 
)
friend

Definition at line 68 of file FN_multi_function_procedure.hh.


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