2014-12-09 17:45:33 +01:00
|
|
|
#pragma once
|
|
|
|
#ifndef BLOBSTORE_INTERFACE_BLOB_H_
|
|
|
|
#define BLOBSTORE_INTERFACE_BLOB_H_
|
|
|
|
|
|
|
|
#include <cstring>
|
|
|
|
|
|
|
|
namespace blobstore {
|
|
|
|
|
|
|
|
class Blob {
|
|
|
|
public:
|
|
|
|
virtual ~Blob() {}
|
|
|
|
|
|
|
|
virtual size_t size() const = 0;
|
2015-01-28 01:02:32 +01:00
|
|
|
|
|
|
|
virtual void flush() const = 0;
|
2014-12-09 17:45:33 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|