|
Blender V4.3
|
#include <BLI_generic_pointer.hh>
Public Member Functions | |
| GMutablePointer ()=default | |
| GMutablePointer (const CPPType *type, void *data=nullptr) | |
| GMutablePointer (const CPPType &type, void *data=nullptr) | |
| template<typename T , BLI_ENABLE_IF(!std::is_void_v< T >) > | |
| GMutablePointer (T *data) | |
| void * | get () const |
| const CPPType * | type () const |
| template<typename T > | |
| T * | get () const |
| template<typename T > | |
| bool | is_type () const |
| template<typename T > | |
| T | relocate_out () |
| void | destruct () |
A generic non-const pointer whose type is only known at runtime.
Definition at line 14 of file BLI_generic_pointer.hh.
|
default |
|
inline |
Definition at line 22 of file BLI_generic_pointer.hh.
References BLI_assert.
|
inline |
Definition at line 28 of file BLI_generic_pointer.hh.
|
inline |
Definition at line 31 of file BLI_generic_pointer.hh.
|
inline |
Definition at line 66 of file BLI_generic_pointer.hh.
References BLI_assert, and blender::CPPType::destruct().
|
inline |
Definition at line 35 of file BLI_generic_pointer.hh.
Referenced by blender::nodes::geo_eval_log::GeoTreeLog::try_convert_primitive_socket_value().
Definition at line 45 of file BLI_generic_pointer.hh.
References BLI_assert, and is_type().
|
inline |
Definition at line 51 of file BLI_generic_pointer.hh.
References blender::CPPType::is().
Referenced by get(), and relocate_out().
Definition at line 56 of file BLI_generic_pointer.hh.
References BLI_assert, is_type(), and blender::CPPType::relocate_assign().
|
inline |
Definition at line 40 of file BLI_generic_pointer.hh.
Referenced by blender::nodes::geo_eval_log::GeoTreeLog::try_convert_primitive_socket_value().