libcryfs/implementations/onblocks/BlobOnBlocks.cpp
2015-02-17 00:40:34 +01:00

31 lines
477 B
C++

#include "BlobOnBlocks.h"
#include "datanodestore/DataNode.h"
using std::unique_ptr;
namespace blobstore {
namespace onblocks {
using datanodestore::DataNode;
BlobOnBlocks::BlobOnBlocks(unique_ptr<DataNode> rootnode)
: _rootnode(std::move(rootnode)) {
}
BlobOnBlocks::~BlobOnBlocks() {
}
size_t BlobOnBlocks::size() const {
assert(false); //TODO Implement
//return _rootnode->numBytesInThisNode();
}
void BlobOnBlocks::flush() const {
_rootnode->flush();
}
}
}