IndexLoggingasmjit::FormatOptions

asmjit::FormatOptions Class Reference [¶]

Formatting options used by Logger and Formatter.

Member Functions

Reset

Accessors

void FormatOptions::reset()noexcept[¶]

Resets FormatOptions to its default initialized state.

FormatFlags FormatOptions::flags() constnodiscardnoexcept[¶]

Returns format flags.

bool FormatOptions::has_flag() constnodiscardnoexcept[¶]

Tests whether the given flag is set in format flags.

void FormatOptions::set_flags()noexcept[¶]

Resets all format flags to flags.

void FormatOptions::add_flags()noexcept[¶]

Adds flags to format flags.

void FormatOptions::clear_flags()noexcept[¶]

Removes flags from format flags.

uint8_t FormatOptions::indentation() constnodiscardnoexcept[¶]

Returns indentation for the given indentation group.

void FormatOptions::set_indentation(
uint32_t n
)noexcept[¶]

Sets indentation for the given indentation group.

void FormatOptions::reset_indentation()noexcept[¶]

Resets indentation for the given indentation group to zero.

size_t FormatOptions::padding() constnodiscardnoexcept[¶]

Returns padding for the given padding group.

void FormatOptions::set_padding(
size_t n
)noexcept[¶]

Sets padding for the given padding group.

void FormatOptions::reset_padding()noexcept[¶]

Resets padding for the given padding group to zero, which means that a default padding will be used based on the target architecture properties.

FormatFlags FormatOptions::_flags = FormatFlags::kNone[¶]

Format flags.

Support::Array<uint8_t, uint32_t(FormatIndentationGroup::kMaxValue) + 1>FormatOptions::_indentation {}[¶]

Indentations for each indentation group.

Support::Array<uint16_t, uint32_t(FormatPaddingGroup::kMaxValue) + 1>FormatOptions::_padding {}[¶]

Paddings for each padding group.