Public Types | |
using | KeyType = int |
using | ValueType = RecHitsSortedInPhi |
Public Member Functions | |
void | add (KeyType key, ValueType *value) |
add object to cache. It is caller responsibility to check that object is not yet there. More... | |
void | clear () |
emptify cache, delete values associated to Key More... | |
void | extend (const SimpleCache &other) |
const ValueType * | get (KeyType key) const |
SimpleCache & | operator= (const SimpleCache &)=delete |
SimpleCache & | operator= (SimpleCache &&)=default |
void | resize (int size) |
SimpleCache (unsigned int initSize) | |
SimpleCache (const SimpleCache &)=delete | |
SimpleCache (SimpleCache &&)=default | |
~SimpleCache () | |
Private Attributes | |
std::vector< mayown_ptr< ValueType > > | theContainer |
Definition at line 18 of file LayerHitMapCache.h.
using LayerHitMapCache::SimpleCache::KeyType = int |
Definition at line 21 of file LayerHitMapCache.h.
Definition at line 20 of file LayerHitMapCache.h.
|
inline |
Definition at line 22 of file LayerHitMapCache.h.
References operator=().
|
delete |
|
default |
|
inline |
Definition at line 27 of file LayerHitMapCache.h.
References clear().
add object to cache. It is caller responsibility to check that object is not yet there.
Definition at line 31 of file LayerHitMapCache.h.
References crabWrapper::key, resize(), and theContainer.
Referenced by LayerHitMapCache::add(), LayerHitMapCache::operator()(), and counter.Counter::register().
|
inline |
emptify cache, delete values associated to Key
Definition at line 46 of file LayerHitMapCache.h.
References theContainer, and findQualityFiles::v.
Referenced by LayerHitMapCache::clear(), and ~SimpleCache().
|
inline |
Definition at line 35 of file LayerHitMapCache.h.
References get(), mps_fire::i, resize(), findQualityFiles::size, and theContainer.
Referenced by MatrixUtil.WF::__init__(), and LayerHitMapCache::extend().
Definition at line 29 of file LayerHitMapCache.h.
References crabWrapper::key, and theContainer.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), extend(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), and LayerHitMapCache::operator()().
|
delete |
Referenced by LayerHitMapCache::LayerHitMapCache(), and SimpleCache().
|
default |
|
inline |
Definition at line 28 of file LayerHitMapCache.h.
References theContainer.
Referenced by Vispa.Gui.TextDialog.TextDialog::__init__(), Vispa.Plugins.ConfigEditor.ToolDialog.ToolDialog::__init__(), Vispa.Main.MainWindow.MainWindow::_loadIni(), add(), extend(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
private |