|
libbio
|
#include <Cached.h>


Protected Attributes | |
| LOOKUP_TYPE | mLookup |
| LOOKUP_FUNCTION | mLookupFunction |
Additional Inherited Members | |
Public Types inherited from bio::TransparentWrapper< STORE_TYPE > | |
| typedef STORE_TYPE | Type |
Public Attributes inherited from bio::TransparentWrapper< STORE_TYPE > | |
| STORE_TYPE | mT |
Cached<> objects store some kind of type along with a trivial lookup system.
These objects must be provided a lookup function as well as what to lookup.
| STORE_TYPE |
|
inline |
| lookup | |
| invalidValue | |
| LookupFunction |
|
inlinevirtual |
|
inlinevirtual |
Remove whatever *this has cached and re-look up the newest value.
THIS MUST BE IMPLEMENTED BY CHILDREN.
Issue: Singleton methods are incompatible with global functions, since we don't know which we're using, we can't implement even a default, apparently.
This should be changed in a future release. Right now, *this is abstract.
Reimplemented from bio::AbstractCached.
Reimplemented in bio::CachedId< ID_TYPE >.
|
inline |
For full transparency, this method must be added to all children.
(We don't have Class<> logic to save us from this nightmare at the common/ level).
| out | |
| t |
|
protected |
|
protected |