Lagrange
Loading...
Searching...
No Matches
UniqueAttributeNameOptions Struct Reference

Options for generating unique attribute names. More...

#include <lagrange/get_unique_attribute_name.h>

Public Attributes

std::string separator = "."
 Separator between the base name and the counter. Default is ".".
 
std::string postfix = ""
 Postfix to append after the counter. Default is empty.
 
int max_increment = 1000
 Maximum number of attempts to find a unique name. Default is 1000.
 
bool emit_warning = true
 Whether to emit a warning when a collision is detected and a suffix is added.
 

Detailed Description

Options for generating unique attribute names.

Member Data Documentation

◆ emit_warning

bool emit_warning = true

Whether to emit a warning when a collision is detected and a suffix is added.

Default is true.


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