The simple implementation of LevelBase interface. More...
#include <ogdf/layered/BlockOrder.h>
Inheritance diagram for ogdf::ArrayLevel:Public Member Functions | |
| ArrayLevel (const Array< node > &nodes) | |
| ArrayLevel (unsigned int size) | |
| int | high () const override |
| Returns the maximal array index (= size()-1). | |
| const node & | operator[] (int i) const override |
Returns the node at position i. | |
| node & | operator[] (int i) override |
Returns the node at position i. | |
| int | size () const override |
| Returns the number of nodes on this level. | |
Public Member Functions inherited from ogdf::LevelBase | |
| virtual | ~LevelBase () |
Private Attributes | |
| Array< node > | m_nodes |
The simple implementation of LevelBase interface.
Definition at line 44 of file BlockOrder.h.
|
inlineexplicit |
Definition at line 49 of file BlockOrder.h.
Definition at line 51 of file BlockOrder.h.
|
inlineoverridevirtual |
Returns the maximal array index (= size()-1).
Implements ogdf::LevelBase.
Definition at line 59 of file BlockOrder.h.
|
inlineoverridevirtual |
Returns the node at position i.
Implements ogdf::LevelBase.
Definition at line 53 of file BlockOrder.h.
|
inlineoverridevirtual |
Returns the node at position i.
Implements ogdf::LevelBase.
Definition at line 55 of file BlockOrder.h.
|
inlineoverridevirtual |
Returns the number of nodes on this level.
Implements ogdf::LevelBase.
Definition at line 57 of file BlockOrder.h.
Definition at line 46 of file BlockOrder.h.