template<typename KeyT, typename ValueT>
LocationCache struct
Public types
- using LookupType = std::tuple<KeyT, ValueT>
- using CacheOrderedType = std::list<LookupType>
- using ValueIter = typename CacheOrderedType::iterator
- using LookupContainerType = std::unordered_map<KeyT, ValueIter>
Constructors, destructors, conversion operators
- LocationCache(LocationSizeType const& in_max_size) explicit
- LocationCache(LocationCache const&) deleted
- LocationCache(LocationCache&&) defaulted
Public functions
- auto operator=(LocationCache const&) -> LocationCache& defaulted
- auto exists(KeyT const& key) const -> bool
- auto getSize() const -> LocationSizeType
- auto get(KeyT const& key) -> ValueT const &
- void remove(KeyT const& key)
- void insert(KeyT const& key, ValueT const& value)
- void printCache() const
-
template<typename Serializer>void serialize(Serializer& s)