microfmt
Zero-allocation C++ formatting for constrained environments
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
microfmt::formatter< remote_symbol_view > Struct Reference

Formatter for remote_symbol_view. More...

#include <symbol_resolver.hpp>

Public Member Functions

constexpr void parse (format_parse_context &ctx) noexcept
 Parses the leading # mode flag.
 
void format (const remote_symbol_view &view, const sink &out) const noexcept
 Resolves and renders the remote address.
 

Public Attributes

char mode {'\0'}
 Output mode: ‘’#'= verboseimage!symbol+off,'\0'` = standard.
 

Detailed Description

Formatter for remote_symbol_view.

Supports a leading # for verbose output (image!symbol+off); otherwise emits symbol+off, image+off, or <unknown@0x..>/(null).

Member Function Documentation

◆ format()

void microfmt::formatter< remote_symbol_view >::format ( const remote_symbol_view &  view,
const sink &  out 
) const
inlinenoexcept

Resolves and renders the remote address.

Parameters
viewThe symbol view to format.
outDestination sink.

◆ parse()

constexpr void microfmt::formatter< remote_symbol_view >::parse ( format_parse_context &  ctx)
inlineconstexprnoexcept

Parses the leading # mode flag.

Parameters
ctxFormat parse context exposing the specifier text.

Member Data Documentation

◆ mode

Output mode: ‘’#'= verboseimage!symbol+off,'\0'` = standard.


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