|
Blender V4.3
|
#include <BLI_generic_pointer.hh>
Public Member Functions | |
| GPointer ()=default | |
| GPointer (GMutablePointer ptr) | |
| GPointer (const CPPType *type, const void *data=nullptr) | |
| GPointer (const CPPType &type, const void *data=nullptr) | |
| template<typename T > | |
| GPointer (T *data) | |
| const void * | get () const |
| const CPPType * | type () const |
| template<typename T > | |
| const T * | get () const |
| template<typename T > | |
| bool | is_type () const |
A generic const pointer whose type is only known at runtime.
Definition at line 76 of file BLI_generic_pointer.hh.
|
default |
|
inline |
Definition at line 84 of file BLI_generic_pointer.hh.
|
inline |
Definition at line 86 of file BLI_generic_pointer.hh.
References BLI_assert.
|
inline |
Definition at line 92 of file BLI_generic_pointer.hh.
Definition at line 94 of file BLI_generic_pointer.hh.
|
inline |
Definition at line 96 of file BLI_generic_pointer.hh.
Referenced by blender::bke::add_custom_data_layer_from_attribute_init(), blender::fn::build_multi_function_procedure_for_fields(), blender::fn::evaluate_fields(), blender::bke::SocketValueVariant::extract(), blender::nodes::mix_baked_data_item(), and blender::ed::curves::set_attribute_exec().
Definition at line 106 of file BLI_generic_pointer.hh.
References BLI_assert, and is_type().
|
inline |
Definition at line 112 of file BLI_generic_pointer.hh.
References blender::CPPType::is().
Referenced by get().
|
inline |
Definition at line 101 of file BLI_generic_pointer.hh.
Referenced by blender::bke::add_custom_data_layer_from_attribute_init(), and blender::bke::SocketValueVariant::extract().