Public Types | |
using | KeyType = int |
using | ValueType = RecHitsSortedInPhi |
Public Member Functions | |
void | add (KeyType key, const 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... | |
const ValueType * | get (KeyType key) |
void | resize (int size) |
SimpleCache (unsigned int initSize) | |
~SimpleCache () | |
Private Member Functions | |
SimpleCache (const SimpleCache &) | |
Private Attributes | |
std::vector< const 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.
References clear().
|
inlineprivate |
Definition at line 38 of file LayerHitMapCache.h.
add object to cache. It is caller responsibility to check that object is not yet there.
Definition at line 27 of file LayerHitMapCache.h.
References relval_steps::key, resize(), theContainer, and relativeConstraints::value.
Referenced by LayerHitMapCache::operator()(), and counter.Counter::register().
|
inline |
emptify cache, delete values associated to Key
Definition at line 32 of file LayerHitMapCache.h.
References theContainer, and findQualityFiles::v.
Referenced by LayerHitMapCache::clear(), and ~SimpleCache().
Definition at line 25 of file LayerHitMapCache.h.
References relval_steps::key, and theContainer.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), and LayerHitMapCache::operator()().
|
inline |
Definition at line 24 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(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().