OpenMS
Loading...
Searching...
No Matches
XMLAttributes::NativeStore::Entry Struct Reference

Public Member Functions

std::string_view name () const noexcept
 UTF-8 qualified name (a view into joined is only taken here, as entries move when the store grows)
 

Public Attributes

std::string_view local
 UTF-8 name if unprefixed.
 
std::string_view value
 UTF-8 value.
 
std::string joined
 UTF-8 "prefix:local" if prefixed.
 
bool prefixed = false
 
std::u16string value16
 UTF-16 value, valid if converted.
 
bool converted = false
 

Member Function Documentation

◆ name()

std::string_view name ( ) const
inlinenoexcept

UTF-8 qualified name (a view into joined is only taken here, as entries move when the store grows)

Member Data Documentation

◆ converted

bool converted = false
mutable

◆ joined

std::string joined

UTF-8 "prefix:local" if prefixed.

◆ local

std::string_view local

UTF-8 name if unprefixed.

◆ prefixed

bool prefixed = false

◆ value

std::string_view value

UTF-8 value.

◆ value16

std::u16string value16
mutable

UTF-16 value, valid if converted.