Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
CBC_QRCoder Class Referencefinal

#include <BC_QRCoder.h>

Collaboration diagram for CBC_QRCoder:

Public Member Functions

 CBC_QRCoder ()
 ~CBC_QRCoder ()
const CBC_QRCoderErrorCorrectionLevelGetECLevel () const
int32_t GetVersion () const
int32_t GetMatrixWidth () const
int32_t GetMaskPattern () const
int32_t GetNumTotalBytes () const
int32_t GetNumDataBytes () const
int32_t GetNumRSBlocks () const
std::unique_ptr< CBC_CommonByteMatrixTakeMatrix ()
bool IsValid () const
void SetECLevel (const CBC_QRCoderErrorCorrectionLevel *ecLevel)
void SetVersion (int32_t version)
void SetMatrixWidth (int32_t width)
void SetMaskPattern (int32_t pattern)
void SetNumDataBytes (int32_t bytes)
void SetNumTotalBytes (int32_t value)
void SetNumECBytes (int32_t value)
void SetNumRSBlocks (int32_t block)
void SetMatrix (std::unique_ptr< CBC_CommonByteMatrix > pMatrix)

Static Public Member Functions

static bool IsValidMaskPattern (int32_t maskPattern)

Static Public Attributes

static constexpr int32_t kNumMaskPatterns = 8

Detailed Description

Definition at line 17 of file BC_QRCoder.h.

Constructor & Destructor Documentation

◆ CBC_QRCoder()

CBC_QRCoder::CBC_QRCoder ( )
default

◆ ~CBC_QRCoder()

CBC_QRCoder::~CBC_QRCoder ( )
default

Member Function Documentation

◆ GetECLevel()

const CBC_QRCoderErrorCorrectionLevel * CBC_QRCoder::GetECLevel ( ) const

Definition at line 35 of file BC_QRCoder.cpp.

Referenced by CBC_QRCoderEncoder::Encode().

Here is the caller graph for this function:

◆ GetMaskPattern()

int32_t CBC_QRCoder::GetMaskPattern ( ) const

Definition at line 47 of file BC_QRCoder.cpp.

Referenced by CBC_QRCoderEncoder::Encode().

Here is the caller graph for this function:

◆ GetMatrixWidth()

int32_t CBC_QRCoder::GetMatrixWidth ( ) const

Definition at line 43 of file BC_QRCoder.cpp.

Referenced by CBC_QRCoderEncoder::Encode(), and CBC_QRCodeWriter::Encode().

Here is the caller graph for this function:

◆ GetNumDataBytes()

int32_t CBC_QRCoder::GetNumDataBytes ( ) const

Definition at line 55 of file BC_QRCoder.cpp.

Referenced by CBC_QRCoderEncoder::Encode().

Here is the caller graph for this function:

◆ GetNumRSBlocks()

int32_t CBC_QRCoder::GetNumRSBlocks ( ) const

Definition at line 59 of file BC_QRCoder.cpp.

Referenced by CBC_QRCoderEncoder::Encode().

Here is the caller graph for this function:

◆ GetNumTotalBytes()

int32_t CBC_QRCoder::GetNumTotalBytes ( ) const

Definition at line 51 of file BC_QRCoder.cpp.

Referenced by CBC_QRCoderEncoder::Encode().

Here is the caller graph for this function:

◆ GetVersion()

int32_t CBC_QRCoder::GetVersion ( ) const

Definition at line 39 of file BC_QRCoder.cpp.

Referenced by CBC_QRCoderEncoder::Encode().

Here is the caller graph for this function:

◆ IsValid()

bool CBC_QRCoder::IsValid ( ) const

Definition at line 67 of file BC_QRCoder.cpp.

Referenced by CBC_QRCoderEncoder::Encode().

Here is the caller graph for this function:

◆ IsValidMaskPattern()

bool CBC_QRCoder::IsValidMaskPattern ( int32_t maskPattern)
static

Definition at line 109 of file BC_QRCoder.cpp.

References kNumMaskPatterns.

◆ SetECLevel()

void CBC_QRCoder::SetECLevel ( const CBC_QRCoderErrorCorrectionLevel * ecLevel)

Definition at line 77 of file BC_QRCoder.cpp.

◆ SetMaskPattern()

void CBC_QRCoder::SetMaskPattern ( int32_t pattern)

Definition at line 89 of file BC_QRCoder.cpp.

Referenced by CBC_QRCoderEncoder::Encode().

Here is the caller graph for this function:

◆ SetMatrix()

void CBC_QRCoder::SetMatrix ( std::unique_ptr< CBC_CommonByteMatrix > pMatrix)

Definition at line 113 of file BC_QRCoder.cpp.

◆ SetMatrixWidth()

void CBC_QRCoder::SetMatrixWidth ( int32_t width)

Definition at line 85 of file BC_QRCoder.cpp.

◆ SetNumDataBytes()

void CBC_QRCoder::SetNumDataBytes ( int32_t bytes)

Definition at line 93 of file BC_QRCoder.cpp.

◆ SetNumECBytes()

void CBC_QRCoder::SetNumECBytes ( int32_t value)

Definition at line 105 of file BC_QRCoder.cpp.

◆ SetNumRSBlocks()

void CBC_QRCoder::SetNumRSBlocks ( int32_t block)

Definition at line 101 of file BC_QRCoder.cpp.

◆ SetNumTotalBytes()

void CBC_QRCoder::SetNumTotalBytes ( int32_t value)

Definition at line 97 of file BC_QRCoder.cpp.

◆ SetVersion()

void CBC_QRCoder::SetVersion ( int32_t version)

Definition at line 81 of file BC_QRCoder.cpp.

◆ TakeMatrix()

std::unique_ptr< CBC_CommonByteMatrix > CBC_QRCoder::TakeMatrix ( )

Definition at line 63 of file BC_QRCoder.cpp.

Member Data Documentation

◆ kNumMaskPatterns

int32_t CBC_QRCoder::kNumMaskPatterns = 8
staticconstexpr

Definition at line 19 of file BC_QRCoder.h.

Referenced by IsValidMaskPattern().


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