6#include <QtCore/QByteArray>
63 const QByteArray& comment,
66 bool isTagSkippingUsed =
false);
71 const QByteArray&
GetId()
const;
103 QByteArray m_comment;
108 bool m_isTagSkippingUsed;
116 return m_isTagSkippingUsed;
Process tag used to group data in archive stream.
TagType GetTagType() const
Get type of this tag.
const QByteArray & GetId() const
Get ID of this tag.
TagType
Describe type of tag.
@ TT_GROUP
Normal tag used for grouping of tags or processed elements.
@ TT_LEAF
Leaf tag, it can contain only one primitive element.
@ TT_WEAK
Weak group tag, if possible it will be not outputted.
@ TT_UNKNOWN
Unknown type of tag.
@ TT_MULTIPLE
Multiple tag containing variable number of child tags.
CArchiveTag(const QByteArray &id, const QByteArray &comment, TagType tagType=TT_UNKNOWN, const CArchiveTag *parentPtr=NULL, bool isTagSkippingUsed=false)
Constructor with parameter initialization.
quint32 GetBinaryId() const
Get automatic generated binary ID.
const QByteArray & GetComment() const
Get comment of this tag.
bool IsTagSkippingUsed() const
Check if it is needed to support tag skipping for this tag.
const CArchiveTag * GetParentTag() const
Get tag beeing parent of this.
Contains general persistence mechanism with basic archives implementations.