Make StorageSerializer a template class 19/33519/28
authorPawel Wieczorek <p.wieczorek2@samsung.com>
Mon, 12 Jan 2015 14:01:54 +0000 (15:01 +0100)
committerPawel Wieczorek <p.wieczorek2@samsung.com>
Wed, 4 Mar 2015 10:28:25 +0000 (11:28 +0100)
commit58d92c8f005be204b6d0cb990d8276aed1f3b76a
treee22548a949c39c9595cfa6928c7f7b91e4664f0f
parent9f0e503b603acb3bcb7dfedd6fd27216070e6be7
Make StorageSerializer a template class

This patch modifies StorageSerializer so that it will be able to use
other streams than std::ostream and its derivatives. Within current
class hierarchy custom output streams with overloaded insertion operator
(operator<<) cannot be used, as it is non-virtual in std::ostream.

Change-Id: I3e713329c55aacfbb8daa23a5c4579d4c5db9f52
src/storage/CMakeLists.txt
src/storage/InMemoryStorageBackend.cpp
src/storage/InMemoryStorageBackend.h
src/storage/StorageSerializer.cpp [deleted file]
src/storage/StorageSerializer.h
test/CMakeLists.txt
test/storage/serializer/dump.cpp
test/storage/serializer/dump_load.cpp
test/storage/serializer/serialize.cpp