#pragma once #ifndef BLOBSTORE_IMPLEMENTATIONS_ONBLOCKS_BLOBONBLOCKS_H_ #define BLOBSTORE_IMPLEMENTATIONS_ONBLOCKS_BLOBONBLOCKS_H_ #include "../../interface/Blob.h" #include namespace blobstore { namespace onblocks { namespace datanodestore { class DataNode; } class BlobOnBlocks: public Blob { public: BlobOnBlocks(std::unique_ptr rootnode); virtual ~BlobOnBlocks(); size_t size() const override; void flush() const override; private: std::unique_ptr _rootnode; }; } } #endif