![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <BC_QRCoder.h>
Public Member Functions | |
| CBC_QRCoder () | |
| ~CBC_QRCoder () | |
| const CBC_QRCoderErrorCorrectionLevel * | GetECLevel () 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_CommonByteMatrix > | TakeMatrix () |
| 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 |
Definition at line 17 of file BC_QRCoder.h.
|
default |
|
default |
| const CBC_QRCoderErrorCorrectionLevel * CBC_QRCoder::GetECLevel | ( | ) | const |
Definition at line 35 of file BC_QRCoder.cpp.
Referenced by CBC_QRCoderEncoder::Encode().
| int32_t CBC_QRCoder::GetMaskPattern | ( | ) | const |
Definition at line 47 of file BC_QRCoder.cpp.
Referenced by CBC_QRCoderEncoder::Encode().
| int32_t CBC_QRCoder::GetMatrixWidth | ( | ) | const |
Definition at line 43 of file BC_QRCoder.cpp.
Referenced by CBC_QRCoderEncoder::Encode(), and CBC_QRCodeWriter::Encode().
| int32_t CBC_QRCoder::GetNumDataBytes | ( | ) | const |
Definition at line 55 of file BC_QRCoder.cpp.
Referenced by CBC_QRCoderEncoder::Encode().
| int32_t CBC_QRCoder::GetNumRSBlocks | ( | ) | const |
Definition at line 59 of file BC_QRCoder.cpp.
Referenced by CBC_QRCoderEncoder::Encode().
| int32_t CBC_QRCoder::GetNumTotalBytes | ( | ) | const |
Definition at line 51 of file BC_QRCoder.cpp.
Referenced by CBC_QRCoderEncoder::Encode().
| int32_t CBC_QRCoder::GetVersion | ( | ) | const |
Definition at line 39 of file BC_QRCoder.cpp.
Referenced by CBC_QRCoderEncoder::Encode().
| bool CBC_QRCoder::IsValid | ( | ) | const |
Definition at line 67 of file BC_QRCoder.cpp.
Referenced by CBC_QRCoderEncoder::Encode().
|
static |
Definition at line 109 of file BC_QRCoder.cpp.
References kNumMaskPatterns.
| void CBC_QRCoder::SetECLevel | ( | const CBC_QRCoderErrorCorrectionLevel * | ecLevel | ) |
Definition at line 77 of file BC_QRCoder.cpp.
| void CBC_QRCoder::SetMaskPattern | ( | int32_t | pattern | ) |
Definition at line 89 of file BC_QRCoder.cpp.
Referenced by CBC_QRCoderEncoder::Encode().
| void CBC_QRCoder::SetMatrix | ( | std::unique_ptr< CBC_CommonByteMatrix > | pMatrix | ) |
Definition at line 113 of file BC_QRCoder.cpp.
| void CBC_QRCoder::SetMatrixWidth | ( | int32_t | width | ) |
Definition at line 85 of file BC_QRCoder.cpp.
| void CBC_QRCoder::SetNumDataBytes | ( | int32_t | bytes | ) |
Definition at line 93 of file BC_QRCoder.cpp.
| void CBC_QRCoder::SetNumECBytes | ( | int32_t | value | ) |
Definition at line 105 of file BC_QRCoder.cpp.
| void CBC_QRCoder::SetNumRSBlocks | ( | int32_t | block | ) |
Definition at line 101 of file BC_QRCoder.cpp.
| void CBC_QRCoder::SetNumTotalBytes | ( | int32_t | value | ) |
Definition at line 97 of file BC_QRCoder.cpp.
| void CBC_QRCoder::SetVersion | ( | int32_t | version | ) |
Definition at line 81 of file BC_QRCoder.cpp.
| std::unique_ptr< CBC_CommonByteMatrix > CBC_QRCoder::TakeMatrix | ( | ) |
Definition at line 63 of file BC_QRCoder.cpp.
|
staticconstexpr |
Definition at line 19 of file BC_QRCoder.h.
Referenced by IsValidMaskPattern().