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

Return a shared pointer providing non&hyphen;modifiable access to the timetable having the specified `timetableName` in this timetable cache&period; If the timetable having `timetableName` is not found in the cache, or if the timetable has expired (i&period;e&period;, per a timeout optionally supplied at construction), 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;]
lookupTimetable(char const* timetableName) const;
----


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