The simple implementation of LevelBase interface. More...
#include <ogdf/layered/BlockOrder.h>
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 43 of file BlockOrder.h.
Definition at line 48 of file BlockOrder.h.
Definition at line 50 of file BlockOrder.h.
|
inlineoverridevirtual |
Returns the maximal array index (= size()-1).
Implements ogdf::LevelBase.
Definition at line 58 of file BlockOrder.h.
Returns the node at position i
.
Implements ogdf::LevelBase.
Definition at line 52 of file BlockOrder.h.
Returns the node at position i
.
Implements ogdf::LevelBase.
Definition at line 54 of file BlockOrder.h.
|
inlineoverridevirtual |
Returns the number of nodes on this level.
Implements ogdf::LevelBase.
Definition at line 56 of file BlockOrder.h.
Definition at line 45 of file BlockOrder.h.