OpenSRX 0.1.0
C++ library for interfacing with Keyence SR series barcode readers
Loading...
Searching...
No Matches
OpenSRX::Code Struct Reference

Result of a barcode read operation. More...

#include <Code.hpp>

Public Attributes

std::string data
 The decoded barcode string.
 
std::optional< BoundingBoxboundingBox
 Code vertex positions (param 308).
 
std::optional< Pointcenter
 Code center position (param 309).
 
std::optional< std::string > codeType
 Code type name (param 301).
 
std::optional< int > bankNumber
 Bank number (param 303).
 
std::optional< double > angle
 Decode angle in degrees (param 371).
 

Detailed Description

Result of a barcode read operation.

Always contains the decoded code data. Optionally contains metadata fields that the scanner appends when the corresponding OperationParam appending settings are enabled (e.g. CODE_VERTEX_APPENDING, CODE_CENTER_APPENDING, CODE_TYPE_APPENDING).

Member Data Documentation

◆ angle

std::optional<double> OpenSRX::Code::angle

Decode angle in degrees (param 371).

◆ bankNumber

std::optional<int> OpenSRX::Code::bankNumber

Bank number (param 303).

◆ boundingBox

std::optional<BoundingBox> OpenSRX::Code::boundingBox

Code vertex positions (param 308).

◆ center

std::optional<Point> OpenSRX::Code::center

Code center position (param 309).

◆ codeType

std::optional<std::string> OpenSRX::Code::codeType

Code type name (param 301).

◆ data

std::string OpenSRX::Code::data

The decoded barcode string.


The documentation for this struct was generated from the following file: