|
Blender V5.3
|
#include <cstdarg>#include <string>#include "BLI_compiler_attrs.hh"#include "BLI_function_ref.hh"#include "BLI_string_ref.hh"#include "BLI_utildefines.hh"Go to the source code of this file.
Namespaces | |
| namespace | blender |
| BMesh Iterators. | |
Macros | |
| #define | BLI_string_join_by_sep_char_with_tableN(sep, table, ...) |
| #define | _BLI_STRING_ARGS_1 _BLI_STRING_ARGS_0 const char *a |
| #define | _BLI_STRING_ARGS_2 _BLI_STRING_ARGS_1, const char *b |
| #define | _BLI_STRING_ARGS_3 _BLI_STRING_ARGS_2, const char *c |
| #define | _BLI_STRING_ARGS_4 _BLI_STRING_ARGS_3, const char *d |
| #define | _BLI_STRING_ARGS_5 _BLI_STRING_ARGS_4, const char *e |
| #define | _BLI_STRING_ARGS_6 _BLI_STRING_ARGS_5, const char *f |
| #define | _BLI_STRING_ARGS_7 _BLI_STRING_ARGS_6, const char *g |
| #define | _BLI_STRING_ARGS_8 _BLI_STRING_ARGS_7, const char *h |
| #define | _BLI_STRING_ARGS_9 _BLI_STRING_ARGS_8, const char *i |
| #define | _BLI_STRING_ARGS_10 _BLI_STRING_ARGS_9, const char *j |
Functions | |
| size_t | blender::BLI_string_flip_side_name (char *name_dst, const char *name_src, bool strip_number, size_t name_dst_maxncpy) ATTR_NONNULL(1 |
| size_t void | blender::BLI_uniquename_cb (FunctionRef< bool(StringRefNull)> unique_check, const char *defname, char delim, char *name, size_t name_maxncpy) ATTR_NONNULL(2 |
| size_t void std::string | blender::BLI_uniquename_cb (FunctionRef< bool(StringRef)> unique_check, char delim, StringRef name) |
| void | blender::BLI_uniquename (const ListBase *list, void *vlink, const char *defname, char delim, int name_offset, size_t name_maxncpy) ATTR_NONNULL(1 |
| void size_t | blender::BLI_string_len_array (const char *strings[], uint strings_num) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL() |
String Replace | |
| char * | blender::BLI_string_replaceN (const char *__restrict str, const char *__restrict substr_old, const char *__restrict substr_new) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1 |
| void | blender::BLI_string_replace (std::string &haystack, StringRef needle, StringRef other) |
| std::string | blender::BLI_string_pad_number_sign (blender::StringRef str) |
| void | blender::BLI_string_replace_char (char *str, char src, char dst) ATTR_NONNULL(1) |
| bool | blender::BLI_string_replace_table_exact (char *string, size_t string_maxncpy, const char *replace_table[][2], int replace_table_len) |
| size_t | blender::BLI_string_replace_range (char *string, size_t string_maxncpy, int src_beg, int src_end, const char *dst) |
String Split | |
| size_t | blender::BLI_string_split_name_number (const char *name, char delim, char *r_name_left, int *r_number) ATTR_NONNULL(1 |
| size_t StringRef | blender::BLI_string_split_name_number (const StringRef name_full, char delim, int &r_number) |
| bool | blender::BLI_string_is_decimal (const char *string) ATTR_NONNULL(1) |
| void | blender::BLI_string_split_suffix (const char *string, size_t string_maxlen, char *r_body, char *r_suf) ATTR_NONNULL(1 |
| void void | blender::BLI_string_split_prefix (const char *string, size_t string_maxlen, char *r_pre, char *r_body) ATTR_NONNULL(1 |
Join Strings | |
For non array versions of these functions, use the macros: | |
| void void char * | blender::BLI_string_join_array_by_sep_char_with_tableN (char sep, char *table[], const char *strings[], uint strings_num) ATTR_NONNULL(2 |
| #define _BLI_STRING_ARGS_0 const char sep, |
Definition at line 229 of file BLI_string_utils.hh.
| #define _BLI_STRING_ARGS_0 char *__restrict dst, const size_t dst_len, const char sep, |
Definition at line 229 of file BLI_string_utils.hh.
| #define _BLI_STRING_ARGS_0 |
Definition at line 229 of file BLI_string_utils.hh.
| #define _BLI_STRING_ARGS_0 char *__restrict dst, const size_t dst_len, |
Definition at line 229 of file BLI_string_utils.hh.
| #define _BLI_STRING_ARGS_1 _BLI_STRING_ARGS_0 const char *a |
Definition at line 214 of file BLI_string_utils.hh.
Referenced by blender::_BLI_string_join_3(), blender::_BLI_string_join_by_sep_char_4(), blender::_BLI_string_join_by_sep_charN_2(), and blender::_BLI_string_joinN_1().
| #define _BLI_STRING_ARGS_10 _BLI_STRING_ARGS_9, const char *j |
Definition at line 223 of file BLI_string_utils.hh.
Referenced by blender::_BLI_string_join_12(), blender::_BLI_string_join_by_sep_char_13(), blender::_BLI_string_join_by_sep_charN_11(), and blender::_BLI_string_joinN_10().
| #define _BLI_STRING_ARGS_2 _BLI_STRING_ARGS_1, const char *b |
Definition at line 215 of file BLI_string_utils.hh.
Referenced by blender::_BLI_string_join_4(), blender::_BLI_string_join_by_sep_char_5(), blender::_BLI_string_join_by_sep_charN_3(), and blender::_BLI_string_joinN_2().
| #define _BLI_STRING_ARGS_3 _BLI_STRING_ARGS_2, const char *c |
Definition at line 216 of file BLI_string_utils.hh.
Referenced by blender::_BLI_string_join_5(), blender::_BLI_string_join_by_sep_char_6(), blender::_BLI_string_join_by_sep_charN_4(), and blender::_BLI_string_joinN_3().
| #define _BLI_STRING_ARGS_4 _BLI_STRING_ARGS_3, const char *d |
Definition at line 217 of file BLI_string_utils.hh.
Referenced by blender::_BLI_string_join_6(), blender::_BLI_string_join_by_sep_char_7(), blender::_BLI_string_join_by_sep_charN_5(), and blender::_BLI_string_joinN_4().
| #define _BLI_STRING_ARGS_5 _BLI_STRING_ARGS_4, const char *e |
Definition at line 218 of file BLI_string_utils.hh.
Referenced by blender::_BLI_string_join_7(), blender::_BLI_string_join_by_sep_char_8(), blender::_BLI_string_join_by_sep_charN_6(), and blender::_BLI_string_joinN_5().
| #define _BLI_STRING_ARGS_6 _BLI_STRING_ARGS_5, const char *f |
Definition at line 219 of file BLI_string_utils.hh.
Referenced by blender::_BLI_string_join_8(), blender::_BLI_string_join_by_sep_char_9(), blender::_BLI_string_join_by_sep_charN_7(), and blender::_BLI_string_joinN_6().
| #define _BLI_STRING_ARGS_7 _BLI_STRING_ARGS_6, const char *g |
Definition at line 220 of file BLI_string_utils.hh.
Referenced by blender::_BLI_string_join_9(), blender::_BLI_string_join_by_sep_char_10(), blender::_BLI_string_join_by_sep_charN_8(), and blender::_BLI_string_joinN_7().
| #define _BLI_STRING_ARGS_8 _BLI_STRING_ARGS_7, const char *h |
Definition at line 221 of file BLI_string_utils.hh.
Referenced by blender::_BLI_string_join_10(), blender::_BLI_string_join_by_sep_char_11(), blender::_BLI_string_join_by_sep_charN_9(), and blender::_BLI_string_joinN_8().
| #define _BLI_STRING_ARGS_9 _BLI_STRING_ARGS_8, const char *i |
Definition at line 222 of file BLI_string_utils.hh.
Referenced by blender::_BLI_string_join_11(), blender::_BLI_string_join_by_sep_char_12(), blender::_BLI_string_join_by_sep_charN_10(), and blender::_BLI_string_joinN_9().
| #define BLI_string_join | ( | ... | ) |
Definition at line 239 of file BLI_string_utils.hh.
Referenced by blender::BKE_modifier_type_panel_id(), blender::BKE_shaderfxType_panel_id(), blender::ui::bone_constraint_panel_id(), blender::current_relpath_append(), blender::ed_panel_draw(), blender::filelist_readjob_recursive_dir_add_items(), blender::filelist_readjob_remote_asset_library_index_read(), blender::seq::modifier_type_panel_id(), blender::ui::object_constraint_panel_id(), blender::print_error(), blender::tempdir_session_create(), and blender::version_switch_node_input_prefix().
| #define BLI_string_join_by_sep_char | ( | ... | ) |
Definition at line 401 of file BLI_string_utils.hh.
Referenced by blender::bpy_text_filepath_get().
| #define BLI_string_join_by_sep_char_with_tableN | ( | sep, | |
| table, | |||
| ... ) |
Definition at line 138 of file BLI_string_utils.hh.
| #define BLI_string_join_by_sep_charN | ( | ... | ) |
Definition at line 494 of file BLI_string_utils.hh.
Referenced by blender::pyrna_struct_anim_args_parse_no_resolve().
| #define BLI_string_joinN | ( | ... | ) |
Definition at line 317 of file BLI_string_utils.hh.
Referenced by blender::bli_builddir(), blender::fsmenu_insert_entry(), blender::pyrna_struct_anim_args_parse_no_resolve(), blender::reports_prepend_impl(), and blender::version_bone_hide_property_driver().