Organizes output-to-value caches into logical groups, called pages.
EF_API Ef_OutputValueCache * GetOrCreate(const VdfVector &key)
Get the output-to-value cache associated with the given key, or create a new, empty output-to-value c...
static Ef_PageCache * New()
Construct a new Ef_PageCache, which uses VdfVectors holding type T values as keys.
Ef_VectorKey::Map< Ef_OutputValueCache * >::Type CacheMap
Type of the cache map.
CacheMap::iterator iterator
Type of the cache map iterator.
EF_API size_t Clear()
Clear the entire page cache.
iterator end()
Returns an iterator past the output-to-value cache in the last page.
iterator begin()
Returns an iterator to the output-to-value cache in the first page.
EF_API Ef_OutputValueCache * Get(const VdfVector &key) const
Get the output-to-value cache associated with the given key, if one exists.