1
0
Fork 0
forked from blue/lmdbal

big refactoring part 1

This commit is contained in:
Blue 2023-03-20 18:37:13 +03:00
parent 6a8f67ac34
commit 19229f6c26
Signed by untrusted user: blue
GPG key ID: 9B203B252A63EE38
28 changed files with 867 additions and 795 deletions

View file

@ -14,8 +14,8 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef CORE_DATABASE_SERIALIZER_H
#define CORE_DATABASE_SERIALIZER_H
#ifndef LMDBDATABASE_SERIALIZER_H
#define LMDBDATABASE_SERIALIZER_H
#include <cstring>
@ -25,9 +25,10 @@
#include "database.h"
namespace LMDBDataBase {
template<class T>
class DataBase::Serializer
{
class Serializer {
public:
Serializer();
Serializer(const T& value);
@ -48,6 +49,8 @@ private:
QDataStream stream;
};
}
#include "serializer.hpp"
#include "serializer_uint64.hpp"
#include "serializer_uint32.hpp"
@ -63,4 +66,4 @@ private:
#include "serializer_qstring.hpp"
#include "serializer_qbytearray.hpp"
#endif // CORE_DATABASE_SERIALIZER_H
#endif // LMDBDATABASE_SERIALIZER_H