diff --git a/cpp/qrcodegen.cpp b/cpp/qrcodegen.cpp index e52dd50..081b19c 100644 --- a/cpp/qrcodegen.cpp +++ b/cpp/qrcodegen.cpp @@ -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() {}