Concrete Loader for Zoneinfo binary files on the file system.

Synopsis

Declared in <baltzo_datafileloader.h>

class DataFileLoader
    : public Loader

Description

This component provides a concrete implementation of the DataLoader protocol for loading, into a Zoneinfo, the properties of a time zone defined by an Zoneinfo (TZ Database) binary file located on the file system.

Base Classes

Name

Description

Loader

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

Type Aliases

Name

Description

allocator_type

Allocator type used by this class.

Member Functions

Name

Description

DataFileLoader [constructor]

Constructors

~DataFileLoader [destructor] [virtual]

Destroy this data‐file loader.

configureRootPath

Set the Zoneinfo root directory path unconditionally.

configureRootPathIfPlausible

Set the Zoneinfo root directory path if it appears valid.

get_allocator

Return the allocator used by this object to supply memory.

isRootPathPlausible

Return true if rootPath appears to contain valid Zoneinfo data.

loadTimeZone [virtual]

Load well‐formed time‐zone information for timeZoneId.

loadTimeZoneFilePath

Load the Zoneinfo file path for timeZoneId into result.

loadTimeZoneRaw

Load raw time‐zone information for timeZoneId without normalizing.

rootPath

Return the configured Zoneinfo root directory path.

operator BloombergLP::bslmf::NestedTraitDeclaration<DataFileLoader, UsesBslmaAllocator>

Nested trait declaration for bslma::UsesBslmaAllocator.

Static Member Functions

Name

Description

isPlausibleZoneinfoRootPath

Return true if path appears to be a Zoneinfo root directory.

Created with MrDocs