Added class section comments to C++ code, related to commit 096c70cd4d.

pull/134/head
Project Nayuki 3 years ago
parent edc91c622e
commit 97b2d9d71c

@ -39,6 +39,8 @@ using std::vector;
namespace qrcodegen {
/*---- Class QrSegment ----*/
QrSegment::Mode::Mode(int mode, int cc0, int cc1, int cc2) :
modeBits(mode) {
numBitsCharCount[0] = cc0;
@ -229,6 +231,8 @@ const char *QrSegment::ALPHANUMERIC_CHARSET = "0123456789ABCDEFGHIJKLMNOPQRSTUVW
/*---- Class QrCode ----*/
int QrCode::getFormatBits(Ecc ecl) {
switch (ecl) {
case Ecc::LOW : return 1;
@ -820,6 +824,8 @@ data_too_long::data_too_long(const std::string &msg) :
/*---- Class BitBuffer ----*/
BitBuffer::BitBuffer()
: std::vector<bool>() {}

Loading…
Cancel
Save