Logo Search packages:      
Sourcecode: zinnia version File versions  Download package

Public Member Functions | Private Attributes

zinnia::FreeList< T, LengthFunc > Class Template Reference

Inheritance diagram for zinnia::FreeList< T, LengthFunc >:
Inheritance graph

List of all members.

Public Member Functions

T * alloc (size_t len=1)
T * dup (T *src, size_t len=0)
void free ()
 FreeList (size_t _size)
void set_size (size_t n)

Private Attributes

std::vector< T * > freeList
size_t li
size_t pi
size_t size

Detailed Description

template<class T, class LengthFunc = Length<T>>
class zinnia::FreeList< T, LengthFunc >

Definition at line 27 of file freelist.h.

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

Generated by  Doxygen 1.6.0   Back to index