Syntalos::edl::CompactNameOptions

Syntalos::edl::CompactNameOptions

Syntalos::edl::CompactNameOptions

More…

#include <edlutils.h>

Public Attributes

Name
std::size_tmaxLength
std::string_viewfallback
hard length cap in bytes; prefers a word boundary, never splits a UTF-8 codepoint
boollowercase
used (normalized) when the result would otherwise be empty
boolasciiOnly
ASCII-only lowercasing (Unicode casing must be handled by the caller)
charwordSeparator
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