|
SDSL 3.0.3
Succinct Data Structure Library
|
#include <cstdio>#include <iterator>#include <map>#include <mutex>#include <string>#include <type_traits>#include <utility>#include <vector>#include <sdsl/memory_tracking.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 (std::string const &name) |
| Check if the file exists. | |
| void | sdsl::ram_fs::store (std::string const &name, content_type data) |
| size_t | sdsl::ram_fs::file_size (std::string const &name) |
| Get the file size. | |
| content_type & | sdsl::ram_fs::content (std::string const &name) |
| Get the content. | |
| int | sdsl::ram_fs::remove (std::string const &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 (std::string const &name) |
| Get fd for file. | |
| int | sdsl::ram_fs::close (int const fd) |
| Get fd for file. | |
| content_type & | sdsl::ram_fs::content (int const fd) |
| Get the content with fd. | |
| int | sdsl::ram_fs::truncate (int const fd, size_t new_size) |
| Get the content with fd. | |
| size_t | sdsl::ram_fs::file_size (int const fd) |
| Get the file size with fd. | |
| bool | sdsl::is_ram_file (std::string const &file) |
| Determines if the given file is a RAM-file. | |
| bool | sdsl::is_ram_file (int const fd) |
| Determines if the given file is a RAM-file. | |
| std::string | sdsl::ram_file_name (std::string const &file) |
| Returns the corresponding RAM-file name for file. | |
| std::string | sdsl::disk_file_name (std::string const &file) |
| Returns for a RAM-file the corresponding disk file name. | |
| int | sdsl::remove (std::string const &file) |
| Remove a file. | |
| int | sdsl::rename (std::string const &old_filename, std::string const &new_filename) |
| Rename a file. | |
Definition in file ram_fs.hpp.