VLink  2.1.0
A high-performance communication middleware
vlink::zerocopy::MessageFormatOptions Struct Referencefinal

Presentation toggles for format_message. More...

#include <message_parser.h>

Collaboration diagram for vlink::zerocopy::MessageFormatOptions:

Public Attributes

bool hex {false}
 Render integer fields as hexadecimal instead of decimal. More...
 
bool date {false}
 Render nanosecond timestamp fields as calendar dates. More...
 
bool enum_name {false}
 Render enumeration fields as symbolic names instead of numbers. More...
 
bool expand_arrays {true}
 Expand indexed collections (e.g. PointCloud points) element by element. More...
 
size_t max_elements {10000}
 Upper bound on expanded collection elements. More...
 

Detailed Description

Presentation toggles for format_message.

Member Data Documentation

◆ date

bool vlink::zerocopy::MessageFormatOptions::date {false}

Render nanosecond timestamp fields as calendar dates.

◆ enum_name

bool vlink::zerocopy::MessageFormatOptions::enum_name {false}

Render enumeration fields as symbolic names instead of numbers.

◆ expand_arrays

bool vlink::zerocopy::MessageFormatOptions::expand_arrays {true}

Expand indexed collections (e.g. PointCloud points) element by element.

◆ hex

bool vlink::zerocopy::MessageFormatOptions::hex {false}

Render integer fields as hexadecimal instead of decimal.

◆ max_elements

size_t vlink::zerocopy::MessageFormatOptions::max_elements {10000}

Upper bound on expanded collection elements.


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