68 private:
Mode(
int mode,
int cc0,
int cc1,
int cc2);
113 public:
static std::vector<QrSegment>
makeSegments(
const char *text);
134 public:
static bool isNumeric(
const char *text);
147 private: std::vector<bool>
data;
155 public:
QrSegment(
Mode md,
int numCh,
const std::vector<bool> &dt);
161 public:
QrSegment(
Mode md,
int numCh, std::vector<bool> &&dt);
172 public:
const std::vector<bool> &
getData()
const;
176 public:
static int getTotalBits(
const std::vector<QrSegment> &segs,
int version);
Mode getMode() const
Definition: QrSegment.cpp:211
static const Mode ALPHANUMERIC
Definition: QrSegment.h:53
static int getTotalBits(const std::vector< QrSegment > &segs, int version)
Definition: QrSegment.cpp:172
const std::vector< bool > & getData() const
Definition: QrSegment.cpp:221
static QrSegment makeNumeric(const char *digits)
Definition: QrSegment.cpp:74
static QrSegment makeEci(long assignVal)
Definition: QrSegment.cpp:138
static const Mode ECI
Definition: QrSegment.h:56
Definition: QrSegment.h:48
int modeBits
Definition: QrSegment.h:61
int getModeBits() const
Definition: QrSegment.cpp:43
static const char * ALPHANUMERIC_CHARSET
Definition: QrSegment.h:182
int numBitsCharCount[3]
Definition: QrSegment.h:63
static const Mode BYTE
Definition: QrSegment.h:54
static const Mode KANJI
Definition: QrSegment.h:55
static QrSegment makeBytes(const std::vector< std::uint8_t > &data)
Definition: QrSegment.cpp:64
Definition: QrSegment.h:41
QrSegment(Mode md, int numCh, const std::vector< bool > &dt)
Definition: QrSegment.cpp:154
static bool isAlphanumeric(const char *text)
Definition: QrSegment.cpp:192
static bool isNumeric(const char *text)
Definition: QrSegment.cpp:201
static std::vector< QrSegment > makeSegments(const char *text)
Definition: QrSegment.cpp:120
int numChars
Definition: QrSegment.h:144
std::vector< bool > data
Definition: QrSegment.h:147
Mode mode
Definition: QrSegment.h:141
static QrSegment makeAlphanumeric(const char *text)
Definition: QrSegment.cpp:97
int numCharCountBits(int ver) const
Definition: QrSegment.cpp:48
static const Mode NUMERIC
Definition: QrSegment.h:52
Mode(int mode, int cc0, int cc1, int cc2)
Definition: QrSegment.cpp:35
int getNumChars() const
Definition: QrSegment.cpp:216