Blender
V3.3
|
#include <FN_multi_function_param_type.hh>
Public Types | |
enum | InterfaceType { Input , Output , Mutable } |
Public Member Functions | |
MFParamType (InterfaceType interface_type, MFDataType data_type) | |
MFDataType | data_type () const |
InterfaceType | interface_type () const |
MFParamCategory | category () const |
bool | is_input_or_mutable () const |
bool | is_output_or_mutable () const |
bool | is_output () const |
Static Public Member Functions | |
static MFParamType | ForSingleInput (const CPPType &type) |
static MFParamType | ForVectorInput (const CPPType &base_type) |
static MFParamType | ForSingleOutput (const CPPType &type) |
static MFParamType | ForVectorOutput (const CPPType &base_type) |
static MFParamType | ForMutableSingle (const CPPType &type) |
static MFParamType | ForMutableVector (const CPPType &base_type) |
Friends | |
bool | operator== (const MFParamType &a, const MFParamType &b) |
bool | operator!= (const MFParamType &a, const MFParamType &b) |
Definition at line 42 of file FN_multi_function_param_type.hh.
Enumerator | |
---|---|
Input | |
Output | |
Mutable |
Definition at line 44 of file FN_multi_function_param_type.hh.
|
inline |
Definition at line 55 of file FN_multi_function_param_type.hh.
Referenced by ForMutableSingle(), ForMutableVector(), ForSingleInput(), ForSingleOutput(), ForVectorInput(), and ForVectorOutput().
|
inline |
Definition at line 100 of file FN_multi_function_param_type.hh.
References BLI_assert_unreachable, blender::fn::MFDataType::category(), Input, Mutable, Output, blender::fn::MFDataType::Single, blender::fn::SingleInput, blender::fn::SingleMutable, blender::fn::SingleOutput, blender::fn::MFDataType::Vector, blender::fn::VectorInput, blender::fn::VectorMutable, and blender::fn::VectorOutput.
Referenced by blender::fn::MFParamsBuilder::add_ignored_single_output(), blender::fn::VariableStates::add_initial_variable_states(), and blender::fn::MultiFunction::call_auto().
|
inline |
Definition at line 90 of file FN_multi_function_param_type.hh.
Referenced by blender::fn::MFSignatureBuilder::add(), blender::fn::VariableStates::add_as_param(), blender::fn::VariableStates::add_as_param__one(), blender::fn::MFProcedureBuilder::add_call(), blender::fn::MFParamsBuilder::add_ignored_single_output(), blender::fn::MFProcedureBuilder::add_parameter(), blender::fn::build_multi_function_procedure_for_fields(), blender::fn::CustomMF_DefaultOutput::call(), blender::fn::CustomMF_GenericCopy::call(), blender::fn::MFProcedureExecutor::call(), blender::fn::FieldOperation::output_cpp_type(), blender::fn::MFCallInstruction::set_param_variable(), and blender::fn::supports_threading_by_slicing_params().
|
inlinestatic |
Definition at line 80 of file FN_multi_function_param_type.hh.
References blender::fn::MFDataType::ForSingle(), MFParamType(), and type.
Referenced by blender::fn::MFParamsBuilder::add_single_mutable(), and blender::fn::MFProcedureBuilder::add_single_mutable_parameter().
|
inlinestatic |
Definition at line 85 of file FN_multi_function_param_type.hh.
References blender::fn::MFDataType::ForVector(), and MFParamType().
Referenced by blender::fn::MFParamsBuilder::add_vector_mutable(), and blender::fn::tests::TEST().
|
inlinestatic |
Definition at line 60 of file FN_multi_function_param_type.hh.
References blender::fn::MFDataType::ForSingle(), MFParamType(), and type.
Referenced by blender::fn::MFParamsBuilder::add_readonly_single_input(), blender::fn::MFParamsBuilder::add_readonly_single_input_value(), and blender::fn::MFProcedureBuilder::add_single_input_parameter().
|
inlinestatic |
Definition at line 70 of file FN_multi_function_param_type.hh.
References blender::fn::MFDataType::ForSingle(), MFParamType(), Output, and type.
Referenced by blender::fn::MFParamsBuilder::add_uninitialized_single_output().
|
inlinestatic |
Definition at line 65 of file FN_multi_function_param_type.hh.
References blender::fn::MFDataType::ForVector(), and MFParamType().
Referenced by blender::fn::MFParamsBuilder::add_readonly_vector_input().
|
inlinestatic |
Definition at line 75 of file FN_multi_function_param_type.hh.
References blender::fn::MFDataType::ForVector(), MFParamType(), and Output.
Referenced by blender::fn::MFParamsBuilder::add_vector_output().
|
inline |
Definition at line 95 of file FN_multi_function_param_type.hh.
Referenced by blender::fn::MFSignatureBuilder::add(), blender::fn::VariableStates::add_as_param(), blender::fn::VariableStates::add_as_param__one(), blender::fn::MFProcedureBuilder::add_call(), blender::fn::MFProcedureBuilder::add_parameter(), blender::fn::build_multi_function_procedure_for_fields(), blender::fn::MFProcedureExecutor::call(), blender::fn::MFProcedureDotExport::instruction_to_string(), and blender::fn::supports_threading_by_slicing_params().
|
inline |
Definition at line 130 of file FN_multi_function_param_type.hh.
|
inline |
Definition at line 140 of file FN_multi_function_param_type.hh.
References Output.
Referenced by blender::fn::CustomMF_DefaultOutput::call(), and blender::fn::FieldOperation::output_cpp_type().
|
inline |
Definition at line 135 of file FN_multi_function_param_type.hh.
|
friend |
Definition at line 154 of file FN_multi_function_param_type.hh.
|
friend |
Definition at line 149 of file FN_multi_function_param_type.hh.