BDE 4.14.0 Production release
Loading...
Searching...
No Matches
baltzo::Loader Class Referenceabstract

#include <baltzo_loader.h>

Inheritance diagram for baltzo::Loader:
baltzo::DataFileLoader baltzo::TestLoader

Public Member Functions

virtual ~Loader ()
 Destroy this object.
 
virtual int loadTimeZone (Zoneinfo *result, const char *timeZoneId)=0
 

Detailed Description

This class provides a protocol (a pure abstract interface) for loading a time zone object.

See baltzo_loader

Constructor & Destructor Documentation

◆ ~Loader()

virtual baltzo::Loader::~Loader ( )
virtual

Member Function Documentation

◆ loadTimeZone()

virtual int baltzo::Loader::loadTimeZone ( Zoneinfo result,
const char *  timeZoneId 
)
pure virtual

Load into the specified result the time zone information for the time zone identified by the specified timeZoneId. Return 0 on success, and a non-zero value otherwise. A return status of ErrorCode::k_UNSUPPORTED_ID indicates that timeZoneId is not recognized. If an error occurs during this operation, result will be left in a valid, but otherwise unspecified state. On return, result will be well-formed (see ZoneinfoUtil::isWellFormed) and result->identifier() will be timeZoneId (concrete implementations not meeting those constraints will not be usable by other other components in this package – e.g., baltzo_zoneinfocache ).

Implemented in baltzo::DataFileLoader, and baltzo::TestLoader.


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