Sebastian Messmer
5c9cc509d7
Make classes final if they're not meant to be derived from
2015-11-27 14:06:40 +01:00
Sebastian Meßmer
821550e62f
Unify (and fix) include guards
2015-10-15 13:09:21 +02:00
Sebastian Messmer
0e1ec6829a
Added assert
2015-10-14 14:40:53 +02:00
Sebastian Messmer
fd93e4c199
Use the new assert that doesn't crash the program in a release build
2015-07-22 13:42:07 +02:00
Sebastian Messmer
37bdbd907a
Finished migrating to unique_ref instead of unique_ptr
2015-07-21 18:19:34 +02:00
Sebastian Messmer
7c407c4b69
Switched whole blockstore interface to unique_ref instead of unique_ptr
2015-07-21 14:50:52 +02:00
Sebastian Messmer
a945e4f0fc
Changed Blockstore::tryCreate() to return optional<unique_ref<Block>> instead of unique_ptr<Block>
2015-07-20 18:57:48 +02:00
Sebastian Messmer
dc15ac22ca
Use optional::value() instead of optional::get()
2015-06-28 17:01:50 +02:00
Sebastian Messmer
db2b39d4ab
ParallelAccessBlockStore uses unique_ref for its base block store
2015-06-26 15:54:19 +02:00
Sebastian Messmer
de37cddcce
Replace unique_ptr with unique_ref in ParallelAccessBlockStore
2015-06-26 13:45:03 +02:00
Sebastian Messmer
c755717898
Adapt to new cpp-utils
2015-06-21 17:43:31 +02:00
Sebastian Messmer
2110831374
Make constructors explicit where adequate
2015-04-27 18:20:51 +02:00
Sebastian Messmer
59bfddc18f
Moved Data, FixedSizeData and DataBlockFixture to cpp-utils
2015-04-25 02:48:41 +02:00
Sebastian Meßmer
417a701636
- BlockStore::create() gets the data of the new block as a parameter
...
- Fixed numBlocks() in OnDiskBlockStore, FakeBlockStore, CachingBlockStore, ...
- CachingBlockStore caches created blocks and doesn't directly create them in the underlying blockstore
2015-04-18 14:47:12 +02:00
Sebastian Messmer
b41853cd00
Fix renaming
2015-04-16 15:01:59 +02:00
Sebastian Messmer
a555985b2c
Adapt to renaming of CachingStore -> ParallelAccessStore
2015-04-16 14:54:04 +02:00
Sebastian Messmer
248fd0f5cc
Renamed old CachingBlockStore to ParallelAccessBlockStore
2015-04-16 13:59:52 +02:00