41 return {&storage->items, &storage->items_num, &storage->active_index};
81 return ELEM(socket_type,
109 return "Item_" + std::to_string(item.
identifier);
115 geo_eval_log::ViewerNodeLog &r_log);
char * BLI_strdup_null(const char *str) ATTR_WARN_UNUSED_RESULT ATTR_MALLOC
void set_item_name_and_make_unique(bNode &node, typename Accessor::ItemT &item, const char *value)
void geo_viewer_node_log(const bNode &node, const Span< bke::SocketValueVariant * > input_values, geo_eval_log::ViewerNodeLog &r_log)
static constexpr StringRefNull remove_item
static constexpr StringRefNull move_item
static constexpr StringRefNull add_item
static constexpr StringRefNull active_index
static constexpr StringRefNull items
static constexpr StringRefNull list
static StructRNA * item_srna
static constexpr bool has_name
NodeGeometryViewerItem ItemT
static void blend_read_data_item(BlendDataReader *reader, ItemT &item)
static void copy_item(const NodeGeometryViewerItem &src, NodeGeometryViewerItem &dst)
static std::string socket_identifier_for_item(const NodeGeometryViewerItem &item)
static void destruct_item(NodeGeometryViewerItem *item)
static socket_items::SocketItemsRef< NodeGeometryViewerItem > get_items_from_node(bNode &node)
static constexpr bool has_type
static eNodeSocketDatatype get_socket_type(const NodeGeometryViewerItem &item)
static bool supports_socket_type(const eNodeSocketDatatype socket_type, const int)
static constexpr StringRefNull node_idname
static void blend_write_item(BlendWriter *writer, const ItemT &item)
static void init_with_socket_type_and_name(bNode &node, NodeGeometryViewerItem &item, const eNodeSocketDatatype socket_type, const char *name)
static char ** get_name(NodeGeometryViewerItem &item)