3#include <iolink/IOLinkAPI.h>
Class to store the options to configure the display of the metadata tree.
Definition PrettyPrintOptions.h:15
void setFloatFormat(const std::string &floatFormat)
Sets the format string used for displaying floating-point values.
void setDisplayType(bool displayType)
Enables or disables the display of the type of each node's value.
int32_t indentSize() const
Returns the size of the indentation (in spaces) for each level of the tree.
uint32_t maxDepth() const
Returns the maximum depth of the metadata tree to display.
void setDisplayValues(bool displayValues)
Enables or disables the display of node values.
void setIndentSize(int32_t indentSize)
Sets the size of the indentation (in spaces) for each level of the tree.
bool displayType() const
Indicates whether the type of each node's value should be displayed.
int32_t maxStringLength() const
Returns the maximum length of string values to display.
PrettyPrintOptions(const PrettyPrintOptions &other)
Copy constructor.
int32_t maxChildCount() const
Returns the maximum number of child nodes to display for a node.
void setMaxChildCount(int32_t maxChildCount)
Sets the maximum number of child nodes to display for a node.
PrettyPrintOptions()
Default constructor Initializes the options with default values.
const std::string & floatFormat() const
Returns the format string used for displaying floating-point values.
void setMaxStringLength(int32_t maxStringLength)
Sets the maximum length of string values to display.
void setMaxValueCount(int32_t maxValueCount)
Sets the maximum number of values to display for a node.
void setMaxDepth(uint32_t maxDepth)
Sets the maximum depth of the metadata tree to display.
int32_t maxValueCount() const
Returns the maximum number of values to display for a node.
bool displayValues() const
Indicates whether node values should be displayed.
All IOLink symbols are enclosed in this namespace.
Definition ArrayX.h:8