|
SDSL 3.0.1
Succinct Data Structure Library
|
#include <map>#include <mutex>#include <string>#include <vector>#include <sdsl/memory_tracking.hpp>#include <sdsl/uintx_t.hpp>Go to the source code of this file.
Namespaces | |
| namespace | sdsl |
| Namespace for the succinct data structure library. | |
| namespace | sdsl::ram_fs |
Functions | |
| bool | sdsl::ram_fs::exists (const std::string &name) |
| Check if the file exists. | |
| void | sdsl::ram_fs::store (const std::string &name, content_type data) |
| size_t | sdsl::ram_fs::file_size (const std::string &name) |
| Get the file size. | |
| content_type & | sdsl::ram_fs::content (const std::string &name) |
| Get the content. | |
| int | sdsl::ram_fs::remove (const std::string &name) |
Remove the file with key name | |
| int | sdsl::ram_fs::rename (const std::string old_filename, const std::string new_filename) |
Rename the file. Change key old_filename into new_filename. | |
| int | sdsl::ram_fs::open (const std::string &name) |
| Get fd for file. | |
| int | sdsl::ram_fs::close (const int fd) |
| Get fd for file. | |
| content_type & | sdsl::ram_fs::content (const int fd) |
| Get the content with fd. | |
| int | sdsl::ram_fs::truncate (const int fd, size_t new_size) |
| Get the content with fd. | |
| size_t | sdsl::ram_fs::file_size (const int fd) |
| Get the file size with fd. | |
| bool | sdsl::is_ram_file (const std::string &file) |
| Determines if the given file is a RAM-file. | |
| bool | sdsl::is_ram_file (const int fd) |
| Determines if the given file is a RAM-file. | |
| std::string | sdsl::ram_file_name (const std::string &file) |
| Returns the corresponding RAM-file name for file. | |
| std::string | sdsl::disk_file_name (const std::string &file) |
| Returns for a RAM-file the corresponding disk file name. | |
| int | sdsl::remove (const std::string &file) |
| Remove a file. | |
| int | sdsl::rename (const std::string &old_filename, const std::string &new_filename) |
| Rename a file. | |
Definition in file ram_fs.hpp.