IBarcode.h
Go to the documentation of this file.
1 #ifndef ibarcode_IBarcode_included
2 #define ibarcode_IBarcode_included
3 
4 
5 // ACF includes
6 #include <iser/ISerializable.h>
7 
8 
9 namespace ibarcode
10 {
11 
12 
16 class IBarcode: virtual public iser::ISerializable
17 {
18 public:
23  {
35  };
36 
38 
42  virtual const QString& GetBarcodeData() const = 0;
43 
48  virtual int GetBarcodeType() const = 0;
49 };
50 
51 
52 } // namespace ibarcode
53 
54 
55 #endif // !ibarcode_IBarcode_included
56 
57 
I_DECLARE_ENUM(BarcodeType, BT_UNKNOWN, BT_CODABAR, BT_EAN_8, BT_EAN_13, BT_CODE_128, BT_CODE_39, BT_CODE_93, BT_INTERLEAVED_2_5, BT_PDF_417, BT_DATAMATRIX, BT_QR)
Interface for access the barcode data.
Definition: IBarcode.h:16
BarcodeType
Supported barcode types.
Definition: IBarcode.h:22
virtual int GetBarcodeType() const =0
Get the type of the barcode.
virtual const QString & GetBarcodeData() const =0
Get the data of the barcode.

© 2007-2017 Witold Gantzke and Kirill Lepskiy