tesseract  5.0.0-alpha-619-ge9db
ccutil.cpp
Go to the documentation of this file.
1 // Copyright 2008 Google Inc. All Rights Reserved.
2 // Author: scharron@google.com (Samuel Charron)
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 // http://www.apache.org/licenses/LICENSE-2.0
7 // Unless required by applicable law or agreed to in writing, software
8 // distributed under the License is distributed on an "AS IS" BASIS,
9 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 // See the License for the specific language governing permissions and
11 // limitations under the License.
12 
13 #include "ccutil.h"
14 
15 namespace tesseract {
17  params_(),
18  INT_INIT_MEMBER(ambigs_debug_level, 0, "Debug level for unichar ambiguities",
19  &params_),
20  BOOL_MEMBER(use_ambigs_for_adaption, false, "Use ambigs for deciding"
21  " whether to adapt to a character", &params_) {
22 }
23 
24 // Destructor.
25 // It is defined here, so the compiler can create a single vtable
26 // instead of weak vtables in every compilation unit.
27 CCUtil::~CCUtil() = default;
28 
29 } // namespace tesseract
INT_INIT_MEMBER
#define INT_INIT_MEMBER(name, val, comment, vec)
Definition: params.h:324
ccutil.h
tesseract::CCUtil::CCUtil
CCUtil()
Definition: ccutil.cpp:16
tesseract
Definition: baseapi.h:65
tesseract::CCUtil::~CCUtil
virtual ~CCUtil()
BOOL_MEMBER
#define BOOL_MEMBER(name, val, comment, vec)
Definition: params.h:315