CVB++ 14.0
ReadResultDataMatrix Class Reference

Derived from ReadResult and gives specific access to DataMatrix and PharmaCode2D results. More...

#include <cvb/barcode/_detail/read_result_data_matrix.hpp>

Inherits ReadResult2D.

Public Member Functions

 ReadResultDataMatrix (CExports::CVC_BC_INFO &handle)
 Constructor to initialize object from info struct. More...
 
PharmaCode2DDisposition Bar1 () const
 Status of Bar 1 of a PharmaCode2D (if applicable). More...
 
PharmaCode2DDisposition Bar2 () const
 Status of Bar 2 of a PharmaCode2D (if applicable). More...
 
PharmaCode2DDisposition Bar3 () const
 Status of Bar 3 of a PharmaCode2D (if applicable). More...
 
PharmaCode2DDisposition Bar4 () const
 Status of Bar 4 of a PharmaCode2D (if applicable). More...
 
PharmaCode2DDisposition Bar5 () const
 Status of Bar 5 of a PharmaCode2D (if applicable). More...
 
PharmaCode2DDisposition Bar6 () const
 Status of Bar 6 of a PharmaCode2D (if applicable). More...
 
PharmaCode2DDisposition Bar7 () const
 Status of Bar 7 of a PharmaCode2D (if applicable). More...
 
PharmaCode2DDisposition Bar8 () const
 Status of Bar 8 of a PharmaCode2D (if applicable). More...
 
int Bar1Contrast () const
 Contrast of Bar 1 of a PharmaCode2D (if applicable). More...
 
int Bar2Contrast () const
 Contrast of Bar 2 of a PharmaCode2D (if applicable). More...
 
int Bar3Contrast () const
 Contrast of Bar 3 of a PharmaCode2D (if applicable). More...
 
int Bar4Contrast () const
 Contrast of Bar 4 of a PharmaCode2D (if applicable). More...
 
int Bar5Contrast () const
 Contrast of Bar 5 of a PharmaCode2D (if applicable). More...
 
int Bar6Contrast () const
 Contrast of Bar 6 of a PharmaCode2D (if applicable). More...
 
int Bar7Contrast () const
 Contrast of Bar 7 of a PharmaCode2D (if applicable). More...
 
int Bar8Contrast () const
 Contrast of Bar 8 of a PharmaCode2D (if applicable). More...
 
EccLevelQr EccLevel () const
 ECC level of the code. More...
 
GradeResultDataMatrixPtr GradeResult () const
 Grading result in case grading was activated. More...
 
- Public Member Functions inherited from ReadResult2D
 ReadResult2D (CExports::CVC_BC_INFO &handle)
 Constructor to initialize object from info struct. More...
 
int NumColumns () const
 The return value specifies the number of columns of the code, only with Data Matrix and PDF 417. More...
 
int NumRows () const
 The return value specifies the number of rows of the code, only with Data Matrix and PDF 417. More...
 
int UsedEcc () const
 The return value specifies the used ecc for the error correction in percent. More...
 
- Public Member Functions inherited from ReadResult
 ReadResult (CExports::CVC_BC_INFO &handle)
 Constructor to initialize object from info struct. More...
 
virtual Cvb::String Text () const noexcept
 The text content of the barcode. More...
 
int CharactersRead () const
 The return value contains the number of characters in the read barcode. More...
 
int DecodeTime () const
 The return value specifies the time consumed for decoding in units of ms. More...
 
std::vector< Cvb::Point2D< double > > Location () const
 Location of the barcode inside the image. More...
 
int NumWords () const
 Contains the number of code words composing the read barcode. More...
 
double Resolution () const
 The resolution specifies the smallest width unit in the code in multiples of a 10th of a pixel. More...
 
DecodeResult Result () const
 Decoding result. More...
 
Symbology Type () const
 Symbology of the decoded result. More...
 

Detailed Description

Derived from ReadResult and gives specific access to DataMatrix and PharmaCode2D results.

Use this object for DataMatrix and PharmaCode2D barcodes.

Constructor & Destructor Documentation

◆ ReadResultDataMatrix()

ReadResultDataMatrix ( CExports::CVC_BC_INFO &  handle)
inline

Constructor to initialize object from info struct.

Exceptions
Anyexception derived from std::exception including CvbException.

Member Function Documentation

◆ Bar1()

PharmaCode2DDisposition Bar1 ( ) const
inline

Status of Bar 1 of a PharmaCode2D (if applicable).

Returns
Status of Bar 1 of a PharmaCode2D (if applicable).
Exceptions
Anyexception derived from std::exception including CvbException.

◆ Bar1Contrast()

int Bar1Contrast ( ) const
inline

