Syntalos::edl::CompactNameOptions
Syntalos::edl::CompactNameOptions
#include <edlutils.h>
Public Attributes
| Name | |
|---|---|
| std::size_t | maxLength |
| std::string_view | fallback hard length cap in bytes; prefers a word boundary, never splits a UTF-8 codepoint |
| bool | lowercase used (normalized) when the result would otherwise be empty |
| bool | asciiOnly ASCII-only lowercasing (Unicode casing must be handled by the caller) |
| char | wordSeparator drop all bytes > 0x7F |
Detailed Description
struct Syntalos::edl::CompactNameOptions;Options controlling makeCompactName().
Public Attributes Documentation
variable maxLength
std::size_t maxLength = 80;variable fallback
std::string_view fallback = "unnamed";hard length cap in bytes; prefers a word boundary, never splits a UTF-8 codepoint
variable lowercase
bool lowercase = false;used (normalized) when the result would otherwise be empty
variable asciiOnly
bool asciiOnly = false;ASCII-only lowercasing (Unicode casing must be handled by the caller)
variable wordSeparator
char wordSeparator = '-';drop all bytes > 0x7F
Updated on 2026-06-08 at 21:50:11 +0000