![]() |
#include <List.h>
Inheritance diagram for dolfin::List< T >:
Public Member Functions | |
List () | |
Constructor. | |
~List () | |
Destructor. | |
void | clear () |
Clear list. | |
void | add (const T &element) |
Add element to the list. | |
int | size () const |
Return size of list. | |
bool | empty () const |
Check if list is empty. | |
bool | contains (const T &element) |
Check if the list contains a given element. | |
void | remove (const T &element) |
Remove given element (first one matching). | |
T | pop () |
Get first element in the list and remove it. | |
Friends | |
class | Iterator |
A List is used to store variable-sized sets of data and is implemented using a double linked list (std::list).
|
Constructor.
|
|
Destructor.
|
|
Add element to the list.
|
|
Clear list.
|
|
Check if the list contains a given element.
|
|
Check if list is empty.
|
|
Get first element in the list and remove it.
|
|
Remove given element (first one matching).
|
|
Return size of list.
|
|
|
Documentation automatically generated with Doxygen on 10 Sep 2004.