![]() |
Zen
A cross-platform functional programming language
|
Base template class for all container classes. More...
#include <Ast.hpp>
Public Types | |
| typedef z::list< const ItemT * > | List |
| Default list of items in container. | |
Public Member Functions | |
| ListBase () | |
| Default constructor. | |
| const List & | getList () const |
| Returns a reference to the list of items in the container. | |
| void | addItem (const ItemT &item) |
| Add an item to the list. | |
Private Attributes | |
| List | _list |
| List of items in the container. | |
Base template class for all container classes.
| void addItem | ( | const ItemT & | item | ) | [inline] |
Add an item to the list.
| item | The item to be added |
| const List& getList | ( | ) | const [inline] |
Returns a reference to the list of items in the container.