Raw struct support for fixed-size arrays of other structs.
More...
#include <wpi/struct/Struct.h>
|
static constexpr auto | GetTypeString () |
|
static constexpr size_t | GetSize () |
|
static constexpr auto | GetSchema () |
|
static std::array< T, N > | Unpack (std::span< const uint8_t > data) |
|
static void | Pack (std::span< uint8_t > data, std::span< const T, N > values) |
|
static void | UnpackInto (std::array< T, N > *out, std::span< const uint8_t > data) |
|
static void | UnpackInto (std::span< T, N > out, std::span< const uint8_t > data) |
|
template<StructSerializable T, size_t N>
struct wpi::Struct< std::array< T, N > >
Raw struct support for fixed-size arrays of other structs.
◆ GetSchema()
template<StructSerializable T, size_t N>
static constexpr auto wpi::Struct< std::array< T, N > >::GetSchema |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ GetSize()
template<StructSerializable T, size_t N>
static constexpr size_t wpi::Struct< std::array< T, N > >::GetSize |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ GetTypeString()
template<StructSerializable T, size_t N>
static constexpr auto wpi::Struct< std::array< T, N > >::GetTypeString |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ Pack()
template<StructSerializable T, size_t N>
static void wpi::Struct< std::array< T, N > >::Pack |
( |
std::span< uint8_t > |
data, |
|
|
std::span< const T, N > |
values |
|
) |
| |
|
inlinestatic |
◆ Unpack()
template<StructSerializable T, size_t N>
static std::array< T, N > wpi::Struct< std::array< T, N > >::Unpack |
( |
std::span< const uint8_t > |
data | ) |
|
|
inlinestatic |
◆ UnpackInto() [1/2]
template<StructSerializable T, size_t N>
static void wpi::Struct< std::array< T, N > >::UnpackInto |
( |
std::array< T, N > * |
out, |
|
|
std::span< const uint8_t > |
data |
|
) |
| |
|
inlinestatic |
◆ UnpackInto() [2/2]
template<StructSerializable T, size_t N>
static void wpi::Struct< std::array< T, N > >::UnpackInto |
( |
std::span< T, N > |
out, |
|
|
std::span< const uint8_t > |
data |
|
) |
| |
|
inlinestatic |
The documentation for this struct was generated from the following file: