Public Member Functions | List of all members
a2dlist< T > Class Template Reference

std list compatible list More...

#include <a2dlist.h>

Inheritance diagram for a2dlist< T >:
Inheritance graph
Collaboration diagram for a2dlist< T >:
Collaboration graph

Public Member Functions

 a2dlist ()
 Default constructor.
 a2dlist (const a2dlist &other)
 Copy constructor.
 ~a2dlist ()
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 )

Detailed Description

template<class T>
class a2dlist< T >

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.

Definition at line 42 of file a2dlist.h.

The documentation for this class was generated from the following files:
a2dlist< T > Class Template Reference -- Sun Oct 12 2014 17:04:42 -- Sun Oct 12 2014 -- 1.8.5 -- wxArt2D -- . -- Main Page Reference Documentation