Blender  V3.3
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 }
 

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)
 

Detailed Description

Definition at line 42 of file FN_multi_function_param_type.hh.

Member Enumeration Documentation

◆ InterfaceType

Enumerator
Input 
Output 
Mutable 

Definition at line 44 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()

MFParamCategory 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

◆ is_input_or_mutable()

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

Definition at line 130 of file FN_multi_function_param_type.hh.

References ELEM, Input, and Mutable.

◆ is_output()

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

◆ is_output_or_mutable()

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

Definition at line 135 of file FN_multi_function_param_type.hh.

References ELEM, Mutable, and Output.

Friends And Related Function Documentation

◆ operator!=

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

Definition at line 154 of file FN_multi_function_param_type.hh.

◆ operator==

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

Definition at line 149 of file FN_multi_function_param_type.hh.


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