HOG2
Public Member Functions | Private Attributes | List of all members
vectorCache< storage > Class Template Reference

#include <vectorCache.h>

Public Member Functions

 vectorCache ()
 
 ~vectorCache ()
 
 vectorCache (const vectorCache< storage > &v)
 
vectorCache< storage > & operator= (const vectorCache< storage > &v)=delete
 
std::vector< storage > * getItem ()
 
void returnItem (std::vector< storage > *)
 

Private Attributes

std::vector< std::vector< storage > * > freeList
 
int count
 

Detailed Description

template<class storage>
class vectorCache< storage >

Definition at line 14 of file vectorCache.h.

Constructor & Destructor Documentation

◆ vectorCache() [1/2]

template<class storage >
vectorCache< storage >::vectorCache ( )
inline

Definition at line 16 of file vectorCache.h.

◆ ~vectorCache()

template<class storage >
vectorCache< storage >::~vectorCache< storage >

Definition at line 29 of file vectorCache.h.

◆ vectorCache() [2/2]

template<class storage >
vectorCache< storage >::vectorCache ( const vectorCache< storage > &  v)
inline

Definition at line 18 of file vectorCache.h.

Member Function Documentation

◆ getItem()

template<class storage >
std::vector< storage > * vectorCache< storage >::getItem

◆ operator=()

template<class storage >
vectorCache<storage>& vectorCache< storage >::operator= ( const vectorCache< storage > &  v)
delete

◆ returnItem()

template<class storage >
void vectorCache< storage >::returnItem ( std::vector< storage > *  item)

Member Data Documentation

◆ count

template<class storage >
int vectorCache< storage >::count
private

Definition at line 24 of file vectorCache.h.

Referenced by vectorCache< Action >::vectorCache().

◆ freeList

template<class storage >
std::vector<std::vector<storage> *> vectorCache< storage >::freeList
private

Definition at line 23 of file vectorCache.h.

Referenced by vectorCache< Action >::vectorCache().


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