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. More... | |
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. More... | |
content_type & | sdsl::ram_fs::content (const std::string &name) |
Get the content. More... | |
int | sdsl::ram_fs::remove (const std::string &name) |
Remove the file with key name More... | |
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 . More... | |
int | sdsl::ram_fs::open (const std::string &name) |
Get fd for file. More... | |
int | sdsl::ram_fs::close (const int fd) |
Get fd for file. More... | |
content_type & | sdsl::ram_fs::content (const int fd) |
Get the content with fd. More... | |
int | sdsl::ram_fs::truncate (const int fd, size_t new_size) |
Get the content with fd. More... | |
size_t | sdsl::ram_fs::file_size (const int fd) |
Get the file size with fd. More... | |
bool | sdsl::is_ram_file (const std::string &file) |
Determines if the given file is a RAM-file. More... | |
bool | sdsl::is_ram_file (const int fd) |
Determines if the given file is a RAM-file. More... | |
std::string | sdsl::ram_file_name (const std::string &file) |
Returns the corresponding RAM-file name for file. More... | |
std::string | sdsl::disk_file_name (const std::string &file) |
Returns for a RAM-file the corresponding disk file name. More... | |
int | sdsl::remove (const std::string &file) |
Remove a file. More... | |
int | sdsl::rename (const std::string &old_filename, const std::string &new_filename) |
Rename a file. More... | |
Definition in file ram_fs.hpp.