|
| template<typename L_other , E *L_other::* other_first, E *L_other::* other_last, int L_other::* other_numElem> |
| static void | appendFrom (L *pList, L_other *pListOther) |
| |
| static E * | back (const L *pList) |
| | Returns a pointer to the last element. More...
|
| |
| static iterator | begin (const L *pList) |
| | Returns an iterator pointing at the first element of pList. More...
|
| |
| static bool | empty (const L *pList) |
| | Returns true if /a pList is empty. More...
|
| |
| static iterator | end (const L *pList) |
| | Returns an iterator pointing at nullptr. More...
|
| |
| template<typename Func > |
| static void | forall (const L *pList, const Func &func) |
| |
| template<typename A1 > |
| static void | forall_call (const L *pList, void(E::*func)(A1), const A1 &a1) |
| |
| static E * | front (const L *pList) |
| | Returns a pointer to the first element. More...
|
| |
| static void | init (L *pList) |
| | Initializes pList as an empty embedded list. More...
|
| |
| static iterator | insertAfter (L *pList, E *elem, E *pPrev) |
| | Inserts elem into pList before pPrev. More...
|
| |
| static iterator | insertAfter (L *pList, E *elem, const iterator &itPrev) |
| | Inserts elem into pList after position itPrev. More...
|
| |
| static iterator | insertBefore (L *pList, E *elem, E *pNext) |
| | Inserts elem into pList before pNext. More...
|
| |
| static iterator | insertBefore (L *pList, E *elem, const iterator &itNext) |
| | Inserts elem into pList before position itNext. More...
|
| |
| static void | popBack (L *pList) |
| | Removes the last element of pList. More...
|
| |
| static void | popFront (L *pList) |
| | Removes the first element of pList. More...
|
| |
| static iterator | pushBack (L *pList, E *elem) |
| | Appends the element elem to the end of pList. More...
|
| |
| static iterator | pushFront (L *pList, E *elem) |
| | Adds element elem at the begin of the list. More...
|
| |
| static iterator | rbegin (const L *pList) |
| | Returns a reverse iterator pointing at the last element of pList. More...
|
| |
| static iterator | remove (L *pList, E *elem) |
| | Removes elem from pList. More...
|
| |
| static iterator | remove (L *pList, const iterator &it) |
| | Removes the element it is pointing at from pList. More...
|
| |
| static iterator | rend (const L *pList) |
| | Returns a reverse iterator pointing at nullptr. More...
|
| |
| static int | size (const L *pList) |
| | Returns the number of elements in this embedded list by reading the numElem var. More...
|
| |
template<typename L, typename E, int L::* numElem, E *L::* first, E *L::* last, E *E::* next, E *E::* prev>
class ogdf::EList< L, E, numElem, first, last, next, prev >
The embedded list template.
Definition at line 93 of file EList.h.
template<typename L, typename E, int L::* numElem, E *L::* first, E *L::* last, E *E::* next, E *E::* prev>
The iterator typdef for elements of type E and prev, next pointer.
Definition at line 235 of file EList.h.
template<typename L, typename E, int L::* numElem, E *L::* first, E *L::* last, E *E::* next, E *E::* prev>
template<typename L_other , E *L_other::* other_first, E *L_other::* other_last, int L_other::* other_numElem>
| static void ogdf::EList< L, E, numElem, first, last, next, prev >::appendFrom |
( |
L * |
pList, |
|
|
L_other * |
pListOther |
|
) |
| |
|
inlinestatic |
template<typename L, typename E, int L::* numElem, E *L::* first, E *L::* last, E *E::* next, E *E::* prev>
| static E* ogdf::EList< L, E, numElem, first, last, next, prev >::back |
( |
const L * |
pList | ) |
|
|
inlinestatic |
Returns a pointer to the last element.
Definition at line 255 of file EList.h.
template<typename L, typename E, int L::* numElem, E *L::* first, E *L::* last, E *E::* next, E *E::* prev>
| static iterator ogdf::EList< L, E, numElem, first, last, next, prev >::begin |
( |
const L * |
pList | ) |
|
|
inlinestatic |
Returns an iterator pointing at the first element of pList.
Definition at line 423 of file EList.h.
template<typename L, typename E, int L::* numElem, E *L::* first, E *L::* last, E *E::* next, E *E::* prev>
| static bool ogdf::EList< L, E, numElem, first, last, next, prev >::empty |
( |
const L * |
pList | ) |
|
|
inlinestatic |
Returns true if /a pList is empty.
Definition at line 249 of file EList.h.
template<typename L, typename E, int L::* numElem, E *L::* first, E *L::* last, E *E::* next, E *E::* prev>
Returns an iterator pointing at nullptr.
Definition at line 426 of file EList.h.
template<typename L, typename E, int L::* numElem, E *L::* first, E *L::* last, E *E::* next, E *E::* prev>
template<typename A1 >
| static void ogdf::EList< L, E, numElem, first, last, next, prev >::forall_call |
( |
const L * |
pList, |
|
|
void(E::*)(A1) |
func, |
|
|
const A1 & |
a1 |
|
) |
| |
|
inlinestatic |
template<typename L, typename E, int L::* numElem, E *L::* first, E *L::* last, E *E::* next, E *E::* prev>
| static E* ogdf::EList< L, E, numElem, first, last, next, prev >::front |
( |
const L * |
pList | ) |
|
|
inlinestatic |
Returns a pointer to the first element.
Definition at line 252 of file EList.h.
template<typename L, typename E, int L::* numElem, E *L::* first, E *L::* last, E *E::* next, E *E::* prev>
| static void ogdf::EList< L, E, numElem, first, last, next, prev >::init |
( |
L * |
pList | ) |
|
|
inlinestatic |
Initializes pList as an empty embedded list.
Definition at line 238 of file EList.h.
template<typename L, typename E, int L::* numElem, E *L::* first, E *L::* last, E *E::* next, E *E::* prev>
| static iterator ogdf::EList< L, E, numElem, first, last, next, prev >::insertAfter |
( |
L * |
pList, |
|
|
E * |
elem, |
|
|
E * |
pPrev |
|
) |
| |
|
inlinestatic |
Inserts elem into pList before pPrev.
Definition at line 320 of file EList.h.
template<typename L, typename E, int L::* numElem, E *L::* first, E *L::* last, E *E::* next, E *E::* prev>
Inserts elem into pList after position itPrev.
Definition at line 346 of file EList.h.
template<typename L, typename E, int L::* numElem, E *L::* first, E *L::* last, E *E::* next, E *E::* prev>
| static iterator ogdf::EList< L, E, numElem, first, last, next, prev >::insertBefore |
( |
L * |
pList, |
|
|
E * |
elem, |
|
|
E * |
pNext |
|
) |
| |
|
inlinestatic |
Inserts elem into pList before pNext.
Definition at line 288 of file EList.h.
template<typename L, typename E, int L::* numElem, E *L::* first, E *L::* last, E *E::* next, E *E::* prev>
Inserts elem into pList before position itNext.
Definition at line 314 of file EList.h.
template<typename L, typename E, int L::* numElem, E *L::* first, E *L::* last, E *E::* next, E *E::* prev>
| static void ogdf::EList< L, E, numElem, first, last, next, prev >::popBack |
( |
L * |
pList | ) |
|
|
inlinestatic |
Removes the last element of pList.
Definition at line 359 of file EList.h.
template<typename L, typename E, int L::* numElem, E *L::* first, E *L::* last, E *E::* next, E *E::* prev>
| static void ogdf::EList< L, E, numElem, first, last, next, prev >::popFront |
( |
L * |
pList | ) |
|
|
inlinestatic |
Removes the first element of pList.
Definition at line 352 of file EList.h.
template<typename L, typename E, int L::* numElem, E *L::* first, E *L::* last, E *E::* next, E *E::* prev>
| static iterator ogdf::EList< L, E, numElem, first, last, next, prev >::pushBack |
( |
L * |
pList, |
|
|
E * |
elem |
|
) |
| |
|
inlinestatic |
Appends the element elem to the end of pList.
Definition at line 258 of file EList.h.
template<typename L, typename E, int L::* numElem, E *L::* first, E *L::* last, E *E::* next, E *E::* prev>
| static iterator ogdf::EList< L, E, numElem, first, last, next, prev >::pushFront |
( |
L * |
pList, |
|
|
E * |
elem |
|
) |
| |
|
inlinestatic |
Adds element elem at the begin of the list.
Definition at line 272 of file EList.h.
template<typename L, typename E, int L::* numElem, E *L::* first, E *L::* last, E *E::* next, E *E::* prev>
| static iterator ogdf::EList< L, E, numElem, first, last, next, prev >::rbegin |
( |
const L * |
pList | ) |
|
|
inlinestatic |
Returns a reverse iterator pointing at the last element of pList.
Definition at line 429 of file EList.h.
template<typename L, typename E, int L::* numElem, E *L::* first, E *L::* last, E *E::* next, E *E::* prev>
Removes the element it is pointing at from pList.
Definition at line 384 of file EList.h.
template<typename L, typename E, int L::* numElem, E *L::* first, E *L::* last, E *E::* next, E *E::* prev>
Returns a reverse iterator pointing at nullptr.
Definition at line 432 of file EList.h.
template<typename L, typename E, int L::* numElem, E *L::* first, E *L::* last, E *E::* next, E *E::* prev>
| static int ogdf::EList< L, E, numElem, first, last, next, prev >::size |
( |
const L * |
pList | ) |
|
|
inlinestatic |
Returns the number of elements in this embedded list by reading the numElem var.
Definition at line 246 of file EList.h.