LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
poslong.h
Go to the documentation of this file.
1
// Copyright 2002-2013 CEA LIST
2
// SPDX-FileCopyrightText: 2022 CEA LIST <gael.de-chalendar@cea.fr>
3
//
4
// SPDX-License-Identifier: MIT
5
21
#ifndef LIMA_LINGUISTICPROCESSINGS_ANALYSISDUMPERS_EASYXMLDUMPER_POSLONG_H
22
#define LIMA_LINGUISTICPROCESSINGS_ANALYSISDUMPERS_EASYXMLDUMPER_POSLONG_H
23
24
#include <iostream>
25
#include <cstdint>
26
27
namespace
Lima
{
28
namespace
LinguisticProcessing {
29
namespace
AnalysisDumpers {
30
namespace
EasyXmlDumper {
31
32
struct
PosLong
33
{
34
uint64_t
position
;
35
uint64_t
longueur
;
36
bool
operator<
(
const
PosLong
& f)
const
37
{
38
if
(
position
==f.
position
)
return
longueur
<f.
longueur
;
39
return
position
<f.
position
;
40
}
41
};
42
43
}
// end namespace EasyXmlDumper
44
}
// end namespace AnalysisDumpers
45
}
// end namespace LinguisticProcessings
46
}
// end namespace Lima
47
48
#endif
// LIMA_LINGUISTICPROCESSINGS_ANALYSISDUMPERS_EASYXMLDUMPER_POSLONG_H
Lima
NAUTITIA.
Definition
AmosePluginsManager.h:15
Lima::LinguisticProcessing::AnalysisDumpers::EasyXmlDumper::PosLong
Definition
poslong.h:33
Lima::LinguisticProcessing::AnalysisDumpers::EasyXmlDumper::PosLong::longueur
uint64_t longueur
Definition
poslong.h:35
Lima::LinguisticProcessing::AnalysisDumpers::EasyXmlDumper::PosLong::position
uint64_t position
Definition
poslong.h:34
Lima::LinguisticProcessing::AnalysisDumpers::EasyXmlDumper::PosLong::operator<
bool operator<(const PosLong &f) const
Definition
poslong.h:36
lima_linguisticprocessing
src
linguisticProcessing
core
AnalysisDumpers
EasyXmlDumper
poslong.h
Generated by
1.9.8