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

#include <NOD_geo_bundle.hh>

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

Classes

struct  operator_idnames
struct  ui_idnames
struct  rna_names

Public Types

using ItemT = NodeSeparateBundleItem

Static Public Member Functions

static socket_items::SocketItemsRef< ItemTget_items_from_node (bNode &node)
static void copy_item (const ItemT &src, ItemT &dst)
static void destruct_item (ItemT *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 ItemT &item)
static char ** get_name (ItemT &item)
static bool supports_socket_type (const eNodeSocketDatatype socket_type, const int ntree_type)
static void init_with_socket_type_and_name (bNode &node, ItemT &item, const eNodeSocketDatatype socket_type, const char *name)
static std::string socket_identifier_for_item (const ItemT &item)
static std::string validate_name (const StringRef name)

Static Public Attributes

static StructRNAitem_srna = &RNA_NodeSeparateBundleItem
static int node_type
static constexpr StringRefNull node_idname = "NodeSeparateBundle"
static constexpr bool has_type = true
static constexpr bool has_name = true
static constexpr bool has_name_validation = true
static constexpr char unique_name_separator = '_'
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

Definition at line 124 of file NOD_geo_bundle.hh.

Member Typedef Documentation

◆ ItemT

Member Function Documentation

◆ blend_read_data_item()

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

Definition at line 270 of file node_geo_separate_bundle.cc.

References BLO_read_string(), and NodeSeparateBundleItem::name.

◆ blend_write_item()

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

◆ copy_item()

void blender::nodes::SeparateBundleItemsAccessor::copy_item ( const ItemT & src,
ItemT & dst )
inlinestatic

Definition at line 152 of file NOD_geo_bundle.hh.

References BLI_strdup_null(), and NodeSeparateBundleItem::name.

◆ destruct_item()

void blender::nodes::SeparateBundleItemsAccessor::destruct_item ( ItemT * item)
inlinestatic

Definition at line 158 of file NOD_geo_bundle.hh.

References MEM_SAFE_FREE, and NodeSeparateBundleItem::name.

◆ get_items_from_node()

socket_items::SocketItemsRef< ItemT > blender::nodes::SeparateBundleItemsAccessor::get_items_from_node ( bNode & node)
inlinestatic

Definition at line 146 of file NOD_geo_bundle.hh.

References bNode::storage.

◆ get_name()

char ** blender::nodes::SeparateBundleItemsAccessor::get_name ( ItemT & item)
inlinestatic

Definition at line 171 of file NOD_geo_bundle.hh.

References NodeSeparateBundleItem::name.

◆ get_socket_type()

eNodeSocketDatatype blender::nodes::SeparateBundleItemsAccessor::get_socket_type ( const ItemT & item)
inlinestatic

Definition at line 166 of file NOD_geo_bundle.hh.

References NodeSeparateBundleItem::socket_type.

◆ init_with_socket_type_and_name()

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

◆ socket_identifier_for_item()

std::string blender::nodes::SeparateBundleItemsAccessor::socket_identifier_for_item ( const ItemT & item)
inlinestatic

◆ supports_socket_type()

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

◆ validate_name()

std::string blender::nodes::SeparateBundleItemsAccessor::validate_name ( const StringRef name)
inlinestatic

Member Data Documentation

◆ has_name

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

Definition at line 130 of file NOD_geo_bundle.hh.

◆ has_name_validation

bool blender::nodes::SeparateBundleItemsAccessor::has_name_validation = true
staticconstexpr

Definition at line 131 of file NOD_geo_bundle.hh.

◆ has_type

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

Definition at line 129 of file NOD_geo_bundle.hh.

◆ item_srna

StructRNA * blender::nodes::SeparateBundleItemsAccessor::item_srna = &RNA_NodeSeparateBundleItem
static

◆ node_idname

StringRefNull blender::nodes::SeparateBundleItemsAccessor::node_idname = "NodeSeparateBundle"
staticconstexpr

Definition at line 128 of file NOD_geo_bundle.hh.

◆ node_type

int blender::nodes::SeparateBundleItemsAccessor::node_type
static

Definition at line 127 of file NOD_geo_bundle.hh.

◆ unique_name_separator

char blender::nodes::SeparateBundleItemsAccessor::unique_name_separator = '_'
staticconstexpr

Definition at line 132 of file NOD_geo_bundle.hh.


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