Cache entry holding a read‐only calendar and its load time.

Synopsis

Declared in <bdlt_calendarcache.h>

class CalendarCache_Entry;

Description

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

Member Functions

Name

Description

CalendarCache_Entry [constructor]

Constructors

~CalendarCache_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 calendar in this cache entry.

loadTime

Return the time at which the calendar referred to by this cache entry object was loaded.

Created with MrDocs