The NodeEntry class acts as parent for other entries.
EntryType type() const override
Returns the type of the entry.
NodeEntry * parent() const
Returns the parent entry.
static constexpr EntryType denotedEntryType(std::uint8_t version)
const std::vector< Entry * > & children() const
bool isExpandedByDefault() const
const std::string & label() const
Returns the label.
EntryStatistics computeStatistics() const
Computes statistics for this entry.
Instances of the Entry class form a hierarchic data strucutre used to store account information.
void setExpandedByDefault(bool expandedByDefault)
const std::vector< Field > & fields() const
int index() const
Returns the index of the entry within its parent.
EntryType type() const override
Returns the type of the entry.
std::string m_extendedData
void makeLabelUnique()
Internally called to make the entry's label unique within the parent.
static bool denotesNodeEntry(std::uint8_t version)
virtual void accumulateStatistics(EntryStatistics &stats) const =0
The exception that is thrown when a parsing error occurs.
void setLabel(const std::string &label)
Sets the label.