Return a shared pointer to the calendar named calendarName.
Synopsis
Declared in <bdlt_calendarcache.h>
bsl::shared_ptr<Calendar const>
lookupCalendar(char const* calendarName) const;
Description
Return a shared pointer providing non‐modifiable access to the calendar having the specified calendarName in this calendar cache. If the calendar having calendarName is not found in the cache, or if the calendar has expired (i.e., per a timeout optionally supplied at construction), return an empty shared pointer.
Return Value
shared pointer to the calendar, or empty if not found/expired
Parameters
Name |
Description |
calendarName |
name of the calendar to look up |
Created with MrDocs