mace::list< T, Serial, Alloc > Class Template Reference
[Collections]

#include <mlist.h>

Inheritance diagram for mace::list< T, Serial, Alloc >:

Inheritance graph
[legend]
Collaboration diagram for mace::list< T, Serial, Alloc >:

Collaboration graph
[legend]

List of all members.


Detailed Description

template<class T, class Serial = SerializeList<T>, class Alloc = std::allocator<T>>
class mace::list< T, Serial, Alloc >

mace::list extends std::list, but has support for printing and optional serialization

Definition at line 56 of file mlist.h.


Public Member Functions

void resize (size_t sz)
 resizes the list, truncating or adding new default elements
size_t size () const
 returns the size of the list
void add (const T &t)
 equivalent to std::list::push_back
const std::string & getTypeName () const
 Return the template parameter string Key->Data for actual template parameters. (Mace extension).

The documentation for this class was generated from the following file:

Generated on Sat Oct 4 21:30:40 2008 for Mace Library by  doxygen 1.5.5