LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
shiftFrom.h
Go to the documentation of this file.
1
// Copyright 2021 CEA LIST
2
// SPDX-FileCopyrightText: 2022 CEA LIST <gael.de-chalendar@cea.fr>
3
//
4
// SPDX-License-Identifier: MIT
5
6
/************************************************************************
7
* @author Gaël de Chalendar <gael.de-chalendar@cea.fr>
8
* @date Wed Dec 15 2021
9
***********************************************************************/
10
11
#ifndef SHIFTFROM_H
12
#define SHIFTFROM_H
13
14
#include "
common/LimaCommon.h
"
15
16
#include <QMap>
17
18
#include <memory>
19
20
21
namespace
Lima
{
22
23
class
ShiftFromPrivate;
24
class
LIMA_DATAHANDLER_EXPORT
ShiftFrom
:
25
public
QMap<int, std::tuple<int, QString, QString> >
26
{
27
friend
LIMA_DATAHANDLER_EXPORT
QDebug&
operator <<
(QDebug&,
const
ShiftFrom
&)
28
;
29
public
:
30
ShiftFrom
(
const
QString& xml);
31
virtual
~ShiftFrom
();
32
const
QString& xml();
33
const
QString& xml_noent();
34
int
correct_offset(
int
offset,
int
indexOfToken)
const
;
35
QString rebuild_text(
const
QString& input,
int
offset)
const
;
36
37
38
private
:
39
ShiftFrom
(
const
ShiftFrom
&) =
delete
;
40
ShiftFrom
& operator=(
const
ShiftFrom
&) =
delete
;
41
42
ShiftFromPrivate
* m_d;
43
};
44
45
LIMA_DATAHANDLER_EXPORT
QDebug&
operator<<
(QDebug& os,
const
ShiftFrom
& sf);
46
47
}
// end namespace
48
49
#endif
LimaCommon.h
operator<<
QDebug & operator<<(QDebug &qd, const std::string &str)
Definition
QsLog.cpp:39
LIMA_DATAHANDLER_EXPORT
#define LIMA_DATAHANDLER_EXPORT
Definition
LimaCommon.h:129
Lima::ShiftFromPrivate
Definition
shiftFrom.cpp:22
Lima::ShiftFrom
Definition
shiftFrom.h:26
Lima
NAUTITIA.
Definition
AmosePluginsManager.h:15
Lima::operator<<
std::ostream & operator<<(ostream &os, const Node &node)
Definition
DataTypes.cpp:431
lima_common
src
common
Handler
shiftFrom.h
Generated by
1.9.8