mace::list< T, Serial, Alloc > Class Template Reference
[Collections]
#include <mlist.h>
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:
- /home/elb/work/cs590n/mace/mace/lib/mlist.h