|
Blender V5.0
|
#include <FN_multi_function_signature.hh>
Public Member Functions | |
#SignatureBuilder Inline Methods | |
| SignatureBuilder (const char *function_name, Signature &signature_to_build) | |
| template<typename T> | |
| void | single_input (const char *name) |
| void | single_input (const char *name, const CPPType &type) |
| template<typename T> | |
| void | vector_input (const char *name) |
| void | vector_input (const char *name, const CPPType &base_type) |
| void | input (const char *name, DataType data_type) |
| template<typename T> | |
| void | single_output (const char *name, const ParamFlag flag=ParamFlag::None) |
| void | single_output (const char *name, const CPPType &type, const ParamFlag flag=ParamFlag::None) |
| template<typename T> | |
| void | vector_output (const char *name, const ParamFlag flag=ParamFlag::None) |
| void | vector_output (const char *name, const CPPType &base_type, const ParamFlag flag=ParamFlag::None) |
| void | output (const char *name, DataType data_type, const ParamFlag flag=ParamFlag::None) |
| template<typename T> | |
| void | single_mutable (const char *name) |
| void | single_mutable (const char *name, const CPPType &type) |
| template<typename T> | |
| void | vector_mutable (const char *name) |
| void | vector_mutable (const char *name, const CPPType &base_type) |
| void | mutable_ (const char *name, DataType data_type) |
| template<ParamCategory Category, typename T> | |
| void | add (ParamTag< Category, T >, const char *name) |
| void | add (const char *name, const ParamType ¶m_type) |
Definition at line 49 of file FN_multi_function_signature.hh.
|
inline |
Definition at line 95 of file FN_multi_function_signature.hh.
|
inline |
Definition at line 182 of file FN_multi_function_signature.hh.
References blender::fn::multi_function::ParamType::data_type(), blender::fn::multi_function::ParamType::Input, input, blender::fn::multi_function::ParamType::interface_type(), blender::fn::multi_function::ParamType::Mutable, mutable_(), name, blender::fn::multi_function::ParamType::Output, and output.
|
inline |
Definition at line 198 of file FN_multi_function_signature.hh.
References BLI_assert_unreachable, name, single_input(), single_mutable(), single_output(), blender::fn::multi_function::SingleInput, blender::fn::multi_function::SingleMutable, blender::fn::multi_function::SingleOutput, vector_input(), vector_mutable(), vector_output(), blender::fn::multi_function::VectorInput, blender::fn::multi_function::VectorMutable, and blender::fn::multi_function::VectorOutput.
Referenced by blender::fn::multi_function::build::detail::CustomMF< CallFn, ParamTags >::CustomMF(), and blender::fn::multi_function::ProcedureExecutor::ProcedureExecutor().
|
inline |
Definition at line 121 of file FN_multi_function_signature.hh.
References blender::fn::multi_function::ParamType::Input, and name.
Referenced by blender::fn::multi_function::CustomMF_DefaultOutput::CustomMF_DefaultOutput(), and blender::fn::multi_function::CustomMF_GenericCopy::CustomMF_GenericCopy().
|
inline |
Definition at line 177 of file FN_multi_function_signature.hh.
References blender::fn::multi_function::ParamType::Mutable, and name.
Referenced by add(), single_mutable(), and vector_mutable().
|
inline |
Definition at line 152 of file FN_multi_function_signature.hh.
References flag, name, and blender::fn::multi_function::ParamType::Output.
Referenced by blender::fn::multi_function::CustomMF_DefaultOutput::CustomMF_DefaultOutput(), and blender::fn::multi_function::CustomMF_GenericCopy::CustomMF_GenericCopy().
|
inline |
Definition at line 101 of file FN_multi_function_signature.hh.
References blender::CPPType::get(), name, and single_input().
Referenced by add(), blender::fn::multi_function::tests::AddPrefixFunction::AddPrefixFunction(), blender::fn::multi_function::tests::AppendFunction::AppendFunction(), blender::fn::multi_function::tests::CreateRangeFunction::CreateRangeFunction(), blender::fn::multi_function::tests::GenericAppendFunction::GenericAppendFunction(), and single_input().
|
inline |
Definition at line 106 of file FN_multi_function_signature.hh.
References blender::fn::multi_function::DataType::ForSingle(), input, and name.
|
inline |
Definition at line 157 of file FN_multi_function_signature.hh.
References blender::CPPType::get(), name, and single_mutable().
Referenced by add(), blender::fn::multi_function::tests::AddPrefixFunction::AddPrefixFunction(), and single_mutable().
|
inline |
Definition at line 162 of file FN_multi_function_signature.hh.
References blender::fn::multi_function::DataType::ForSingle(), mutable_(), and name.
|
inline |
Definition at line 132 of file FN_multi_function_signature.hh.
References flag, blender::fn::multi_function::DataType::ForSingle(), name, and output.
|
inline |
Definition at line 127 of file FN_multi_function_signature.hh.
References flag, blender::CPPType::get(), name, and single_output().
Referenced by add(), blender::fn::multi_function::CustomMF_Constant< T >::CustomMF_Constant(), blender::fn::multi_function::CustomMF_GenericConstant::CustomMF_GenericConstant(), blender::fn::multi_function::tests::OptionalOutputsFunction::OptionalOutputsFunction(), single_output(), and blender::fn::multi_function::tests::SumVectorFunction::SumVectorFunction().
|
inline |
Definition at line 111 of file FN_multi_function_signature.hh.
References blender::CPPType::get(), name, and vector_input().
Referenced by add(), blender::fn::multi_function::tests::ConcatVectorsFunction::ConcatVectorsFunction(), blender::fn::multi_function::tests::SumVectorFunction::SumVectorFunction(), and vector_input().
|
inline |
Definition at line 116 of file FN_multi_function_signature.hh.
References blender::fn::multi_function::DataType::ForVector(), input, and name.
|
inline |
Definition at line 167 of file FN_multi_function_signature.hh.
References blender::CPPType::get(), name, and vector_mutable().
Referenced by add(), blender::fn::multi_function::tests::AppendFunction::AppendFunction(), blender::fn::multi_function::tests::ConcatVectorsFunction::ConcatVectorsFunction(), blender::fn::multi_function::tests::GenericAppendFunction::GenericAppendFunction(), and vector_mutable().
|
inline |
Definition at line 172 of file FN_multi_function_signature.hh.
References blender::fn::multi_function::DataType::ForVector(), mutable_(), and name.
|
inline |
Definition at line 145 of file FN_multi_function_signature.hh.
References flag, blender::fn::multi_function::DataType::ForVector(), name, and output.
|
inline |
Definition at line 140 of file FN_multi_function_signature.hh.
References flag, blender::CPPType::get(), name, and vector_output().
Referenced by add(), blender::fn::multi_function::tests::CreateRangeFunction::CreateRangeFunction(), blender::fn::multi_function::CustomMF_GenericConstantArray::CustomMF_GenericConstantArray(), and vector_output().