[#BloombergLP-bdlt-TimetableCache-getTimetable]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/TimetableCache.adoc[TimetableCache]::getTimetable
:relfileprefix: ../../../
:mrdocs:

Return a shared pointer providing non&hyphen;modifiable access to the timetable having the specified `timetableName` in this timetable cache, loading the timetable into the cache using the loader that was supplied at construction if the timetable is not already present in the cache or if the timetable has expired (i&period;e&period;, per a timeout optionally supplied at construction)&period; If the loader fails, whether in loading a timetable for the first time or in reloading a timetable that has expired, return an empty shared pointer&period;

== Synopsis

Declared in `&lt;bdlt&lowbar;timetablecache&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/shared_ptr-0a.adoc[bsl::shared&lowbar;ptr&lt;Timetable const&gt;]
getTimetable(char const* timetableName);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
