Blender V5.0
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_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_register ()

Variables

const EnumPropertyItem rna_enum_node_match_string_items []

Enumeration Type Documentation

◆ MatchStringOperation

Enumerator
StartsWith 
EndsWith 
Contains 

Definition at line 16 of file node_fn_match_string.cc.

Function Documentation

◆ node_build_multi_function()

◆ node_declare()

◆ node_gather_link_searches()

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

Definition at line 70 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_label()

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

◆ node_register()

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,
N_("Starts With"),
N_("True when the first input starts with the second")},
"ENDS_WITH",
0,
N_("Ends With"),
N_("True when the first input ends with the second")},
"CONTAINS",
0,
N_("Contains"),
N_("True when the first input contains the second as a substring")},
{0, nullptr, 0, nullptr, nullptr},
}
#define N_(msgid)

Definition at line 18 of file node_fn_match_string.cc.

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