Blender  V2.93
Public Member Functions | List of all members
blender::nodes::DataTypeConversions Class Reference

#include <NOD_type_conversions.hh>

Public Member Functions

void add (fn::MFDataType from_type, fn::MFDataType to_type, const fn::MultiFunction &fn, void(*convert_single_to_initialized)(const void *src, void *dst), void(*convert_single_to_uninitialized)(const void *src, void *dst))
 
const ConversionFunctionsget_conversion_functions (fn::MFDataType from, fn::MFDataType to) const
 
const ConversionFunctionsget_conversion_functions (const CPPType &from, const CPPType &to) const
 
const fn::MultiFunctionget_conversion_multi_function (fn::MFDataType from, fn::MFDataType to) const
 
bool is_convertible (const CPPType &from_type, const CPPType &to_type) const
 
void convert_to_uninitialized (const CPPType &from_type, const CPPType &to_type, const void *from_value, void *to_value) const
 

Detailed Description

Definition at line 32 of file NOD_type_conversions.hh.

Member Function Documentation

◆ add()

void blender::nodes::DataTypeConversions::add ( fn::MFDataType  from_type,
fn::MFDataType  to_type,
const fn::MultiFunction fn,
void(*)(const void *src, void *dst)  convert_single_to_initialized,
void(*)(const void *src, void *dst)  convert_single_to_uninitialized 
)
inline

◆ convert_to_uninitialized()

void blender::nodes::DataTypeConversions::convert_to_uninitialized ( const CPPType from_type,
const CPPType to_type,
const void *  from_value,
void *  to_value 
) const

◆ get_conversion_functions() [1/2]

const ConversionFunctions* blender::nodes::DataTypeConversions::get_conversion_functions ( const CPPType from,
const CPPType to 
) const
inline

◆ get_conversion_functions() [2/2]

const ConversionFunctions* blender::nodes::DataTypeConversions::get_conversion_functions ( fn::MFDataType  from,
fn::MFDataType  to 
) const
inline

◆ get_conversion_multi_function()

const fn::MultiFunction* blender::nodes::DataTypeConversions::get_conversion_multi_function ( fn::MFDataType  from,
fn::MFDataType  to 
) const
inline

◆ is_convertible()

bool blender::nodes::DataTypeConversions::is_convertible ( const CPPType from_type,
const CPPType to_type 
) const
inline

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