Template Class byte_container_with_subtype

Inheritance Relationships

Base Type

  • public BinaryType

Class Documentation

template<typename BinaryType>
class byte_container_with_subtype : public BinaryType

an internal type for a backed binary type

Public Types

using container_type = BinaryType
using subtype_type = std::uint64_t

Public Functions

inline byte_container_with_subtype() noexcept(noexcept(container_type()))

inline byte_container_with_subtype(const container_type &b) noexcept(noexcept(container_type(b)))

inline byte_container_with_subtype(container_type &&b) noexcept(noexcept(container_type(std::move(b))))

inline byte_container_with_subtype(const container_type &b, subtype_type subtype_) noexcept(noexcept(container_type(b)))

inline byte_container_with_subtype(container_type &&b, subtype_type subtype_) noexcept(noexcept(container_type(std::move(b))))

inline bool operator==(const byte_container_with_subtype &rhs) const
inline bool operator!=(const byte_container_with_subtype &rhs) const
inline void set_subtype(subtype_type subtype_) noexcept

sets the binary subtype

inline constexpr subtype_type subtype() const noexcept

return the binary subtype

inline constexpr bool has_subtype() const noexcept

return whether the value has a subtype

inline void clear_subtype() noexcept

clears the binary subtype