glbarcode++
 
Loading...
Searching...
No Matches
BarcodeCode39.hpp
Go to the documentation of this file.
1// BarcodeCode39.hpp
2//
3// Copyright (C) 2013-2026 Jaye Evins <evins@snaught.com>
4//
5// This file is part of glbarcode++.
6//
7// glbarcode++ is free software: you can redistribute it and/or modify
8// it under the terms of the GNU Lesser General Public License as published by
9// the Free Software Foundation, either version 3 of the License, or
10// (at your option) any later version.
11//
12// glbarcode++ is distributed in the hope that it will be useful,
13// but WITHOUT ANY WARRANTY; without even the implied warranty of
14// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15// GNU Lesser General Public License for more details.
16//
17// You should have received a copy of the GNU Lesser General Public License
18// along with glbarcode++. If not, see <http://www.gnu.org/licenses/>.
19//
20
21#ifndef glbarcode_BarcodeCode39_hpp
22#define glbarcode_BarcodeCode39_hpp
23
24
25#include "Barcode1dBase.hpp"
26
27
28namespace glbarcode
29{
30
73 {
74 public:
80 static Barcode* create();
81
82
83 private:
84 bool validate( const std::string& rawData ) override;
85
86 std::string encode( const std::string& cookedData ) override;
87
88 std::string prepareText( const std::string& rawData ) override;
89
90 void vectorize( const std::string& codedData,
91 const std::string& displayText,
92 const std::string& cookedData,
93 double& w,
94 double& h ) override;
95 };
96
97}
98
99
100#endif // glbarcode_BarcodeCode39_hpp
Definition Barcode1dBase.hpp:44
Definition BarcodeCode39.hpp:73
static Barcode * create()
Definition Barcode.hpp:52
Definition Barcode.hpp:38