refactoring: create indexes in StorageBackendXML 62/246362/2
authorAdrian Szyndela <adrian.s@samsung.com>
Mon, 19 Oct 2020 08:33:00 +0000 (10:33 +0200)
committerAdrian Szyndela <adrian.s@samsung.com>
Fri, 30 Oct 2020 11:47:35 +0000 (12:47 +0100)
commit2d5b17ac874f01acb92b522a109537e0607f68b2
treefe0b2ded4abc53733bf9e01e26264ff816eadd21
parentc6d04cb74ad879df4731acf9c6fc7b17d25ab865
refactoring: create indexes in StorageBackendXML

This moves creating of indexes from serializers to StorageBackendXML.
This way it's standardized, in a single place.
Serializers now serialize the indexes from the StorageBackendXML instead
of creating their own.

Change-Id: Ie2aec8a8cbace425f2e74c402cb99c25f21a27d1
Makefile.am
src/internal/policy_containers.cpp [new file with mode: 0644]
src/internal/policy_containers.hpp
src/internal/serializer_flatbuffers.cpp
src/internal/storage_backend_xml.cpp