Compact validity mask for the transport values carried by ProcessContext. More...
#include <transport_fields.hpp>
Public Types | |
| using | storage_type = std::uint16_t |
Public Member Functions | |
| constexpr bool | has (TransportField field) const noexcept |
| constexpr void | set (TransportField field, bool valid=true) noexcept |
| constexpr bool | empty () const noexcept |
Friends | |
| constexpr bool | operator== (const TransportValidity &, const TransportValidity &) noexcept=default |
Compact validity mask for the transport values carried by ProcessContext.
A field can contain a useful default while still being unavailable. In particular, zero is a valid beat, sample, bar, loop, and host-time value. Consumers should query this mask instead of interpreting value sentinels.
| using pulp::format::TransportValidity::storage_type = std::uint16_t |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
friend |