Blender V2.61 - r43446
|
Go to the source code of this file.
Functions | |
CCL_NAMESPACE_BEGIN void | path_init (const string &path="", const string &user_path="") |
string | path_get (const string &sub="") |
string | path_user_get (const string &sub="") |
string | path_filename (const string &path) |
string | path_dirname (const string &path) |
string | path_join (const string &dir, const string &file) |
string | path_escape (const string &path) |
bool | path_exists (const string &path) |
string | path_files_md5_hash (const string &dir) |
void | path_create_directories (const string &path) |
bool | path_write_binary (const string &path, const vector< uint8_t > &binary) |
bool | path_read_binary (const string &path, vector< uint8_t > &binary) |
string | path_source_replace_includes (const string &source, const string &path) |
void path_create_directories | ( | const string & | path | ) |
Definition at line 117 of file util_path.cpp.
References path_dirname().
Referenced by CUDADevice::compile_kernel(), Cache::insert(), and path_write_binary().
string path_dirname | ( | const string & | path | ) |
Definition at line 66 of file util_path.cpp.
Referenced by blender_absolute_path(), path_create_directories(), path_get(), path_source_replace_includes(), path_user_get(), xml_read_file(), and xml_read_include().
string path_escape | ( | const string & | path | ) |
Definition at line 76 of file util_path.cpp.
bool path_exists | ( | const string & | path | ) |
Definition at line 83 of file util_path.cpp.
Referenced by CUDADevice::compile_kernel(), cuCompilerPath(), and path_read_text().
string path_filename | ( | const string & | path | ) |
Definition at line 61 of file util_path.cpp.
Referenced by ImageManager::device_update(), main(), and xml_read_file().
string path_files_md5_hash | ( | const string & | dir | ) |
Definition at line 107 of file util_path.cpp.
References MD5Hash::get_hex(), hash, and path_files_md5_hash_recursive().
Referenced by CUDADevice::compile_kernel().
string path_get | ( | const string & | sub = "" | ) |
Definition at line 45 of file util_path.cpp.
References cached_path, path_dirname(), and path_join().
Referenced by CUDADevice::compile_kernel().
CCL_NAMESPACE_BEGIN void path_init | ( | const string & | path = "" , |
const string & | user_path = "" |
||
) |
Definition at line 39 of file util_path.cpp.
References cached_path, and cached_user_path.
Referenced by init_func(), and main().
string path_join | ( | const string & | dir, |
const string & | file | ||
) |
Definition at line 71 of file util_path.cpp.
Referenced by blender_absolute_path(), CUDADevice::compile_kernel(), cuCompilerPath(), Cache::data_filename(), path_get(), path_source_replace_includes(), path_user_get(), xml_read_include(), and xml_read_shader_graph().
bool path_read_binary | ( | const string & | path, |
vector< uint8_t > & | binary | ||
) |
Definition at line 140 of file util_path.cpp.
Referenced by path_read_text().
string path_source_replace_includes | ( | const string & | source, |
const string & | path | ||
) |
Definition at line 179 of file util_path.cpp.
References path_dirname(), path_join(), path_read_text(), and path_source_replace_includes().
Referenced by path_source_replace_includes().
string path_user_get | ( | const string & | sub = "" | ) |
Definition at line 53 of file util_path.cpp.
References cached_user_path, path_dirname(), and path_join().
Referenced by Cache::clear_except(), CUDADevice::compile_kernel(), and Cache::data_filename().
bool path_write_binary | ( | const string & | path, |
const vector< uint8_t > & | binary | ||
) |
Definition at line 122 of file util_path.cpp.
References path_create_directories().