LLVM 20.0.0git
Classes | Public Types | Public Member Functions | Static Public Attributes | List of all members
llvm::support::detail::packed_endian_specific_integral< ValueType, Endian, Alignment, ALIGN > Struct Template Reference

#include "llvm/Support/Endian.h"

Inheritance diagram for llvm::support::detail::packed_endian_specific_integral< ValueType, Endian, Alignment, ALIGN >:
Inheritance graph
[legend]

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
 

Detailed Description

template<typename ValueType, endianness Endian, std::size_t Alignment, std::size_t ALIGN = PickAlignment<ValueType, Alignment>::value>
struct llvm::support::detail::packed_endian_specific_integral< ValueType, Endian, Alignment, ALIGN >

Definition at line 217 of file Endian.h.

Member Typedef Documentation

◆ value_type

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

Definition at line 218 of file Endian.h.

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>
llvm::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>
llvm::support::detail::packed_endian_specific_integral< ValueType, Endian, Alignment, ALIGN >::packed_endian_specific_integral ( value_type  val)
inlineexplicit

Definition at line 224 of file Endian.h.

Member Function Documentation

◆ operator value_type()

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

Definition at line 226 of file Endian.h.

◆ operator&=()

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

Definition at line 251 of file Endian.h.

◆ operator+=()

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

Definition at line 236 of file Endian.h.

◆ operator-=()

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

Definition at line 241 of file Endian.h.

◆ operator=()

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

Definition at line 231 of file Endian.h.

◆ operator|=()

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

Definition at line 246 of file Endian.h.

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 llvm::support::detail::packed_endian_specific_integral< ValueType, Endian, Alignment, ALIGN >::alignment = Alignment
staticconstexpr

Definition at line 220 of file Endian.h.

◆ buffer

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

Definition at line 258 of file Endian.h.

◆ endian

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

Definition at line 219 of file Endian.h.


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