nw::GffLabel

struct GffLabel

Public Types

using Storage = std::array<char, max_size>
using value_type = typename Storage::value_type
using size_type = typename Storage::size_type

Public Functions

GffLabel()
GffLabel(const GffLabel&) = default
GffLabel(Storage data) noexcept
GffLabel(const char *string) noexcept
GffLabel(StringView string) noexcept
GffLabel &operator=(const GffLabel&) = default
bool empty() const noexcept

Checks if the underlying array has no non-null characters.

size_type length() const noexcept

Returns the number of char elements in the array, excluding nulls.

String string() const

Creates String of underlying array.

StringView view() const noexcept

Creates StringView of underlying array without null padding.

Public Static Attributes

static constexpr size_t max_size = 16