BigBlueBox
An Inventory Management System for a NYLT Course or other Boy Scout Programs
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Pages
Classes | Public Member Functions | Static Public Member Functions | Private Attributes | Static Private Attributes | List of all members
qrcodegen::QrSegment Class Referencefinal

#include <QrSegment.h>

Collaboration diagram for qrcodegen::QrSegment:
Collaboration graph
[legend]

Classes

class  Mode
 

Public Member Functions

 QrSegment (Mode md, int numCh, const std::vector< bool > &dt)
 
 QrSegment (Mode md, int numCh, std::vector< bool > &&dt)
 
Mode getMode () const
 
int getNumChars () const
 
const std::vector< bool > & getData () const
 

Static Public Member Functions

static QrSegment makeBytes (const std::vector< std::uint8_t > &data)
 
static QrSegment makeNumeric (const char *digits)
 
static QrSegment makeAlphanumeric (const char *text)
 
static std::vector< QrSegmentmakeSegments (const char *text)
 
static QrSegment makeEci (long assignVal)
 
static bool isAlphanumeric (const char *text)
 
static bool isNumeric (const char *text)
 
static int getTotalBits (const std::vector< QrSegment > &segs, int version)
 

Private Attributes

Mode mode
 
int numChars
 
std::vector< bool > data
 

Static Private Attributes

static const char * ALPHANUMERIC_CHARSET = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:"
 

Constructor & Destructor Documentation

qrcodegen::QrSegment::QrSegment ( Mode  md,
int  numCh,
const std::vector< bool > &  dt 
)

Here is the caller graph for this function:

qrcodegen::QrSegment::QrSegment ( Mode  md,
int  numCh,
std::vector< bool > &&  dt 
)

Member Function Documentation

const std::vector< bool > & qrcodegen::QrSegment::getData ( ) const
QrSegment::Mode qrcodegen::QrSegment::getMode ( ) const
int qrcodegen::QrSegment::getNumChars ( ) const
int qrcodegen::QrSegment::getTotalBits ( const std::vector< QrSegment > &  segs,
int  version 
)
static

Here is the caller graph for this function:

bool qrcodegen::QrSegment::isAlphanumeric ( const char *  text)
static

Here is the caller graph for this function:

bool qrcodegen::QrSegment::isNumeric ( const char *  text)
static

Here is the caller graph for this function:

QrSegment qrcodegen::QrSegment::makeAlphanumeric ( const char *  text)
static

Here is the call graph for this function:

Here is the caller graph for this function:

QrSegment qrcodegen::QrSegment::makeBytes ( const std::vector< std::uint8_t > &  data)
static

Here is the call graph for this function:

Here is the caller graph for this function:

QrSegment qrcodegen::QrSegment::makeEci ( long  assignVal)
static

Here is the call graph for this function:

QrSegment qrcodegen::QrSegment::makeNumeric ( const char *  digits)
static

Here is the call graph for this function:

Here is the caller graph for this function:

vector< QrSegment > qrcodegen::QrSegment::makeSegments ( const char *  text)
static

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

const char * qrcodegen::QrSegment::ALPHANUMERIC_CHARSET = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:"
staticprivate
std::vector<bool> qrcodegen::QrSegment::data
private
Mode qrcodegen::QrSegment::mode
private
int qrcodegen::QrSegment::numChars
private

The documentation for this class was generated from the following files: