template<class IdxT, class ElemT>
Definition at line 117 of file Cache.h. Referenced by Impala::Util::Cache< int, Impala::Core::Array::ImageArchiveFile * >::AddElement(), and Impala::Util::Cache< int, Impala::Core::Array::ImageArchiveFile * >::Clear(). 00118 { 00119 if (mElemIsPointer) 00120 { 00121 ElemT e = mQueue.back().mElem; 00122 if (e) // allows for containment of null-pointers 00123 { 00124 delete e; 00125 } 00126 } 00127 mQueue.pop_back(); 00128 }
|