BloombergLP::ball::RecordStringFormatter::RecordStringFormatter

Constructors

Synopses

Declared in <ball_recordstringformatter.h>

Create a record formatter with the default format and zero offset.

explicit
RecordStringFormatter(allocator_type const& allocator = allocator_type());
» more...

Same as the preceding overload, using the specified basicallocator.

explicit
RecordStringFormatter(bslma::Allocator* basicallocator);
» more...

Create a record formatter with the default format and local-time flag.

explicit
RecordStringFormatter(
    bool publishInLocalTime,
    allocator_type const& allocator = allocator_type());
» more...

Create a record formatter with the default format and given offset.

explicit
RecordStringFormatter(
    bdlt::DatetimeInterval const& offset,
    allocator_type const& allocator = allocator_type());
» more...

Create a record formatter as a copy of the specified original.

RecordStringFormatter(
    RecordStringFormatter const& original,
    allocator_type const& allocator = allocator_type());
» more...

Same as the preceding overload, using the specified format.

explicit
RecordStringFormatter(
    std::string_view const& format,
    allocator_type const& allocator = allocator_type());
» more...

Create a record formatter with the specified format and zero offset.

explicit
RecordStringFormatter(
    char const* format,
    allocator_type const& allocator = allocator_type());
» more...

Same as the preceding overload, using the specified format and basicAllocator.

RecordStringFormatter(
    char const* format,
    bslma::Allocator* basicAllocator);
» more...

Create a record formatter with the specified format and local-time flag.

RecordStringFormatter(
    char const* format,
    bool publishInLocalTime,
    allocator_type const& allocator = allocator_type());
» more...

Create a record formatter with the specified format and offset.

RecordStringFormatter(
    char const* format,
    bdlt::DatetimeInterval const& offset,
    allocator_type const& allocator = allocator_type());
» more...

Parameters

NameDescription
allocatorallocator used to supply memory
basicallocatorallocator used to supply memory
publishInLocalTimewhether to format timestamps in local time
offsettimestamp offset applied to formatted timestamps
originalrecord formatter to copy
formatprintf-style format specification
basicAllocatorallocator used to supply memory