1 #ifndef DBALLE_DB_V7_CACHE_H
2 #define DBALLE_DB_V7_CACHE_H
5 #include <unordered_map>
28 LevTrEntry(
const LevTrEntry&) =
default;
29 LevTrEntry(LevTrEntry&&) =
default;
30 LevTrEntry& operator=(
const LevTrEntry&) =
default;
31 LevTrEntry& operator=(LevTrEntry&&) =
default;
33 bool operator==(
const LevTrEntry& o)
const;
34 bool operator!=(
const LevTrEntry& o)
const;
37 std::ostream& operator<<(std::ostream&,
const LevTrEntry&);
48 std::unordered_map<int, LevTrEntry*> by_id;
62 const LevTrEntry* insert(std::unique_ptr<LevTrEntry> e);