class VectorPool
Definition
#include <
data-flow/include/VectorPool.h
>
Template form
VectorPool<template class T>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index
Public Methods
VectorPool
(int _max_stored=50) : max_stored(_max_stored) , smallList (MAX_SMALL+1) , largeList (MAX_BITS+1)
Vector<T> *
newVector
(int size)
void
release
(Vector<T> *vec)
Protected Members
size_t
max_stored
vector<vector <Vector<T> *> >
smallList
vector<vector <Vector<T> *> >
largeList
Detailed Description
size_t
max_stored
[protected]
vector<vector <Vector<T> *> >
smallList
[protected]
vector<vector <Vector<T> *> >
largeList
[protected]
VectorPool
(int _max_stored=50) : max_stored(_max_stored) , smallList (MAX_SMALL+1) , largeList (MAX_BITS+1)
Vector<T> *
newVector
(int size)
void
release
(Vector<T> *vec)
Generated by: jmvalin@usw-pr-shell2 on Mon Jun 24 00:06:36 2002, using kdoc 2.0a40.