13#include <OpenImageIO/string_view.h>
25using OIIO::string_view;
28# define PRINTF_ATTRIBUTE __attribute__((format(printf, 1, 2)))
30# define PRINTF_ATTRIBUTE
38 const
string &separators =
"\t ",
39 bool skip_empty_tokens = true);
40void string_replace(
string &haystack, const
string &needle, const
string &other);
65string string_to_ansi(
const string &
str);
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
#define CCL_NAMESPACE_END
string string_from_wstring(const wstring &str)
string string_remove_trademark(const string &s)
wstring string_to_wstring(const string &str)
string string_from_bool(bool var)
string string_human_readable_size(size_t size)
bool string_iequals(const string &a, const string &b)
string string_strip(const string &s)
string to_string(const char *str)
string string_hex(const uint8_t *data, const size_t size)
string string_human_readable_number(size_t num)
bool string_startswith(const string_view s, const string_view start)
CCL_NAMESPACE_BEGIN string string_printf(const char *format,...)
void string_replace_same_length(string &haystack, const string &needle, const string &other)
void string_split(vector< string > &tokens, const string &str, const string &separators, bool skip_empty_tokens)
void string_replace(string &haystack, const string &needle, const string &other)
string string_remove_gpu_from_cpu_name(const string &s)
bool string_endswith(const string_view s, const string_view end)
string string_to_lower(const string &s)