|
| | NodeEntry () |
| | Constructs a new node entry.
|
| |
| | NodeEntry (const std::string &label, NodeEntry *parent=nullptr) |
| | Constructs a new node entry with the specified label and parent.
|
| |
| | NodeEntry (std::istream &stream) |
| | Constructs a new node entry which is deserialized from the specified stream.
|
| |
| | NodeEntry (const NodeEntry &other) |
| | Constructs a copy of the another entry.
|
| |
| | ~NodeEntry () override |
| | Destroys the entry.
|
| |
| EntryType | type () const override |
| | Returns the type of the entry.
|
| |
| const std::vector< Entry * > & | children () const |
| |
| void | deleteChildren (int begin, int end) |
| | Deletes children from the node entry.
|
| |
| void | replaceChild (std::size_t at, Entry *newChild) |
| | Replaces the child at the specified index with the specified newChild.
|
| |
| Entry * | entryByPath (std::list< std::string > &path, bool includeThis=true, const EntryType *creationType=nullptr) |
| | Returns an entry specified by the provided path.
|
| |
| bool | isExpandedByDefault () const |
| |
| void | setExpandedByDefault (bool expandedByDefault) |
| |
| void | make (std::ostream &stream) const override |
| | Serializes the entry to the specified stream.
|
| |
| NodeEntry * | clone () const override |
| | Clones the entry.
|
| |
| void | accumulateStatistics (EntryStatistics &stats) const override |
| | Accumulates the statistics for this node entry and its children.
|
| |
| virtual | ~Entry () |
| | Destroys the entry.
|
| |
| Entry & | operator= (const Entry &other)=delete |
| |
| const std::string & | label () const |
| | Returns the label.
|
| |
| void | setLabel (const std::string &label) |
| | Sets the label.
|
| |
| void | makeLabelUnique () |
| | Internally called to make the entry's label unique within the parent.
|
| |
| NodeEntry * | parent () const |
| | Returns the parent entry.
|
| |
| void | setParent (NodeEntry *parent, int index=-1) |
| | Sets the parent for the entry.
|
| |
| int | index () const |
| | Returns the index of the entry within its parent.
|
| |
| bool | isIndirectChildOf (const NodeEntry *entry) const |
| | Returns an indication whether the instance is an indirect child of the specified entry.
|
| |
| std::list< std::string > | path () const |
| | Returns the path of the entry.
|
| |
| void | path (std::list< std::string > &res) const |
| | Stores to path of the entry in the specified list of string.
|
| |
| EntryStatistics | computeStatistics () const |
| | Computes statistics for this entry.
|
| |
The NodeEntry class acts as parent for other entries.
Definition at line 114 of file entry.h.