13#include <OpenImageIO/string_view.h>
22using OIIO::string_view;
25# define PRINTF_ATTRIBUTE __attribute__((format(printf, 1, 2)))
27# define PRINTF_ATTRIBUTE
35 const
string &separators = "\t ",
36 bool skip_empty_tokens =
true);
37void string_replace(
string &haystack, const
string &needle, const
string &other);
44string to_string(const
char *
str);
45string to_string(const float4 &
v);
57wstring string_to_wstring(
const string &path);
58string string_from_wstring(
const wstring &path);
59string string_to_ansi(
const string &
str);
ATTR_WARN_UNUSED_RESULT const BMVert * v
local_group_size(16, 16) .push_constant(Type b
#define CCL_NAMESPACE_END
string string_remove_trademark(const string &s)
string string_printf(const char *format,...) PRINTF_ATTRIBUTE
string string_from_bool(const bool var)
string string_human_readable_size(size_t size)
bool string_iequals(const string &a, const string &b)
void string_split(vector< string > &tokens, const string &str, const string &separators="\t ", bool skip_empty_tokens=true)
bool string_endswith(string_view s, string_view end)
string string_strip(const string &s)
bool string_startswith(string_view s, string_view start)
string string_human_readable_number(size_t num)
void string_replace_same_length(string &haystack, const string &needle, const string &other)
void string_replace(string &haystack, const string &needle, const string &other)
string string_to_lower(const string &s)