Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QSpecialIntegerConstAccessor< S, pos, width, T > Class Template Reference

#include <qendian_p.h>

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

Public Types

using Storage = const QSpecialIntegerStorage<S>
 
using Type = T
 
using UnsignedType = std::make_unsigned_t<T>
 

Public Member Functions

 operator Type () const noexcept
 
bool operator! () const noexcept
 

Static Public Member Functions

static constexpr UnsignedType mask () noexcept
 

Friends

template<class Storage , typename... Accessors>
class QSpecialIntegerBitfieldUnion
 
class QSpecialIntegerAccessor< S, pos, width, T >
 
bool operator== (const QSpecialIntegerConstAccessor< S, pos, width, T > &i, const QSpecialIntegerConstAccessor< S, pos, width, T > &j) noexcept
 
bool operator!= (const QSpecialIntegerConstAccessor< S, pos, width, T > &i, const QSpecialIntegerConstAccessor< S, pos, width, T > &j) noexcept
 

Detailed Description

template<class S, int pos, int width, class T = typename S::StorageType>
class QSpecialIntegerConstAccessor< S, pos, width, T >

Definition at line 43 of file qendian_p.h.

Member Typedef Documentation

◆ Storage

template<class S , int pos, int width, class T = typename S::StorageType>
using QSpecialIntegerConstAccessor< S, pos, width, T >::Storage = const QSpecialIntegerStorage<S>

Definition at line 47 of file qendian_p.h.

◆ Type

template<class S , int pos, int width, class T = typename S::StorageType>
using QSpecialIntegerConstAccessor< S, pos, width, T >::Type = T

Definition at line 48 of file qendian_p.h.

◆ UnsignedType

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

Definition at line 49 of file qendian_p.h.

Member Function Documentation

◆ mask()

template<class S , int pos, int width, class T = typename S::StorageType>
static constexpr UnsignedType QSpecialIntegerConstAccessor< S, pos, width, T >::mask ( )
inlinestaticconstexprnoexcept

Definition at line 65 of file qendian_p.h.

References pos.

Referenced by QSpecialIntegerConstAccessor< S, pos, width, T >::operator Type(), and QSpecialIntegerConstAccessor< S, pos, width, T >::operator!().

+ Here is the caller graph for this function:

◆ operator Type()

template<class S , int pos, int width, class T = typename S::StorageType>
QSpecialIntegerConstAccessor< S, pos, width, T >::operator Type ( ) const
inlinenoexcept

Definition at line 51 of file qendian_p.h.

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

+ Here is the call graph for this function:

◆ operator!()

template<class S , int pos, int width, class T = typename S::StorageType>
bool QSpecialIntegerConstAccessor< S, pos, width, T >::operator! ( ) const
inlinenoexcept

Definition at line 63 of file qendian_p.h.

References QSpecialIntegerConstAccessor< S, pos, width, T >::mask().

+ Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ operator!=

template<class S , int pos, int width, class T = typename S::StorageType>
bool operator!= ( const QSpecialIntegerConstAccessor< S, pos, width, T > & i,
const QSpecialIntegerConstAccessor< S, pos, width, T > & j )
friend

Definition at line 88 of file qendian_p.h.

◆ operator==

template<class S , int pos, int width, class T = typename S::StorageType>
bool operator== ( const QSpecialIntegerConstAccessor< S, pos, width, T > & i,
const QSpecialIntegerConstAccessor< S, pos, width, T > & j )
friend

Definition at line 82 of file qendian_p.h.

◆ QSpecialIntegerAccessor< S, pos, width, T >

template<class S , int pos, int width, class T = typename S::StorageType>
friend class QSpecialIntegerAccessor< S, pos, width, T >
friend

Definition at line 77 of file qendian_p.h.

◆ QSpecialIntegerBitfieldUnion

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

Definition at line 77 of file qendian_p.h.


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