[#BloombergLP-bdlt-TimetableLoader-load]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/TimetableLoader.adoc[TimetableLoader]::load
:relfileprefix: ../../../
:mrdocs:

Load the timetable identified by `timetableName` into `result`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
int
load(
    xref:BloombergLP/bdlt/Timetable.adoc[Timetable]* result,
    char const* timetableName) = 0;
----

== Description

Load, into the specified `result`, the timetable identified by the specified `timetableName`&period; Return 0 on success, and a non&hyphen;zero value otherwise&period; If the timetable corresponding to `timetableName` is not found, 1 is returned with no effect on `&ast;result`&period; If a non&hyphen;zero value other than 1 is returned (indicating a different error), `&ast;result` is valid, but its value is undefined&period;

== Return Value

0 on success, non&hyphen;zero on failure

== Parameters

[cols="1,4"]
|===
| Name| Description
| *result*
| destination for the loaded timetable
| *timetableName*
| name identifying the timetable to load
|===


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