This class provides an efficient mechanism for retrieving information about a given time zone. The first time a client requests information for some time‐zone identifier, that information is loaded (using the Loader supplied at construction), returned to the client (via a const pointer value), and cached for future use. Subsequent requests for the same time‐zone return the cached information. The returned values are valid for the lifetime of this object.
Synopsis
Declared in <baltzo_zoneinfocache.h>
class ZoneinfoCache;
Description
This class: * is exception‐neutral * is fully thread‐safe For terminology see bsldoc_glossary.
Type Aliases
Name |
Description |
Allocator type used by this class. |
Member Functions
Name |
Description |
|
Create an empty cache of time‐zone information that will use the specified |
|
Destroy this object. |
|
|
Return the allocator used by this object to supply memory. Note that if no allocator was supplied at construction the default allocator in effect at construction is used. |
|
Return the address of the non‐modifiable cached description of the time zone identified by the specified |
|
|
Nested trait declaration for |
Created with MrDocs