37 const QString& organizationName,
38 const QString& applicationName,
39 const QString& rootKey,
40 QSettings::Scope settingsScope = QSettings::UserScope,
49 std::function<
bool(
int)> resizeFn =
nullptr)
override;
55 std::function<
bool(
int)> resizeFn =
nullptr)
override;
Basic implementation for an archive used Qt settings implementation as persistence medium.
Write archive implementation for serialization based on QSettings.
bool ProcessLeaf(const iser::CArchiveTag &tag, QString &value) override
Process primitive type.
iser::CTextWriteArchiveBase BaseClass
bool ProcessGroupList(const iser::CArchiveTag &listTag, const iser::CArchiveTag &groupTag, int count, std::function< bool(int, iser::IArchive &)> groupArchiveFn, std::function< bool(int)> resizeFn=nullptr) override
Process list of elements in groups.
CSettingsWriteArchive(const QString &organizationName, const QString &applicationName, const QString &rootKey, QSettings::Scope settingsScope=QSettings::UserScope, const iser::IVersionInfo *versionInfoPtr=nullptr)
Constructor.
virtual bool EndTag(const iser::CArchiveTag &tag)
End of archive tag.
ifile::CSettingsArchiveBase BaseClass2
virtual bool BeginTag(const iser::CArchiveTag &tag)
Begin of archive tag.
virtual bool BeginMultiTag(const iser::CArchiveTag &tag, const iser::CArchiveTag &subTag, int &count)
bool ProcessAnyList(const iser::CArchiveTag &listTag, const iser::CArchiveTag &subTag, int count, std::function< bool(int, iser::IArchive &)> iterArchiveFn, std::function< bool(int)> resizeFn=nullptr) override
Process some list of elements.
bool WriteTextNode(const QByteArray &text)
Write single unformatted text node.
Process tag used to group data in archive stream.
Common archive implementation of text-based storing archives.
bool ProcessLeaf(const CArchiveTag &tag, bool &value) override
Process primitive type.
Represent input/output persistence archive.
Provides access to version information.
Contains interfaces and implementations of file system related components.