Local storage. More...
#include <LocalStorage.h>
Public Member Functions | |
| LocalStorage (const string &dir) | |
| bool | put (const string &filename) const |
| bool | get (const string &filename) const |
Local storage.
| LocalStorage::LocalStorage | ( | const string & | dir | ) | [inline] |
| dir | The path of the local storage |
| bool LocalStorage::get | ( | const string & | filename | ) | const [virtual] |
Get a file from the storage
| filename | The filename |
Implements Storage.
| bool LocalStorage::put | ( | const string & | filename | ) | const [virtual] |
Put a file to the storage
| filename | The filename |
Implements Storage.
1.6.1