Orcus
|
#include <types.hpp>
Public Member Functions | |
xml_token_attr_t (const xml_token_attr_t &other) | |
xml_token_attr_t (xmlns_id_t _ns, xml_token_t _name, std::string_view _value, bool _transient) | |
xml_token_attr_t (xmlns_id_t _ns, xml_token_t _name, std::string_view _raw_name, std::string_view _value, bool _transient) | |
xml_token_attr_t & | operator= (const xml_token_attr_t &other) |
Public Attributes | |
xmlns_id_t | ns |
xml_token_t | name |
std::string_view | raw_name |
std::string_view | value |
bool | transient |
Struct containing properties of a tokenized XML attribute.
bool orcus::xml_token_attr_t::transient |
Whether or not the attribute value is transient. A transient value is only guaranteed to be valid until the end of the start_element call, after which its validity is not guaranteed. A non-transient value is guaranteed to be valid during the life cycle of the xml stream it belongs to.