CVB++ 15.0
Loading...
Searching...
No Matches
CompositeCodeBase< T > Class Template Reference

Base configuration class for composite codes. More...

#include <cvb/config.hpp>

Inherits ConfigBase< T >.

Inherited by UpcEanBase< T >.

Public Member Functions

bool EnabledCCA () const
 Checks if CompositeComponent A (CC-A) decoding is enabled.
 
virtual T & EnableCCA ()
 Enables CompositeComponent A (CC-A) decoding.
 
virtual T & DisableCCA ()
 Disables CompositeComponent A (CC-A) decoding.
 
bool EnabledCCB () const
 Checks if CompositeComponent B (CC-B) decoding is enabled.
 
virtual T & EnableCCB ()
 Enables CompositeComponent B (CC-B) decoding.
 
virtual T & DisableCCB ()
 Disables CompositeComponent B (CC-B) decoding.
 
bool EnabledCCC () const
 Checks if CompositeComponent C (CC-C) decoding is enabled.
 
virtual T & EnableCCC ()
 Enables CompositeComponent C (CC-C) decoding.
 
virtual T & DisableCCC ()
 Disables CompositeComponent C (CC-C) decoding.
 
- Public Member Functions inherited from ConfigBase< T >
bool Enabled () const
 Checks if decoding for the code type represented by the derived class is enabled.
 
T & Enable ()
 Enables decoding for the code type represented by the derived class.
 
T & Disable ()
 Disables decoding for the code type represented by the derived class.
 

Detailed Description

template<class T>
class Cvb::CodeReader::Config::CompositeCodeBase< T >

Base configuration class for composite codes.

This class provides configuration support for composite codes, which consist of a 1D barcode combined with an additional 2D code. The following 1D barcode types are supported for composite codes:

  • EAN/UPC barcodes (EAN-8, EAN-13, UPC-A, and UPC-E)
  • The GS1 DataBar code family

For configuring a composite code, refer to the specific configuration classes:

Template Parameters
TThe specific configuration class for the composite code type.

Member Function Documentation

◆ DisableCCA()

template<class T>
T & DisableCCA ( )
virtual

Disables CompositeComponent A (CC-A) decoding.

Note
Disabling CC-A for one derived class of CompositeCodeBase automatically disables it for all codes in the GS1 DataBar family.
Returns
A reference to the current configuration object for method chaining.

Reimplemented in UpcEanBase< T >, UpcEanBase< Ean13 >, UpcEanBase< Ean8 >, UpcEanBase< UpcA >, and UpcEanBase< UpcE >.

◆ DisableCCB()

template<class T>
T & DisableCCB ( )
virtual

Disables CompositeComponent B (CC-B) decoding.

Note
Disabling CC-B for one derived class of CompositeCodeBase automatically disables it for all codes in the GS1 DataBar family.
Returns
A reference to the current configuration object for method chaining.

Reimplemented in UpcEanBase< T >, UpcEanBase< Ean13 >, UpcEanBase< Ean8 >, UpcEanBase< UpcA >, and UpcEanBase< UpcE >.

◆ DisableCCC()

template<class T>
T & DisableCCC ( )
virtual

Disables CompositeComponent C (CC-C) decoding.

Note
Disabling CC-C for one derived class of CompositeCodeBase automatically disables it for all codes in the GS1 DataBar family.
Returns
A reference to the current configuration object for method chaining.

Reimplemented in UpcEanBase< T >, UpcEanBase< Ean13 >, UpcEanBase< Ean8 >, UpcEanBase< UpcA >, and UpcEanBase< UpcE >.

◆ EnableCCA()

template<class T>
T & EnableCCA ( )
virtual

Enables CompositeComponent A (CC-A) decoding.

Note
Enabling CC-A for one derived class of CompositeCodeBase automatically enables it for all codes in the GS1 DataBar family.
Returns
A reference to the current configuration object for method chaining.

Reimplemented in UpcEanBase< T >, UpcEanBase< Ean13 >, UpcEanBase< Ean8 >, UpcEanBase< UpcA >, and UpcEanBase< UpcE >.

◆ EnableCCB()

template<class T>
T & EnableCCB ( )
virtual

Enables CompositeComponent B (CC-B) decoding.

Note
Enabling CC-B for one derived class of CompositeCodeBase automatically enables it for all codes in the GS1 DataBar family.
Returns
A reference to the current configuration object for method chaining.

Reimplemented in UpcEanBase< T >, UpcEanBase< Ean13 >, UpcEanBase< Ean8 >, UpcEanBase< UpcA >, and UpcEanBase< UpcE >.

◆ EnableCCC()

template<class T>
T & EnableCCC ( )
virtual

Enables CompositeComponent C (CC-C) decoding.

Note
Enabling CC-C for one derived class of CompositeCodeBase automatically enables it for all codes in the GS1 DataBar family.
Returns
A reference to the current configuration object for method chaining.

Reimplemented in UpcEanBase< T >, UpcEanBase< Ean13 >, UpcEanBase< Ean8 >, UpcEanBase< UpcA >, and UpcEanBase< UpcE >.

◆ EnabledCCA()

template<class T>
bool EnabledCCA ( ) const

Checks if CompositeComponent A (CC-A) decoding is enabled.

Returns
true if CC-A decoding is enabled, false otherwise.

◆ EnabledCCB()

template<class T>
bool EnabledCCB ( ) const

Checks if CompositeComponent B (CC-B) decoding is enabled.

Returns
true if CC-B decoding is enabled, false otherwise.

◆ EnabledCCC()

template<class T>
bool EnabledCCC ( ) const

Checks if CompositeComponent C (CC-C) decoding is enabled.

Returns
true if CC-C decoding is enabled, false otherwise.