|
NX 1.0.3
niu2x's base c++ helper library
|
#include <nx/type.h>

类 | |
| class | nx::file_system::File |
| class | nx::file_system::Archive |
命名空间 | |
| namespace | nx |
| root namespace | |
| namespace | nx::file_system |
| file_system namespace | |
类型定义 | |
| using | nx::file_system::GlobCallback = Function< void(const String &path)> |
函数 | |
| NX_API bool | nx::file_system::is_directory (const String &path) |
| Determines whether the specified path is directory. | |
| NX_API bool | nx::file_system::is_file (const String &path) |
| Determines whether the specified path is file. | |
| NX_API bool | nx::file_system::exists (const String &path) |
| Determines whether the specified file exist | |
| NX_API bool | nx::file_system::make_dirs (const String &path) |
| NX_API String | nx::file_system::relative_path (const String &path, const String &base) |
| NX_API Vector< String > | nx::file_system::list_dir (const String &path) |
| NX_API String | nx::file_system::get_parent_path (const String &path) |
| Gets the parent path. | |
| NX_API String | nx::file_system::join_path (const String &dir, const String &path) |
| NX_API String | nx::file_system::get_file_name (const String &path) |
| Gets the file name. | |
| NX_API File & | nx::file_system::in () |
| get stdin file | |
| NX_API File & | nx::file_system::out () |
| get stdout file | |
| NX_API File & | nx::file_system::err () |
| get stderr file | |
| NX_API ReadAllResult | nx::file_system::read_file (const String &path) |
| NX_API UniquePtr< Archive > | nx::file_system::create_archive (const String &file_uri) |
| NX_API UniquePtr< Archive > | nx::file_system::create_zip_archive_from_memory (const void *buf, size_t len) |
| NX_API void | nx::file_system::glob (const String &directory, const String &glob_pattern, GlobCallback callback) |
| NX_API List< String > | nx::file_system::glob (const String &directory, const String &glob_pattern) |
变量 | |
| NX_API const char | nx::file_system::path_separator |