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  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

const UT_StringHolder klog_error = "ERROR"
 
const UT_StringHolder klog_info = "INFO"
 
const UT_StringHolder klog_warning = "WARNING"
 

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

const UT_StringHolder UT_Package::utils::klog_error = "ERROR"

Definition at line 35 of file UT_PackageUtils.h.

const UT_StringHolder UT_Package::utils::klog_info = "INFO"

Definition at line 36 of file UT_PackageUtils.h.

const UT_StringHolder UT_Package::utils::klog_warning = "WARNING"

Definition at line 37 of file UT_PackageUtils.h.