Public Types | Public Member Functions | List of all members
ibarcode::IBarcode Class Referenceabstract

Interface for access the barcode data. More...

#include <IBarcode.h>

Inheritance diagram for ibarcode::IBarcode:
iser::ISerializable istd::IChangeable istd::IPolymorphic ibarcode::CBarcode ibarcode::CBarcodeSearchFeature

Public Types

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
}
 Supported barcode types. More...
 

Public Member Functions

 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)
 
virtual const QString & GetBarcodeData () const =0
 Get the data of the barcode. More...
 
virtual int GetBarcodeType () const =0
 Get the type of the barcode. More...
 

Detailed Description

Interface for access the barcode data.

Definition at line 16 of file IBarcode.h.

Member Enumeration Documentation

Supported barcode types.

Enumerator
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 

Definition at line 22 of file IBarcode.h.

Member Function Documentation

virtual const QString& ibarcode::IBarcode::GetBarcodeData ( ) const
pure virtual

Get the data of the barcode.

Implemented in ibarcode::CBarcode.

virtual int ibarcode::IBarcode::GetBarcodeType ( ) const
pure virtual

Get the type of the barcode.

See Also
BarcodeType

Implemented in ibarcode::CBarcode.

ibarcode::IBarcode::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   
)

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

© 2007-2017 Witold Gantzke and Kirill Lepskiy