DiaDes
0.1
DIAgnosis of Discrete-Event System
|
Public Member Functions | |
virtual bool | isLeaf () const =0 |
template<typename NodeIterator > | |
bool | getLeaf (NodeIterator begin, NodeIterator end, Leaf &result) const |
Abstract class. Any part of the tree (Branch or Leaf) is a TreeElement
Definition at line 43 of file NAryTree.hh.
|
inline |
begin | the starting iterator over a range of Nodes |
end | the ending iterator over a range of Nodes |
result | the Leaf that is associated to the nodes'range if it exists, undetermined otherwise |
Definition at line 61 of file NAryTree.hh.
References Diades::Utils::NAryTree< Node, Leaf, _Map >::TreeBranches::find(), and Diades::Utils::NAryTree< Node, Leaf, _Map >::TreeElement::isLeaf().
|
pure virtual |
Implemented in Diades::Utils::NAryTree< Node, Leaf, _Map >::TreeBranches, and Diades::Utils::NAryTree< Node, Leaf, _Map >::TreeLeaf.
Referenced by Diades::Utils::NAryTree< Node, Leaf, _Map >::TreeElement::getLeaf().