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 |
void | resize (int size) |
SimpleCache (unsigned int initSize) | |
SimpleCache (SimpleCache &&rh) | |
~SimpleCache () | |
Private Member Functions | |
SimpleCache (const 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.
|
inline |
Definition at line 23 of file LayerHitMapCache.h.
|
inline |
Definition at line 24 of file LayerHitMapCache.h.
References clear().
|
inlineprivate |
Definition at line 49 of file LayerHitMapCache.h.
add object to cache. It is caller responsibility to check that object is not yet there.
Definition at line 28 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 43 of file LayerHitMapCache.h.
References theContainer, and findQualityFiles::v.
Referenced by LayerHitMapCache::clear(), and ~SimpleCache().
|
inline |
Definition at line 32 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 26 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()().
|
inline |
Definition at line 25 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 |