Base configuration class. More...
#include <cvb/config.hpp>
Inherited by CompositeCodeBase< T >.
Public Member Functions | |
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. | |
Friends | |
class | Cvb::CodeReader::Decoder |
Base configuration class.
T | Concrete configuration class. |
T & Disable | ( | ) |
Disables decoding for the code type represented by the derived class.
T & Enable | ( | ) |
Enables decoding for the code type represented by the derived class.
This function is defined in the ConfigBase template class and can be called from a specific configuration class, such as DataMatrix. When invoked, it enables decoding specifically for the code type associated with that class.
Example:
bool Enabled | ( | ) | const |
Checks if decoding for the code type represented by the derived class is enabled.
true
if decoding is enabled, false
otherwise.