MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ live_format_key()

void MayaFlux::internal::live_format_key ( char *  buf,
std::string_view  name,
uint32_t  count 
)
inlinenoexcept

Formats a live arena key as "TypeName_N" into buf.

Parameters
bufDestination buffer of at least LIVE_ARENA_KEY_MAX bytes.
nameUnqualified type name, typically from live_type_name<T>().
countPer-type monotonic counter value.

Definition at line 232 of file LiveArena.hpp.

233 {
234 std::snprintf(buf, LIVE_ARENA_KEY_MAX, "%.*s_%u",
235 static_cast<int>(name.size()), name.data(), count);
236 }
Eigen::Index count

References count, and LIVE_ARENA_KEY_MAX.