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

#include "llvm/Support/Endian.h"

Inheritance diagram for llvm::support::detail::packed_endian_specific_integral< ValueType, Endian, Alignment >:
Inheritance graph
[legend]
Collaboration diagram for llvm::support::detail::packed_endian_specific_integral< ValueType, Endian, Alignment >:
Collaboration 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>
struct llvm::support::detail::packed_endian_specific_integral< ValueType, Endian, Alignment >

Definition at line 209 of file Endian.h.

Member Typedef Documentation

◆ value_type

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

Definition at line 210 of file Endian.h.

Constructor & Destructor Documentation

◆ packed_endian_specific_integral() [1/2]

template<typename ValueType, endianness Endian, std::size_t Alignment>
llvm::support::detail::packed_endian_specific_integral< ValueType, Endian, Alignment >::packed_endian_specific_integral ( )
default

◆ packed_endian_specific_integral() [2/2]

template<typename ValueType, endianness Endian, std::size_t Alignment>
llvm::support::detail::packed_endian_specific_integral< ValueType, Endian, Alignment >::packed_endian_specific_integral ( value_type  val)
inlineexplicit

Definition at line 216 of file Endian.h.

Member Function Documentation

◆ operator &=()

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

Definition at line 243 of file Endian.h.

◆ operator value_type()

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

Definition at line 218 of file Endian.h.

◆ operator+=()

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

Definition at line 228 of file Endian.h.

◆ operator-=()

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

Definition at line 233 of file Endian.h.

◆ operator=()

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

Definition at line 223 of file Endian.h.

◆ operator|=()

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

Definition at line 238 of file Endian.h.

Member Data Documentation

◆ alignment

template<typename ValueType, endianness Endian, std::size_t Alignment>
constexpr std::size_t llvm::support::detail::packed_endian_specific_integral< ValueType, Endian, Alignment >::alignment = Alignment
static

Definition at line 212 of file Endian.h.

◆ endian

template<typename ValueType, endianness Endian, std::size_t Alignment>
constexpr endianness llvm::support::detail::packed_endian_specific_integral< ValueType, Endian, Alignment >::endian = Endian
static

Definition at line 211 of file Endian.h.


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