34 #ifndef _SIMPLEFILESTORAGE_HH_
35 #define _SIMPLEFILESTORAGE_HH_
48 void update(
const char* data, r_Bytes size,
int BlobId)
throw (r_Error);
50 virtual void insert(
const char* data, r_Bytes size,
int BlobId)
throw (r_Error);
52 virtual void retrieve(
int BlobId,
char** data, r_Bytes* size)
throw (r_Error);
54 virtual void remove(
int BlobId)
throw (r_Error);
61 void getPath(
int BlobId, std::vector<std::string>* path);
63 void getPath(
int BlobId, std::string* path);
64 std::string root_path;
68 #endif // _SIMPLEFILESTORAGE_HH_
SimpleFileStorage(const std::string &storage_path)
virtual void retrieve(int BlobId, char **data, r_Bytes *size)
virtual ~SimpleFileStorage()
Definition: simplefilestorage.hh:43
Definition: ifilestorage.hh:44
void update(const char *data, r_Bytes size, int BlobId)
virtual void insert(const char *data, r_Bytes size, int BlobId)