Public Member Functions | Protected Attributes | List of all members
ibarcode::CBarcode Class Reference

Implementation of the simple barcode data container. More...

#include <CBarcode.h>

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

Public Member Functions

 CBarcode (int barcodeType=BT_UNKNOWN, const QString &data=QString())
 
 CBarcode (const ibarcode::CBarcode &barcode)
 
virtual CBarcodeoperator= (const CBarcode &barcode)
 
virtual bool operator== (const CBarcode &barcode) const
 
virtual bool operator!= (const CBarcode &barcode) const
 
virtual void SetData (const QString &barcodeData)
 
virtual const QString & GetBarcodeData () const
 Get the data of the barcode. More...
 
virtual int GetBarcodeType () const
 Get the type of the barcode. More...
 
virtual bool Serialize (iser::IArchive &archive)
 
- Public Member Functions inherited from 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)
 

Protected Attributes

QString m_barcodeData
 
int m_barcodeType
 

Additional Inherited Members

- Public Types inherited from ibarcode::IBarcode
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...
 

Detailed Description

Implementation of the simple barcode data container.

Definition at line 16 of file CBarcode.h.

Constructor & Destructor Documentation

ibarcode::CBarcode::CBarcode ( int  barcodeType = BT_UNKNOWN,
const QString &  data = QString() 
)
ibarcode::CBarcode::CBarcode ( const ibarcode::CBarcode barcode)

Member Function Documentation

virtual const QString& ibarcode::CBarcode::GetBarcodeData ( ) const
virtual

Get the data of the barcode.

Implements ibarcode::IBarcode.

virtual int ibarcode::CBarcode::GetBarcodeType ( ) const
virtual

Get the type of the barcode.

See Also
BarcodeType

Implements ibarcode::IBarcode.

virtual bool ibarcode::CBarcode::operator!= ( const CBarcode barcode) const
virtual
virtual CBarcode& ibarcode::CBarcode::operator= ( const CBarcode barcode)
virtual
virtual bool ibarcode::CBarcode::operator== ( const CBarcode barcode) const
virtual
virtual bool ibarcode::CBarcode::Serialize ( iser::IArchive archive)
virtual
virtual void ibarcode::CBarcode::SetData ( const QString &  barcodeData)
virtual

Member Data Documentation

QString ibarcode::CBarcode::m_barcodeData
protected

Definition at line 36 of file CBarcode.h.

int ibarcode::CBarcode::m_barcodeType
protected

Definition at line 37 of file CBarcode.h.


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

© 2007-2017 Witold Gantzke and Kirill Lepskiy