libdballe
7.6
|
Public Member Functions | |
virtual bool | to_rec (int id, Record &rec)=0 |
Fill a record with level/timerange info with this id. More... | |
virtual Level | to_level (int id) const =0 |
Return a Level for this ID. | |
virtual Trange | to_trange (int id) const =0 |
Return a Trange for this ID. | |
virtual msg::Context * | to_msg (int id, Msg &msg)=0 |
Get/create a Context in the Msg for this level/timerange. More... | |
virtual void | invalidate ()=0 |
Invalidate the cache. | |
virtual void | dump (FILE *out) const =0 |
Dump cache contents to an output stream. | |
Static Public Member Functions | |
static std::unique_ptr< LevTrCache > | create (LevTr &levtr) |
Create a new LevTrCache for this LevTr. | |
|
pure virtual |
Get/create a Context in the Msg for this level/timerange.
|
pure virtual |
Fill a record with level/timerange info with this id.