|
Blender V5.0
|
#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 |
| operator bool () 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 18 of file BLI_generic_pointer.hh.
|
default |
Referenced by GMutablePointer(), and GMutablePointer().
Definition at line 26 of file BLI_generic_pointer.hh.
References BLI_assert, data, and type().
Definition at line 32 of file BLI_generic_pointer.hh.
References data, GMutablePointer(), and type().
|
inline |
Definition at line 35 of file BLI_generic_pointer.hh.
References data, get(), GMutablePointer(), and T.
|
inline |
Definition at line 75 of file BLI_generic_pointer.hh.
References BLI_assert.
Definition at line 54 of file BLI_generic_pointer.hh.
References BLI_assert, is_type(), and T.
|
inline |
Definition at line 39 of file BLI_generic_pointer.hh.
Referenced by blender::GValueMap< Key >::add_new_by_move(), blender::GValueMap< Key >::extract(), GMutablePointer(), blender::nodes::node_geo_viewer_cc::log_viewer_attribute(), blender::GValueMap< Key >::lookup(), and blender::nodes::geo_eval_log::GeoTreeLog::try_convert_primitive_socket_value().
|
inline |
Definition at line 60 of file BLI_generic_pointer.hh.
References T.
Referenced by get(), blender::GValueMap< Key >::lookup(), and relocate_out().
|
inline |
Definition at line 49 of file BLI_generic_pointer.hh.
Definition at line 65 of file BLI_generic_pointer.hh.
References BLI_assert, is_type(), and T.
|
inline |
Definition at line 44 of file BLI_generic_pointer.hh.
Referenced by blender::GValueMap< Key >::add_new_by_move(), blender::GValueMap< Key >::extract(), GMutablePointer(), GMutablePointer(), and blender::nodes::geo_eval_log::GeoTreeLog::try_convert_primitive_socket_value().