6#include <QtCore/QObject>
7#include <QtTest/QtTest>
24 bool retVal = archive.
BeginTag(typeTag);
26 retVal = retVal && archive.
EndTag(typeTag);
42 void ParamsSetSerializeTest();
43 void ObjectContainerSerializeTest();
45 void InvalidReadStateTest();
50 QByteArray m_buffer =
"";
51 const QByteArray m_id =
"12345678";
bool Serialize(iser::IArchive &archive) override
Load or store state of this object as a archive stream.
Process tag used to group data in archive stream.
Represents an input/output persistence archive for object serialization.
virtual bool Process(bool &value)=0
Processes (reads or writes) a boolean value.
virtual bool EndTag(const CArchiveTag &tag)=0
Ends a tagged section in the archive.
virtual bool BeginTag(const CArchiveTag &tag)=0
Begins a tagged section in the archive.
Common class for all classes which objects can be archived or restored from archive.