1 #ifndef DBALLE_DB_V7_CACHE_H 2 #define DBALLE_DB_V7_CACHE_H 7 #include <unordered_map> 34 LevTrEntry(
const LevTrEntry&) =
default;
35 LevTrEntry(LevTrEntry&&) =
default;
36 LevTrEntry& operator=(
const LevTrEntry&) =
default;
37 LevTrEntry& operator=(LevTrEntry&&) =
default;
39 bool operator==(
const LevTrEntry& o)
const;
40 bool operator!=(
const LevTrEntry& o)
const;
43 std::ostream& operator<<(std::ostream&,
const LevTrEntry&);
46 :
public std::unordered_map<Level, std::vector<const LevTrEntry*>>
54 std::unordered_map<int, LevTrEntry*> by_id;
68 const LevTrEntry* insert(std::unique_ptr<LevTrEntry> e);
Common base types used by most of DB-All.e code.
Information on how a value has been sampled or computed with regards to time.
Definition: types.h:688
Trange trange
Time range.
Definition: cache.h:23
Vertical level or layer.
Definition: types.h:624
Level level
Vertical level or layer.
Definition: cache.h:20