Quick Links:

bal | bbl | bdl | bsl

Static Public Member Functions

baltzo::ZoneinfoBinaryReader Struct Reference

#include <baltzo_zoneinfobinaryreader.h>

List of all members.

Static Public Member Functions

static int read (Zoneinfo *zoneinfoResult, bsl::istream &stream)
static int read (Zoneinfo *zoneinfoResult, ZoneinfoBinaryHeader *headerResult, bsl::istream &stream)

Detailed Description

This struct provides a namespace for functions that read Zoneinfo time zone data from a binary input stream. The primary method, read, makes use of a stream containing a Zoneinfo time zone database to populate a Zoneinfo object.

See Component baltzo_zoneinfobinaryreader


Member Function Documentation

static int baltzo::ZoneinfoBinaryReader::read ( Zoneinfo zoneinfoResult,
bsl::istream &  stream 
) [static]
static int baltzo::ZoneinfoBinaryReader::read ( Zoneinfo zoneinfoResult,
ZoneinfoBinaryHeader headerResult,
bsl::istream &  stream 
) [static]

Read time zone information from the specified stream, and load the description into the specified zoneinfoResult. Return 0 on success and a non-zero value if stream does not provide a sequence of bytes consistent with the Zoneinfo binary format. If an error occurs during the operation, zoneinfoResult is unspecified. Optionally specify a headerResult that, on success, will be populated with a summary of the stream contents.


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