wxArt2D
|
std list compatible list More...
#include <a2dlist.h>
Public Member Functions | |
a2dlist () | |
Default constructor. | |
a2dlist (const a2dlist &other) | |
Copy constructor. | |
~a2dlist () | |
Destructor. | |
a2dlist< T >::const_iterator | item (size_t index) const |
a2dlist< T >::iterator | item (size_t index) |
a2dlist< T >::reverse_iterator | rerase (typename std::list< T, std::allocator< T > >::reverse_iterator iterr) |
std::list< T, std::allocator < T > >::iterator | GetPreviousAround (typename std::list< T, std::allocator< T > >::iterator iter) |
get the previous node ( –end() if no previous ) | |
std::list< T, std::allocator < T > >::iterator | GetNextAround (typename std::list< T, std::allocator< T > >::iterator iter) |
get the next node ( begin() if no next ) | |
std list compatible list
Template list used all over wxDocview. It is a standard template list, with some extra features. The (STL) list, stores the object by value. Therefore often smartpointers are used to store the object, in order to properly delete the object when a node is deleted.