HDK
|
#include <HUSD_ModifyPaths.h>
Public Member Functions | |
HUSD_ModifyPaths (HUSD_AutoWriteLock &lock) | |
~HUSD_ModifyPaths () | |
bool | modifyPaths (const HUSD_FindPrims &findprims, const UT_StringArray &findprefix, const UT_StringArray &replaceprefix, const UT_StringArray &findsuffix, const UT_StringArray &replacesuffix, const UT_StringArray &pythoncode, PY_EvaluationContext *pycontext, bool modifyassetpaths, bool modifylayerpaths, bool allowchained) const |
Static Public Member Functions | |
static bool | modifyPath (UT_StringHolder &result, const UT_Array< UT_Regex > &prefixregex, const UT_StringArray &replaceprefix, const UT_Array< UT_Regex > &suffixregex, const UT_StringArray &replacesuffix, const UT_Array< UT_SharedPtr< PY_CompiledCode >> &pythonexpr, PY_EvaluationContext *pycontext, bool allowchained, UT_WorkBuffer *pythonerrors) |
Definition at line 31 of file HUSD_ModifyPaths.h.
HUSD_ModifyPaths::HUSD_ModifyPaths | ( | HUSD_AutoWriteLock & | lock | ) |
HUSD_ModifyPaths::~HUSD_ModifyPaths | ( | ) |
|
static |
bool HUSD_ModifyPaths::modifyPaths | ( | const HUSD_FindPrims & | findprims, |
const UT_StringArray & | findprefix, | ||
const UT_StringArray & | replaceprefix, | ||
const UT_StringArray & | findsuffix, | ||
const UT_StringArray & | replacesuffix, | ||
const UT_StringArray & | pythoncode, | ||
PY_EvaluationContext * | pycontext, | ||
bool | modifyassetpaths, | ||
bool | modifylayerpaths, | ||
bool | allowchained | ||
) | const |