HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_Package::utils Namespace Reference

Classes

struct  Factory
 
class  HVersion
 
class  PYVersion
 
class  HPlatformBuildVersion
 
class  Value
 
class  Logger
 

Functions

UT_API bool buildVarDependency (UT_StringHolder const &var_name, const char *var_value, UT_StringArray &unset_vars, UT_StringMap< UT_StringSet > &vars_dep_map, UT_StringMap< UT_StringSet > &vars_circ_dep)
 
UT_API UT_StringHolder expandVar (const char *arg, bool want_marker)
 
UT_API UT_StringHolder makeVarRefPlatform (const char *var)
 
UT_API bool isCmdShell ()
 
UT_API const char * pathSepShell ()
 
UT_API void normalizeEnvVarPath (UT_String &file_path, bool want_marker=false, bool always_want_expanded_path=false)
 
UT_API void normalizePath (UT_String &file_path, bool want_marker=false, bool always_want_expanded_path=false)
 
UT_API void normalizePath (UT_StringHolder &file_path, bool want_marker=false, bool always_want_expanded_path=false)
 
UT_API UT_StringHolder cnormalizePath (UT_StringHolder const &file_path, bool want_marker=false, bool always_want_expanded_path=false)
 

Variables

constexpr UT_StringLit klog_error = "ERROR"
 
constexpr UT_StringLit klog_info = "INFO"
 
constexpr UT_StringLit klog_warning = "WARNING"
 
constexpr exint NO_VALUE = SYS_INT64_MAX
 

Function Documentation

UT_API bool UT_Package::utils::buildVarDependency ( UT_StringHolder const &  var_name,
const char *  var_value,
UT_StringArray unset_vars,
UT_StringMap< UT_StringSet > &  vars_dep_map,
UT_StringMap< UT_StringSet > &  vars_circ_dep 
)
UT_API UT_StringHolder UT_Package::utils::cnormalizePath ( UT_StringHolder const &  file_path,
bool  want_marker = false,
bool  always_want_expanded_path = false 
)
UT_API UT_StringHolder UT_Package::utils::expandVar ( const char *  arg,
bool  want_marker 
)
UT_API bool UT_Package::utils::isCmdShell ( )
UT_API UT_StringHolder UT_Package::utils::makeVarRefPlatform ( const char *  var)
UT_API void UT_Package::utils::normalizeEnvVarPath ( UT_String file_path,
bool  want_marker = false,
bool  always_want_expanded_path = false 
)
UT_API void UT_Package::utils::normalizePath ( UT_String file_path,
bool  want_marker = false,
bool  always_want_expanded_path = false 
)
UT_API void UT_Package::utils::normalizePath ( UT_StringHolder file_path,
bool  want_marker = false,
bool  always_want_expanded_path = false 
)
UT_API const char* UT_Package::utils::pathSepShell ( )

Variable Documentation

constexpr UT_StringLit UT_Package::utils::klog_error = "ERROR"

Definition at line 43 of file UT_PackageUtils.h.

constexpr UT_StringLit UT_Package::utils::klog_info = "INFO"

Definition at line 44 of file UT_PackageUtils.h.

constexpr UT_StringLit UT_Package::utils::klog_warning = "WARNING"

Definition at line 45 of file UT_PackageUtils.h.

constexpr exint UT_Package::utils::NO_VALUE = SYS_INT64_MAX

Definition at line 46 of file UT_PackageUtils.h.