Qt 6.x
The Qt SDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
QCharacterSetMatch< MaskType, Lowest > Struct Template Reference

#include <qlocale_p.h>

+ Collaboration diagram for QCharacterSetMatch< MaskType, Lowest >:

Public Member Functions

constexpr QCharacterSetMatch (std::string_view set)
 
constexpr bool matches (uchar c) const
 

Public Attributes

MaskType mask
 

Static Public Attributes

static constexpr int MaxRange = std::numeric_limits<MaskType>::digits
 

Detailed Description

template<typename MaskType, uchar Lowest>
struct QCharacterSetMatch< MaskType, Lowest >

Definition at line 35 of file qlocale_p.h.

Constructor & Destructor Documentation

◆ QCharacterSetMatch()

template<typename MaskType , uchar Lowest>
constexpr QCharacterSetMatch< MaskType, Lowest >::QCharacterSetMatch ( std::string_view  set)
inlineconstexpr

Definition at line 40 of file qlocale_p.h.

References set.

Member Function Documentation

◆ matches()

template<typename MaskType , uchar Lowest>
constexpr bool QCharacterSetMatch< MaskType, Lowest >::matches ( uchar  c) const
inlineconstexpr

Definition at line 49 of file qlocale_p.h.

References QCharacterSetMatch< MaskType, Lowest >::MaxRange.

Member Data Documentation

◆ mask

template<typename MaskType , uchar Lowest>
MaskType QCharacterSetMatch< MaskType, Lowest >::mask

Definition at line 38 of file qlocale_p.h.

◆ MaxRange

template<typename MaskType , uchar Lowest>
constexpr int QCharacterSetMatch< MaskType, Lowest >::MaxRange = std::numeric_limits<MaskType>::digits
staticconstexpr

Definition at line 37 of file qlocale_p.h.

Referenced by QCharacterSetMatch< MaskType, Lowest >::matches().


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