template <class A> class FuncList : public list<A*>

List that adds map and select methods

Inheritance:


Public Methods

template <class B> void map(void function(A *obj, B farg), B arg)
Map method. Apply a function to each element of the list.
void map(void function(A *obj))
Map method. Apply a function to each element of the list.
template <class B> FuncList <A> select(int function(A *obj, B farg), B arg)
Select method
FuncList <A> select(int function(A *obj))
Select method

Documentation

List that adds map and select methods
void map(void function(A *obj))
Map method. Apply a function to each element of the list.

FuncList <A> select(int function(A *obj))
Select method. Returns a sub-list containing all the elements where the function has returned TRUE.

template <class B> void map(void function(A *obj, B farg), B arg)
Map method. Apply a function to each element of the list.

template <class B> FuncList <A> select(int function(A *obj, B farg), B arg)
Select method. Returns a sub-list containing all the elements where the function has returned TRUE.


Direct child classes:
NstVertexList
NstEdgeList

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de