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 16 of file LayerHitMapCache.h.
using LayerHitMapCache::SimpleCache::KeyType = int |
Definition at line 19 of file LayerHitMapCache.h.
Definition at line 18 of file LayerHitMapCache.h.
|
inline |
Definition at line 20 of file LayerHitMapCache.h.
|
delete |
|
default |
|
inline |
Definition at line 25 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 29 of file LayerHitMapCache.h.
References submitPVResolutionJobs::key, resize(), and theContainer.
Referenced by LayerHitMapCache::add(), and counter.Counter::register().
|
inline |
emptify cache, delete values associated to Key
Definition at line 51 of file LayerHitMapCache.h.
References theContainer, and findQualityFiles::v.
Referenced by LayerHitMapCache::clear(), and ~SimpleCache().
|
inline |
Definition at line 34 of file LayerHitMapCache.h.
References cms::cuda::assert(), mps_fire::i, trackingPlots::other, resize(), findQualityFiles::size, theContainer, and findQualityFiles::v.
Referenced by MatrixUtil.WF::__init__(), and LayerHitMapCache::extend().
Definition at line 27 of file LayerHitMapCache.h.
References submitPVResolutionJobs::key, and theContainer.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.BetterConfigParser::getResultingSection(), and LayerHitMapCache::operator()().
|
delete |
|
default |
|
inline |
Definition at line 26 of file LayerHitMapCache.h.
References findQualityFiles::size, and theContainer.
Referenced by add(), and extend().
|
private |