WPILibC++ 2027.0.0-alpha-4
Loading...
Searching...
No Matches
wpi::util::Struct< double > Struct Reference

Raw struct support for double values. More...

#include <wpi/util/struct/Struct.hpp>

Static Public Member Functions

static constexpr std::string_view GetTypeName ()
static constexpr size_t GetSize ()
static constexpr std::string_view GetSchema ()
static double Unpack (std::span< const uint8_t > data)
static void Pack (std::span< uint8_t > data, double value)

Detailed Description

Raw struct support for double values.

Primarily useful for higher level struct implementations.

Member Function Documentation

◆ GetSchema()

constexpr std::string_view wpi::util::Struct< double >::GetSchema ( )
inlinestaticconstexpr

◆ GetSize()

constexpr size_t wpi::util::Struct< double >::GetSize ( )
inlinestaticconstexpr

◆ GetTypeName()

constexpr std::string_view wpi::util::Struct< double >::GetTypeName ( )
inlinestaticconstexpr

◆ Pack()

void wpi::util::Struct< double >::Pack ( std::span< uint8_t > data,
double value )
inlinestatic

◆ Unpack()

double wpi::util::Struct< double >::Unpack ( std::span< const uint8_t > data)
inlinestatic

The documentation for this struct was generated from the following file: