LLVM 19.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 201 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 202 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 208 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 210 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 235 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 220 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 225 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 215 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 230 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 204 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 242 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 203 of file Endian.h.


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