Contrast of Bar 1 of a PharmaCode2D (if applicable).

Returns
Contrast of Bar 1 of a PharmaCode2D (if applicable).
Exceptions
Anyexception derived from std::exception including CvbException.

◆ Bar2()

PharmaCode2DDisposition Bar2 ( ) const
inline

Status of Bar 2 of a PharmaCode2D (if applicable).

Returns
Status of Bar 2 of a PharmaCode2D (if applicable).
Exceptions
Anyexception derived from std::exception including CvbException.

◆ Bar2Contrast()

int Bar2Contrast ( ) const
inline

Contrast of Bar 2 of a PharmaCode2D (if applicable).

Returns
Contrast of Bar 2 of a PharmaCode2D (if applicable).
Exceptions
Anyexception derived from std::exception including CvbException.

◆ Bar3()

PharmaCode2DDisposition Bar3 ( ) const
inline

Status of Bar 3 of a PharmaCode2D (if applicable).

Returns
Status of Bar 3 of a PharmaCode2D (if applicable).
Exceptions
Anyexception derived from std::exception including CvbException.

◆ Bar3Contrast()

int Bar3Contrast ( ) const
inline

Contrast of Bar 3 of a PharmaCode2D (if applicable).

Returns
Contrast of Bar 3 of a PharmaCode2D (if applicable).
Exceptions
Anyexception derived from std::exception including CvbException.

◆ Bar4()

PharmaCode2DDisposition Bar4 ( ) const
inline

Status of Bar 4 of a PharmaCode2D (if applicable).

Returns
Status of Bar 4 of a PharmaCode2D (if applicable).
Exceptions
Anyexception derived from std::exception including CvbException.

◆ Bar4Contrast()

int Bar4Contrast ( ) const
inline

Contrast of Bar 4 of a PharmaCode2D (if applicable).

Returns
Contrast of Bar 4 of a PharmaCode2D (if applicable).
Exceptions
Anyexception derived from std::exception including CvbException.

◆ Bar5()

PharmaCode2DDisposition Bar5 ( ) const
inline

Status of Bar 5 of a PharmaCode2D (if applicable).

Returns
Status of Bar 5 of a PharmaCode2D (if applicable).
Exceptions
Anyexception derived from std::exception including CvbException.

◆ Bar5Contrast()

int Bar5Contrast ( ) const
inline

Contrast of Bar 5 of a PharmaCode2D (if applicable).

Returns
Contrast of Bar 5 of a PharmaCode2D (if applicable).
Exceptions
Anyexception derived from std::exception including CvbException.

◆ Bar6()

PharmaCode2DDisposition Bar6 ( ) const
inline

Status of Bar 6 of a PharmaCode2D (if applicable).

Returns
Status of Bar 6 of a PharmaCode2D (if applicable).
Exceptions
Anyexception derived from std::exception including CvbException.

◆ Bar6Contrast()

int Bar6Contrast ( ) const
inline

Contrast of Bar 6 of a PharmaCode2D (if applicable).

Returns
Contrast of Bar 6 of a PharmaCode2D (if applicable).
Exceptions
Anyexception derived from std::exception including CvbException.

◆ Bar7()

PharmaCode2DDisposition Bar7 ( ) const
inline

Status of Bar 7 of a PharmaCode2D (if applicable).

Returns
Status of Bar 7 of a PharmaCode2D (if applicable).
Exceptions
Anyexception derived from std::exception including CvbException.

◆ Bar7Contrast()

int Bar7Contrast ( ) const
inline

Contrast of Bar 7 of a PharmaCode2D (if applicable).

Returns
Contrast of Bar 7 of a PharmaCode2D (if applicable).
Exceptions
Anyexception derived from std::exception including CvbException.

◆ Bar8()

PharmaCode2DDisposition Bar8 ( ) const
inline

Status of Bar 8 of a PharmaCode2D (if applicable).

Returns
Status of Bar 8 of a PharmaCode2D (if applicable).
Exceptions
Anyexception derived from std::exception including CvbException.

◆ Bar8Contrast()

int Bar8Contrast ( ) const
inline

Contrast of Bar 8 of a PharmaCode2D (if applicable).

Returns
Contrast of Bar 8 of a PharmaCode2D (if applicable).
Exceptions
Anyexception derived from std::exception including CvbException.

◆ EccLevel()

EccLevelQr EccLevel ( ) const
inline

ECC level of the code.

Returns
ECC level of the code.
Exceptions
Anyexception derived from std::exception including CvbException.

◆ GradeResult()

GradeResultDataMatrixPtr GradeResult ( ) const
inline

Grading result in case grading was activated.

Returns
Grading result in case grading was activated.
Exceptions
Anyexception derived from std::exception including CvbException.