Blender  V2.93
Public Types | Public Member Functions | Static Public Member Functions | Friends | List of all members
blender::fn::MFParamType Class Reference

#include <FN_multi_function_param_type.hh>

Public Types

enum  InterfaceType { Input , Output , Mutable }
 
enum  Category {
  SingleInput , VectorInput , SingleOutput , VectorOutput ,
  SingleMutable , VectorMutable
}
 

Public Member Functions

 MFParamType (InterfaceType interface_type, MFDataType data_type)
 
MFDataType data_type () const
 
InterfaceType interface_type () const
 
Category 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)
 

Detailed Description

Definition at line 39 of file FN_multi_function_param_type.hh.

Member Enumeration Documentation

◆ Category

Enumerator
SingleInput 
VectorInput 
SingleOutput 
VectorOutput 
SingleMutable 
VectorMutable 

Definition at line 47 of file FN_multi_function_param_type.hh.

◆ InterfaceType

Enumerator
Input 
Output 
Mutable 

Definition at line 41 of file FN_multi_function_param_type.hh.

Constructor & Destructor Documentation

◆ MFParamType()

blender::fn::MFParamType::MFParamType ( InterfaceType  interface_type,
MFDataType  data_type 
)
inline

Member Function Documentation

◆ category()

Category blender::fn::MFParamType::category ( ) const
inline

◆ data_type()

MFDataType blender::fn::MFParamType::data_type ( ) const
inline

◆ ForMutableSingle()

static MFParamType blender::fn::MFParamType::ForMutableSingle ( const CPPType type)
inlinestatic

◆ ForMutableVector()

static MFParamType blender::fn::MFParamType::ForMutableVector ( const CPPType base_type)
inlinestatic

◆ ForSingleInput()

static MFParamType blender::fn::MFParamType::ForSingleInput ( const CPPType type)
inlinestatic

◆ ForSingleOutput()

static MFParamType blender::fn::MFParamType::ForSingleOutput ( const CPPType type)
inlinestatic

◆ ForVectorInput()

static MFParamType blender::fn::MFParamType::ForVectorInput ( const CPPType base_type)
inlinestatic

◆ ForVectorOutput()

static MFParamType blender::fn::MFParamType::ForVectorOutput ( const CPPType base_type)
inlinestatic

◆ interface_type()

InterfaceType blender::fn::MFParamType::interface_type ( ) const
inline

Definition at line 101 of file FN_multi_function_param_type.hh.

◆ is_input_or_mutable()

bool blender::fn::MFParamType::is_input_or_mutable ( ) const
inline

Definition at line 136 of file FN_multi_function_param_type.hh.

References ELEM, Input, and Mutable.

Referenced by blender::fn::MFNetwork::add_function().

◆ is_output()

bool blender::fn::MFParamType::is_output ( ) const
inline

Definition at line 146 of file FN_multi_function_param_type.hh.

References Output.

Referenced by blender::fn::CustomMF_DefaultOutput::call().

◆ is_output_or_mutable()

bool blender::fn::MFParamType::is_output_or_mutable ( ) const
inline

Definition at line 141 of file FN_multi_function_param_type.hh.

References ELEM, Mutable, and Output.

Referenced by blender::fn::MFNetwork::add_function().

Friends And Related Function Documentation

◆ operator!=

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

Definition at line 160 of file FN_multi_function_param_type.hh.

◆ operator==

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

Definition at line 155 of file FN_multi_function_param_type.hh.


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