Blender V5.0
blender::nodes::RepeatItemsAccessor Struct Reference

#include <NOD_geo_repeat.hh>

Inherits blender::nodes::socket_items::SocketItemsAccessorDefaults.

Classes

struct  operator_idnames
struct  ui_idnames
struct  rna_names

Public Types

using ItemT = NodeRepeatItem

Static Public Member Functions

static socket_items::SocketItemsRef< NodeRepeatItemget_items_from_node (bNode &node)
static void copy_item (const NodeRepeatItem &src, NodeRepeatItem &dst)
static void destruct_item (NodeRepeatItem *item)
static void blend_write_item (BlendWriter *writer, const ItemT &item)
static void blend_read_data_item (BlendDataReader *reader, ItemT &item)
static eNodeSocketDatatype get_socket_type (const NodeRepeatItem &item)
static char ** get_name (NodeRepeatItem &item)
static bool supports_socket_type (const eNodeSocketDatatype socket_type, const int ntree_type)
static void init_with_socket_type_and_name (bNode &node, NodeRepeatItem &item, const eNodeSocketDatatype socket_type, const char *name)
static std::string socket_identifier_for_item (const NodeRepeatItem &item)

Static Public Attributes

static StructRNAitem_srna = &RNA_RepeatItem
static int node_type
static constexpr StringRefNull node_idname = "GeometryNodeRepeatOutput"
static constexpr bool has_type = true
static constexpr bool has_name = true
Static Public Attributes inherited from blender::nodes::socket_items::SocketItemsAccessorDefaults
static constexpr bool has_single_identifier_str = true
static constexpr bool has_name_validation = false
static constexpr bool has_custom_initial_name = false
static constexpr bool has_vector_dimensions = false
static constexpr bool can_have_empty_name = false
static constexpr char unique_name_separator = '.'

Detailed Description

Makes it possible to use various functions (e.g. the ones in NOD_socket_items.hh) with repeat items.

Definition at line 17 of file NOD_geo_repeat.hh.

Member Typedef Documentation

◆ ItemT

Member Function Documentation

◆ blend_read_data_item()

void blender::nodes::RepeatItemsAccessor::blend_read_data_item ( BlendDataReader * reader,
ItemT & item )
static

Definition at line 342 of file node_geo_repeat.cc.

References BLO_read_string(), and NodeRepeatItem::name.

◆ blend_write_item()

void blender::nodes::RepeatItemsAccessor::blend_write_item ( BlendWriter * writer,
const ItemT & item )
static

Definition at line 337 of file node_geo_repeat.cc.

References BLO_write_string(), and NodeRepeatItem::name.

◆ copy_item()

void blender::nodes::RepeatItemsAccessor::copy_item ( const NodeRepeatItem & src,
NodeRepeatItem & dst )
inlinestatic

Definition at line 43 of file NOD_geo_repeat.hh.

References BLI_strdup_null(), and NodeRepeatItem::name.

◆ destruct_item()

void blender::nodes::RepeatItemsAccessor::destruct_item ( NodeRepeatItem * item)
inlinestatic

Definition at line 49 of file NOD_geo_repeat.hh.

References MEM_SAFE_FREE, and NodeRepeatItem::name.

◆ get_items_from_node()

socket_items::SocketItemsRef< NodeRepeatItem > blender::nodes::RepeatItemsAccessor::get_items_from_node ( bNode & node)
inlinestatic

Definition at line 37 of file NOD_geo_repeat.hh.

References bNode::storage.

◆ get_name()

char ** blender::nodes::RepeatItemsAccessor::get_name ( NodeRepeatItem & item)
inlinestatic

Definition at line 62 of file NOD_geo_repeat.hh.

References NodeRepeatItem::name.

◆ get_socket_type()

eNodeSocketDatatype blender::nodes::RepeatItemsAccessor::get_socket_type ( const NodeRepeatItem & item)
inlinestatic

Definition at line 57 of file NOD_geo_repeat.hh.

References NodeRepeatItem::socket_type.

◆ init_with_socket_type_and_name()

void blender::nodes::RepeatItemsAccessor::init_with_socket_type_and_name ( bNode & node,
NodeRepeatItem & item,
const eNodeSocketDatatype socket_type,
const char * name )
inlinestatic

◆ socket_identifier_for_item()

std::string blender::nodes::RepeatItemsAccessor::socket_identifier_for_item ( const NodeRepeatItem & item)
inlinestatic

◆ supports_socket_type()

bool blender::nodes::RepeatItemsAccessor::supports_socket_type ( const eNodeSocketDatatype socket_type,
const int ntree_type )
inlinestatic

Member Data Documentation

◆ has_name

bool blender::nodes::RepeatItemsAccessor::has_name = true
staticconstexpr

Definition at line 23 of file NOD_geo_repeat.hh.

◆ has_type

bool blender::nodes::RepeatItemsAccessor::has_type = true
staticconstexpr

Definition at line 22 of file NOD_geo_repeat.hh.

◆ item_srna

StructRNA * blender::nodes::RepeatItemsAccessor::item_srna = &RNA_RepeatItem
static

◆ node_idname

StringRefNull blender::nodes::RepeatItemsAccessor::node_idname = "GeometryNodeRepeatOutput"
staticconstexpr

Definition at line 21 of file NOD_geo_repeat.hh.

◆ node_type

int blender::nodes::RepeatItemsAccessor::node_type
static

Definition at line 20 of file NOD_geo_repeat.hh.


The documentation for this struct was generated from the following files: