Load the timetable identified by timetableName into result.

Synopsis

Declared in <bdlt_timetableloader.h>

virtual
int
load(
    Timetable* result,
    char const* timetableName) = 0;

Description

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

Return Value

0 on success, non‐zero on failure

Parameters

Name

Description

result

destination for the loaded timetable

timetableName

name identifying the timetable to load

Created with MrDocs