Blender V4.5
blender::nodes::node_fn_match_string_cc Namespace Reference

Enumerations

enum class  MatchStringOperation : int8_t { StartsWith , EndsWith , Contains }

Functions

static void node_declare (NodeDeclarationBuilder &b)
static void node_layout (uiLayout *layout, bContext *, PointerRNA *ptr)
static void node_init (bNodeTree *, bNode *node)
static const mf::MultiFunction * get_multi_function (const bNode &bnode)
static void node_build_multi_function (NodeMultiFunctionBuilder &builder)
static void node_gather_link_searches (GatherLinkSearchOpParams &params)
static void node_label (const bNodeTree *, const bNode *node, char *label, int label_maxncpy)
static void node_rna (StructRNA *srna)
static void node_register ()

Variables

const EnumPropertyItem rna_enum_node_match_string_items []

Enumeration Type Documentation

◆ MatchStringOperation

Enumerator
StartsWith 
EndsWith 
Contains 

Definition at line 19 of file node_fn_match_string.cc.

Function Documentation

◆ get_multi_function()

const mf::MultiFunction * blender::nodes::node_fn_match_string_cc::get_multi_function ( const bNode & bnode)
static

◆ node_build_multi_function()

void blender::nodes::node_fn_match_string_cc::node_build_multi_function ( NodeMultiFunctionBuilder & builder)
static

◆ node_declare()

void blender::nodes::node_fn_match_string_cc::node_declare ( NodeDeclarationBuilder & b)
static

Definition at line 40 of file node_fn_match_string.cc.

References b, and blender::nodes::SocketDeclaration::description.

Referenced by node_register().

◆ node_gather_link_searches()

void blender::nodes::node_fn_match_string_cc::node_gather_link_searches ( GatherLinkSearchOpParams & params)
static

Definition at line 101 of file node_fn_match_string.cc.

References IFACE_, params, rna_enum_node_match_string_items, SOCK_IN, and SOCK_STRING.

Referenced by node_register().

◆ node_init()

void blender::nodes::node_fn_match_string_cc::node_init ( bNodeTree * ,
bNode * node )
static

Definition at line 53 of file node_fn_match_string.cc.

References bNode::custom1, and StartsWith.

Referenced by node_register().

◆ node_label()

void blender::nodes::node_fn_match_string_cc::node_label ( const bNodeTree * ,
const bNode * node,
char * label,
int label_maxncpy )
static

◆ node_layout()

void blender::nodes::node_fn_match_string_cc::node_layout ( uiLayout * layout,
bContext * ,
PointerRNA * ptr )
static

Definition at line 48 of file node_fn_match_string.cc.

References uiLayout::prop(), ptr, and UI_ITEM_NONE.

Referenced by node_register().

◆ node_register()

◆ node_rna()

void blender::nodes::node_fn_match_string_cc::node_rna ( StructRNA * srna)
static

Variable Documentation

◆ rna_enum_node_match_string_items

const EnumPropertyItem blender::nodes::node_fn_match_string_cc::rna_enum_node_match_string_items[]
Initial value:
= {
"STARTS_WITH",
0,
"Starts With",
"True when the first input starts with the second"},
"ENDS_WITH",
0,
"Ends With",
"True when the first input ends with the second"},
"CONTAINS",
0,
"Contains",
"True when the first input contains the second as a substring"},
{0, nullptr, 0, nullptr, nullptr},
}

Definition at line 21 of file node_fn_match_string.cc.

Referenced by node_gather_link_searches(), node_label(), and node_rna().