libcryfs/implementations/onblocks/BlobOnBlocks.cpp

31 lines
477 B
C++
Raw Normal View History

2015-02-17 00:40:34 +01:00
#include "BlobOnBlocks.h"
2015-02-17 00:40:34 +01:00
#include "datanodestore/DataNode.h"
2014-12-09 17:56:48 +01:00
using std::unique_ptr;
namespace blobstore {
namespace onblocks {
using datanodestore::DataNode;
BlobOnBlocks::BlobOnBlocks(unique_ptr<DataNode> rootnode)
: _rootnode(std::move(rootnode)) {
2014-12-09 17:56:48 +01:00
}
BlobOnBlocks::~BlobOnBlocks() {
2014-12-09 17:56:48 +01:00
}
size_t BlobOnBlocks::size() const {
assert(false); //TODO Implement
//return _rootnode->numBytesInThisNode();
2014-12-09 17:56:48 +01:00
}
void BlobOnBlocks::flush() const {
_rootnode->flush();
}
}
}