BloombergLP::bdlt::TimetableCache_Entry

Cache entry holding a read-only timetable and its load time.

Synopsis

Declared in <bdlt_timetablecache.h>

class TimetableCache_Entry;

Description

This class defines the type of objects that are inserted into the timetable cache. Each entry contains a shared pointer to a read-only timetable and the time at which that timetable was loaded. Note that an explicit allocator is required to create an entry object.

Member Functions

NameDescription
TimetableCache_Entry [constructor]Constructors
~TimetableCache_Entry [destructor]Destroy this cache entry object.
operator= Assign to this cache entry object the value of the specified rhs object, and return a reference providing modifiable access to this object.
get Return a shared pointer to the cached timetable.
loadTime Return the time at which the cached timetable was loaded.