SDSL 3.0.3
Succinct Data Structure Library
|
Typedefs | |
typedef std::vector< char, track_allocator< char > > | content_type |
Functions | |
bool | exists (std::string const &name) |
Check if the file exists. | |
void | store (std::string const &name, content_type data) |
size_t | file_size (std::string const &name) |
Get the file size. | |
content_type & | content (std::string const &name) |
Get the content. | |
int | remove (std::string const &name) |
Remove the file with key name | |
int | rename (const std::string old_filename, const std::string new_filename) |
Rename the file. Change key old_filename into new_filename . | |
int | open (std::string const &name) |
Get fd for file. | |
int | close (int const fd) |
Get fd for file. | |
content_type & | content (int const fd) |
Get the content with fd. | |
int | truncate (int const fd, size_t new_size) |
Get the content with fd. | |
size_t | file_size (int const fd) |
Get the file size with fd. | |
typedef std::vector<char, track_allocator<char> > sdsl::ram_fs::content_type |
Definition at line 117 of file memory_tracking.hpp.
|
inline |
Get fd for file.
Definition at line 122 of file ram_fs.hpp.
|
inline |
Get the content with fd.
Definition at line 141 of file ram_fs.hpp.
|
inline |
Get the content.
Definition at line 67 of file ram_fs.hpp.
|
inline |
Check if the file exists.
Definition at line 29 of file ram_fs.hpp.
|
inline |
Get the file size with fd.
Definition at line 163 of file ram_fs.hpp.
|
inline |
Get the file size.
Definition at line 52 of file ram_fs.hpp.
|
inline |
Get fd for file.
Definition at line 97 of file ram_fs.hpp.
|
inline |
Remove the file with key name
Definition at line 75 of file ram_fs.hpp.
|
inline |
Rename the file. Change key old_filename
into new_filename
.
Definition at line 87 of file ram_fs.hpp.
|
inline |
Definition at line 36 of file ram_fs.hpp.
|
inline |
Get the content with fd.
Definition at line 150 of file ram_fs.hpp.