famouso::mw::attributes::detail::AttributeSize< Attr > Struct Template Reference
Calculates the overall number of bytes used by the binary representation of the given attribute, that is, the header and the value. More...
#include <AttributeSize.h>
Static Public Attributes | |
static const uint16_t | value |
The calculated overall attribute size in bytes. |
Detailed Description
template<typename Attr>
struct famouso::mw::attributes::detail::AttributeSize< Attr >
Calculates the overall number of bytes used by the binary representation of the given attribute, that is, the header and the value.
- Template Parameters:
-
Attr The attribute type of which the overall size should be calculated
Field Documentation
template<typename Attr >
const uint16_t famouso::mw::attributes::detail::AttributeSize< Attr >::value [static] |
Initial value:
CaseSelector<uint16_t, 1, 2, (1 + byteCount), (2 + byteCount), (1 + 1 + byteCount), (2 + 1 + byteCount) >::template select_ct<Attr>::value
The calculated overall attribute size in bytes.
The documentation for this struct was generated from the following file:
- include/mw/attributes/detail/AttributeSize.h