Blender
V3.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 75 of file BLI_generic_pointer.hh.
|
default |
|
inline |
Definition at line 83 of file BLI_generic_pointer.hh.
References data_.
Definition at line 87 of file BLI_generic_pointer.hh.
References BLI_assert, and data_.
Definition at line 93 of file BLI_generic_pointer.hh.
References data_.
|
inline |
Definition at line 97 of file BLI_generic_pointer.hh.
|
inline |
Definition at line 101 of file BLI_generic_pointer.hh.
References data_.
Referenced by blender::GValueMap< Key >::add_new_by_copy(), blender::fn::MFParamsBuilder::add_readonly_single_input(), blender::fn::build_multi_function_procedure_for_fields(), blender::ed::space_node::create_inspection_string_for_generic_value(), blender::fn::evaluate_fields(), blender::ed::spreadsheet::find_fields_to_evaluate(), find_output_attributes_to_store(), blender::nodes::GeoNodeExecParams::get_input(), and blender::nodes::geometry_nodes_eval_log::LocalGeoLogger::log_value_for_sockets().
|
inline |
Definition at line 111 of file BLI_generic_pointer.hh.
References BLI_assert, data_, and T.
|
inline |
Definition at line 117 of file BLI_generic_pointer.hh.
References blender::CPPType::is(), and T.
Referenced by blender::nodes::GeoNodeExecParams::get_input().
|
inline |
Definition at line 106 of file BLI_generic_pointer.hh.
Referenced by blender::GValueMap< Key >::add_new_by_copy(), blender::fn::MFParamsBuilder::add_readonly_single_input(), blender::ed::space_node::create_inspection_string_for_generic_value(), blender::bke::curves::fill_points(), blender::ed::spreadsheet::find_fields_to_evaluate(), find_output_attributes_to_store(), blender::nodes::geometry_nodes_eval_log::LocalGeoLogger::log_value_for_sockets(), and blender::geometry::threaded_fill().