Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QSpecialIntegerAccessor< S, pos, width, T > Class Template Reference

#include <qendian_p.h>

+ Collaboration diagram for QSpecialIntegerAccessor< S, pos, width, T >:

Public Types

using Const = QSpecialIntegerConstAccessor< S, pos, width, T >
 
using Storage = QSpecialIntegerStorage< S >
 
using Type = T
 
using UnsignedType = std::make_unsigned_t< T >
 

Public Member Functions

QSpecialIntegerAccessoroperator= (Type t)
 
 operator Const ()
 

Friends

template<class Storage , typename... Accessors>
class QSpecialIntegerBitfieldUnion
 

Detailed Description

template<class S, int pos, int width, class T>
class QSpecialIntegerAccessor< S, pos, width, T >

Definition at line 98 of file qendian_p.h.

Member Typedef Documentation

◆ Const

template<class S , int pos, int width, class T >
using QSpecialIntegerAccessor< S, pos, width, T >::Const = QSpecialIntegerConstAccessor<S, pos, width, T>

Definition at line 102 of file qendian_p.h.

◆ Storage

template<class S , int pos, int width, class T >
using QSpecialIntegerAccessor< S, pos, width, T >::Storage = QSpecialIntegerStorage<S>

Definition at line 103 of file qendian_p.h.

◆ Type

template<class S , int pos, int width, class T >
using QSpecialIntegerAccessor< S, pos, width, T >::Type = T

Definition at line 104 of file qendian_p.h.

◆ UnsignedType

template<class S , int pos, int width, class T >
using QSpecialIntegerAccessor< S, pos, width, T >::UnsignedType = std::make_unsigned_t<T>

Definition at line 105 of file qendian_p.h.

Member Function Documentation

◆ operator Const()

template<class S , int pos, int width, class T >
QSpecialIntegerAccessor< S, pos, width, T >::operator Const ( )
inline

Definition at line 116 of file qendian_p.h.

◆ operator=()

template<class S , int pos, int width, class T >
QSpecialIntegerAccessor & QSpecialIntegerAccessor< S, pos, width, T >::operator= ( Type  t)
inline

Definition at line 107 of file qendian_p.h.

References i, QSpecialIntegerConstAccessor< S, pos, width, T >::mask(), pos, and QSpecialIntegerStorage< S >::val.

+ Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ QSpecialIntegerBitfieldUnion

template<class S , int pos, int width, class T >
template<class Storage , typename... Accessors>
friend class QSpecialIntegerBitfieldUnion
friend

Definition at line 120 of file qendian_p.h.


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