CVB++ 14.0
ReadResult2D Class Reference

Object contains information about a decoded barcode. More...

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

Inherits ReadResult.

Inherited by ReadResultDataMatrix, ReadResultPdf417, and ReadResultQr.

Public Member Functions

 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

Object contains information about a decoded barcode.

Constructor & Destructor Documentation

◆ ReadResult2D()

ReadResult2D ( CExports::CVC_BC_INFO &  handle)
inline

Constructor to initialize object from info struct.

Exceptions
Anyexception derived from std::exception including CvbException.

Member Function Documentation

◆ NumColumns()

int NumColumns ( ) const
inline

The return value specifies the number of columns of the code, only with Data Matrix and PDF 417.

Returns
The return value specifies the number of columns of the code, only with Data Matrix and PDF 417.
Exceptions
Anyexception derived from std::exception including CvbException.

◆ NumRows()

int NumRows ( ) const
inline

The return value specifies the number of rows of the code, only with Data Matrix and PDF 417.

Returns
The return value specifies the number of rows of the code, only with Data Matrix and PDF 417.
Exceptions
Anyexception derived from std::exception including CvbException.

◆ UsedEcc()

int UsedEcc ( ) const
inline

The return value specifies the used ecc for the error correction in percent.

Returns
The return value specifies the used ecc for the error correction in percent.
Exceptions
Anyexception derived from std::exception including CvbException.