Classes | |
| class | wxList< T > |
| wxList<T> is a legacy class similar to std::list<T*>. More... | |
| class | wxNode< T > |
| wxNode<T> is the node structure used in linked lists (see wxList) and derived classes. More... | |
Macros | |
| #define | WX_DECLARE_LIST(T, name) |
| This macro declares a new legacy linked list container named name and containing pointers to the objects of type T. More... | |
| #define | WX_DEFINE_LIST(T, name) |
| This macro define a new legacy linked list container named name. More... | |
| #define | WX_CLEAR_LIST(type, list) wxClearList(list) |
| Deprecated macro equivalent to wxClearList(). More... | |
Functions | |
| template<typename T > | |
| void | wxClearList (T &list) |
| Function deletes all elements of the given list, which must be pointers. More... | |
| #define WX_CLEAR_LIST | ( | type, | |
| list | |||
| ) | wxClearList(list) |
Deprecated macro equivalent to wxClearList().
| #define WX_DECLARE_LIST | ( | T, | |
| name | |||
| ) |
This macro declares a new legacy linked list container named name and containing pointers to the objects of type T.
You must use the WX_DEFINE_LIST() macro to define the class declared by this macro.
| #define WX_DEFINE_LIST | ( | T, | |
| name | |||
| ) |
This macro define a new legacy linked list container named name.
You must use WX_DECLARE_LIST() macro to declare the list class before defining it.
|
inline |
Function deletes all elements of the given list, which must be pointers.
This simple helper function just calls delete on each element of the list.