BloombergLP::bdlt::DefaultTimetableCache::instance

Return a pointer to the default timetable cache, or 0 if uninitialized.

Synopsis

Declared in <bdlt_defaulttimetablecache.h>

static
TimetableCache*
instance();

Description

Return an address providing modifiable access to the default TimetableCache object managed by this class, if the default cache is in the initialized state, and 0 otherwise. The cache obtains timetables using the loader that was supplied to the initialize method. Note that the returned address is invalidated by a subsequent call to destroy.

Return Value

pointer to the default timetable cache, or 0 if uninitialized