WPILibC++ 2024.3.2
wpi::support::detail::packed_endian_specific_integral< ValueType, Endian, Alignment, ALIGN > Struct Template Reference

#include </home/runner/work/allwpilib/allwpilib/wpiutil/src/main/native/thirdparty/llvm/include/wpi/Endian.h>

Classes

struct  ref
 

Public Types

using value_type = ValueType
 

Public Member Functions

 packed_endian_specific_integral ()=default
 
 packed_endian_specific_integral (value_type val)
 
 operator value_type () const
 
void operator= (value_type newValue)
 
packed_endian_specific_integraloperator+= (value_type newValue)
 
packed_endian_specific_integraloperator-= (value_type newValue)
 
packed_endian_specific_integraloperator|= (value_type newValue)
 
packed_endian_specific_integraloperator&= (value_type newValue)
 

Static Public Attributes

static constexpr endianness endian = Endian
 
static constexpr std::size_t alignment = Alignment
 

Member Typedef Documentation

◆ value_type

template<typename ValueType , endianness Endian, std::size_t Alignment, std::size_t ALIGN = PickAlignment<ValueType, Alignment>::value>
using wpi::support::detail::packed_endian_specific_integral< ValueType, Endian, Alignment, ALIGN >::value_type = ValueType

Constructor & Destructor Documentation

◆ packed_endian_specific_integral() [1/2]

template<typename ValueType , endianness Endian, std::size_t Alignment, std::size_t ALIGN = PickAlignment<ValueType, Alignment>::value>
wpi::support::detail::packed_endian_specific_integral< ValueType, Endian, Alignment, ALIGN >::packed_endian_specific_integral ( )
default

◆ packed_endian_specific_integral() [2/2]

template<typename ValueType , endianness Endian, std::size_t Alignment, std::size_t ALIGN = PickAlignment<ValueType, Alignment>::value>
wpi::support::detail::packed_endian_specific_integral< ValueType, Endian, Alignment, ALIGN >::packed_endian_specific_integral ( value_type  val)
inlineexplicit

Member Function Documentation

◆ operator value_type()

template<typename ValueType , endianness Endian, std::size_t Alignment, std::size_t ALIGN = PickAlignment<ValueType, Alignment>::value>
wpi::support::detail::packed_endian_specific_integral< ValueType, Endian, Alignment, ALIGN >::operator value_type ( ) const
inline

◆ operator&=()

template<typename ValueType , endianness Endian, std::size_t Alignment, std::size_t ALIGN = PickAlignment<ValueType, Alignment>::value>
packed_endian_specific_integral & wpi::support::detail::packed_endian_specific_integral< ValueType, Endian, Alignment, ALIGN >::operator&= ( value_type  newValue)
inline

◆ operator+=()

template<typename ValueType , endianness Endian, std::size_t Alignment, std::size_t ALIGN = PickAlignment<ValueType, Alignment>::value>
packed_endian_specific_integral & wpi::support::detail::packed_endian_specific_integral< ValueType, Endian, Alignment, ALIGN >::operator+= ( value_type  newValue)
inline

◆ operator-=()

template<typename ValueType , endianness Endian, std::size_t Alignment, std::size_t ALIGN = PickAlignment<ValueType, Alignment>::value>
packed_endian_specific_integral & wpi::support::detail::packed_endian_specific_integral< ValueType, Endian, Alignment, ALIGN >::operator-= ( value_type  newValue)
inline

◆ operator=()

template<typename ValueType , endianness Endian, std::size_t Alignment, std::size_t ALIGN = PickAlignment<ValueType, Alignment>::value>
void wpi::support::detail::packed_endian_specific_integral< ValueType, Endian, Alignment, ALIGN >::operator= ( value_type  newValue)
inline

◆ operator|=()

template<typename ValueType , endianness Endian, std::size_t Alignment, std::size_t ALIGN = PickAlignment<ValueType, Alignment>::value>
packed_endian_specific_integral & wpi::support::detail::packed_endian_specific_integral< ValueType, Endian, Alignment, ALIGN >::operator|= ( value_type  newValue)
inline

Member Data Documentation

◆ alignment

template<typename ValueType , endianness Endian, std::size_t Alignment, std::size_t ALIGN = PickAlignment<ValueType, Alignment>::value>
constexpr std::size_t wpi::support::detail::packed_endian_specific_integral< ValueType, Endian, Alignment, ALIGN >::alignment = Alignment
staticconstexpr

◆ buffer

template<typename ValueType , endianness Endian, std::size_t Alignment, std::size_t ALIGN = PickAlignment<ValueType, Alignment>::value>
char wpi::support::detail::packed_endian_specific_integral< ValueType, Endian, Alignment, ALIGN >::buffer[sizeof(value_type)]

◆ endian

template<typename ValueType , endianness Endian, std::size_t Alignment, std::size_t ALIGN = PickAlignment<ValueType, Alignment>::value>
constexpr endianness wpi::support::detail::packed_endian_specific_integral< ValueType, Endian, Alignment, ALIGN >::endian = Endian
staticconstexpr

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