Quick Links:

bal | bbl | bdl | bsl

Public Member Functions

bdlt::CalendarLoader Class Reference

#include <bdlt_calendarloader.h>

List of all members.

Public Member Functions

virtual ~CalendarLoader ()
virtual int load (PackedCalendar *result, const char *calendarName)=0

Detailed Description

This class defines a protocol used to load calendars from a specific source. Each repository of calendar information can be supported by a distinct implementation of this protocol.

See Component bdlt_calendarloader


Constructor & Destructor Documentation

virtual bdlt::CalendarLoader::~CalendarLoader (  )  [virtual]

Destroy this object.


Member Function Documentation

virtual int bdlt::CalendarLoader::load ( PackedCalendar result,
const char *  calendarName 
) [pure virtual]

Load, into the specified result, the calendar identified by the specified calendarName. Return 0 on success, and a non-zero value otherwise. If the calendar corresponding to calendarName 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.


The documentation for this class was generated from the following file: