|
Blender V5.3
|
Enumerations | |
| enum class | Mode { FirstFromStart = 0 , FirstFromEnd = 1 } |
Functions | |
| static void | node_declare (NodeDeclarationBuilder &b) |
| static int | string_find (const StringRef text, const StringRef token, const bool from_end) |
| static int | string_count (const StringRef text, const StringRef token) |
| static void | node_build_multi_function (NodeMultiFunctionBuilder &builder) |
| static void | node_register () |
Variables | |
| static const EnumPropertyItem | mode_items [] |
|
strong |
| Enumerator | |
|---|---|
| FirstFromStart | |
| FirstFromEnd | |
Definition at line 12 of file node_fn_find_in_string.cc.
|
static |
Definition at line 67 of file node_fn_find_in_string.cc.
References FirstFromEnd, node_build_multi_function(), blender::nodes::NodeMultiFunctionBuilder::set_matching_fn(), string_count(), and string_find().
Referenced by node_build_multi_function(), and node_register().
|
static |
Definition at line 31 of file node_fn_find_in_string.cc.
References b, mode_items, node_declare(), and blender::nodes::SocketDeclaration::optional_label.
Referenced by node_declare(), and node_register().
|
static |
Definition at line 84 of file node_fn_find_in_string.cc.
References blender::bke::bNodeType::build_multi_function, blender::common_node_type_base(), blender::bke::bNodeType::declare, FN_NODE_FIND_IN_STRING, blender::bke::bNodeType::nclass, node_build_multi_function(), NODE_CLASS_CONVERTER, node_declare(), node_register(), blender::bke::node_register_type(), blender::bke::bNodeType::ui_description, and blender::bke::bNodeType::ui_name.
Referenced by node_register().
|
static |
Definition at line 52 of file node_fn_find_in_string.cc.
References blender::blender::StringRefBase::find(), blender::blender::StringRefBase::is_empty(), blender::blender::StringRefBase::not_found, blender::blender::StringRefBase::size(), and string_count().
Referenced by node_build_multi_function(), and string_count().
|
static |
Definition at line 41 of file node_fn_find_in_string.cc.
References blender::BLI_strnlen_utf8_ex(), blender::blender::StringRefBase::data(), blender::blender::StringRefBase::find(), blender::blender::StringRefBase::is_empty(), blender::blender::StringRefBase::rfind(), and string_find().
Referenced by node_build_multi_function(), and string_find().
|
static |
Definition at line 17 of file node_fn_find_in_string.cc.
Referenced by node_declare().