tesseract
5.0.0-alpha-619-ge9db
icuerrorcode.cpp
Go to the documentation of this file.
1
//
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
//
14
15
#include "
icuerrorcode.h
"
16
17
namespace
tesseract
{
18
19
// Destructor.
20
// It is defined here, so the compiler can create a single vtable
21
// instead of weak vtables in every compilation unit.
22
IcuErrorCode::~IcuErrorCode
() {
23
if
(isFailure()) {
24
handleFailure
();
25
}
26
}
27
28
}
// namespace tesseract.
icuerrorcode.h
tesseract
Definition:
baseapi.h:65
tesseract::IcuErrorCode::~IcuErrorCode
virtual ~IcuErrorCode()
Definition:
icuerrorcode.cpp:22
tesseract::IcuErrorCode::handleFailure
virtual void handleFailure() const
Definition:
icuerrorcode.h:116
src
training
icuerrorcode.cpp
Generated on Thu Jan 30 2020 14:22:21 for tesseract by
1.8.16