MCPcopy Create free account
hub / github.com/devilsen/CZXing / GetTable

Function GetTable

czxing/src/main/cpp/zxing/src/aztec/AZDecoder.cpp:176–187  ·  view source on GitHub ↗

* gets the table corresponding to the char passed */

Source from the content-addressed store, hash-verified

174* gets the table corresponding to the char passed
175*/
176static Table GetTable(char t)
177{
178 switch (t) {
179 case 'L': return Table::LOWER;
180 case 'P': return Table::PUNCT;
181 case 'M': return Table::MIXED;
182 case 'D': return Table::DIGIT;
183 case 'B': return Table::BINARY;
184 case 'U':
185 default: return Table::UPPER;
186 }
187}
188
189/**
190* Gets the character (or string) corresponding to the passed code in the given table

Callers 1

DecodeContentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected