Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
BarcodeFormat.h
00001 // -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*- 00002 #ifndef __BARCODE_FORMAT_H__ 00003 #define __BARCODE_FORMAT_H__ 00004 00005 /* 00006 * BarcodeFormat.h 00007 * zxing 00008 * 00009 * Copyright 2010 ZXing authors All rights reserved. 00010 * 00011 * Licensed under the Apache License, Version 2.0 (the "License"); 00012 * you may not use this file except in compliance with the License. 00013 * You may obtain a copy of the License at 00014 * 00015 * http://www.apache.org/licenses/LICENSE-2.0 00016 * 00017 * Unless required by applicable law or agreed to in writing, software 00018 * distributed under the License is distributed on an "AS IS" BASIS, 00019 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00020 * See the License for the specific language governing permissions and 00021 * limitations under the License. 00022 */ 00023 00024 namespace zxing { 00025 00026 class BarcodeFormat { 00027 public: 00028 // if you update the enum, update BarcodeFormat.cpp 00029 00030 enum Value { 00031 NONE, 00032 AZTEC, 00033 CODABAR, 00034 CODE_39, 00035 CODE_93, 00036 CODE_128, 00037 DATA_MATRIX, 00038 EAN_8, 00039 EAN_13, 00040 ITF, 00041 MAXICODE, 00042 PDF_417, 00043 QR_CODE, 00044 RSS_14, 00045 RSS_EXPANDED, 00046 UPC_A, 00047 UPC_E, 00048 UPC_EAN_EXTENSION 00049 }; 00050 00051 BarcodeFormat(Value v) : value(v) {} 00052 const Value value; 00053 operator Value () const {return value;} 00054 00055 static char const* barcodeFormatNames[]; 00056 }; 00057 00058 } 00059 00060 #endif // __BARCODE_FORMAT_H__
Generated on Wed Jul 13 2022 20:52:13 by
