10 #define __HOM_text_h__
28 bool expand_tilde =
true) = 0;
29 virtual std::string expandStringAtFrame(
const char *str,
double frame,
30 bool expand_tilde =
true) = 0;
31 virtual std::string expandHuskFilePath(
const char *str,
32 double frame_start = 1.0,
33 double frame_inc = 1.0,
34 int frame_idx = 0) = 0;
35 virtual std::string incrementNumberedString(
const char *str) = 0;
40 virtual std::string encode(
const char *varname) = 0;
41 virtual std::string decode(
const char *varname) = 0;
42 virtual std::string encodeAttrib(
const char *attribname) = 0;
43 virtual std::string decodeAttrib(
const char *attribname) = 0;
44 virtual std::string encodeParm(
const char *parmname) = 0;
45 virtual std::string decodeParm(
const char *parmname) = 0;
47 virtual std::string _obfuscate(
const char *text) = 0;
48 virtual std::string _deobfuscate(
const char *text) = 0;
51 virtual std::string alphaNumeric(
const char *str) = 0;
57 const char *safe_chars =
nullptr) = 0;
62 const char *anchor_path =
nullptr) = 0;
65 const char *anchor_path =
nullptr) = 0;
70 SWIGOUT(%kwargs collapseCommonVars;)
72 const std::vector<std::string> &vars =
73 std::vector<std::string>()) = 0;
77 virtual std::vector<std::map<std::string,hboost::any> > oclExtractBindings(
const char *code) = 0;
81 virtual bool patternMatch(
const char *
pattern,
const char* str,
bool ignore_case=
false,
bool path_match=
false) = 0;
std::string ignore_case(std::string item)
Helper function to allow ignore_case to be passed to IsMember or Transform.
GLsizei const GLchar *const * string
GLsizei const GLchar *const * path
string __repr__(VtArray< T > const &self)
std::string OIIO_UTIL_API replace(string_view str, string_view pattern, string_view replacement, bool global=false)
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
FMT_CONSTEXPR auto find(Ptr first, Ptr last, T value, Ptr &out) -> bool