ReFRACtor
|
Defines an interface for caching ArrayAd objects such that the underlying caching mechanism is not necessarily exposed to a user of the cache. More...
#include <array_ad_cache.h>
Public Member Functions | |
virtual | ~ArrayAdCache () |
virtual void | clear ()=0 |
virtual void | erase (const K &key)=0 |
virtual void | insert (const K &key, const ArrayAd< T, D > &value)=0 |
virtual bool | is_valid (const K &key) const =0 |
virtual ArrayAd< T, D > | operator[] (const K &key) const =0 |
Defines an interface for caching ArrayAd objects such that the underlying caching mechanism is not necessarily exposed to a user of the cache.
Also alternative caching mechanism can be switched in without a cache user needing to change anything.
Definition at line 16 of file array_ad_cache.h.
|
inlinevirtual |
Definition at line 19 of file array_ad_cache.h.
|
pure virtual |
Implemented in FullPhysics::ArrayAdVectorCache< K, T, D >, and FullPhysics::ArrayAdMapCache< K, T, D >.
|
pure virtual |
Implemented in FullPhysics::ArrayAdVectorCache< K, T, D >, and FullPhysics::ArrayAdMapCache< K, T, D >.
|
pure virtual |
Implemented in FullPhysics::ArrayAdVectorCache< K, T, D >, and FullPhysics::ArrayAdMapCache< K, T, D >.
|
pure virtual |
Implemented in FullPhysics::ArrayAdVectorCache< K, T, D >, and FullPhysics::ArrayAdMapCache< K, T, D >.
|
pure virtual |
Implemented in FullPhysics::ArrayAdVectorCache< K, T, D >, and FullPhysics::ArrayAdMapCache< K, T, D >.