LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
positionLengthList.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
6/************************************************************************
7 * @file positionLengthList.h
8 * @author Mesnard Olivier
9 * @date
10 * @version
11 * copyright Copyright (C) 2003 by CEA LIST
12 *
13 * @brief
14 *
15 ***********************************************************************/
16
17#ifndef POSITION_LENGTH_LIST_H
18#define POSITION_LENGTH_LIST_H
19
21
22#include <vector>
23#include <iostream>
24
25namespace Lima {
26namespace Common {
27namespace Misc {
28
29 BOOST_STRONG_TYPEDEF(uint64_t, Position)
30 BOOST_STRONG_TYPEDEF(uint64_t, Length)
31 typedef std::vector<std::pair<Position, Length> > PositionLengthList;
32
33} // namespace Misc
34} // namespace Common
35} // namespace Lima
36
37LIMA_LPMISC_EXPORT QTextStream& operator << (QTextStream& os, const Lima::Common::Misc::PositionLengthList& p);
38LIMA_LPMISC_EXPORT std::ostream& operator << (std::ostream& os, const Lima::Common::Misc::PositionLengthList& p);
39LIMA_LPMISC_EXPORT QDebug& operator << (QDebug& os, const Lima::Common::Misc::PositionLengthList& p);
40
41#endif // POSITION_LENGTH_LIST_H
#define LIMA_LPMISC_EXPORT
std::vector< std::pair< Position, Length > > PositionLengthList
NAUTITIA.
BOOST_STRONG_TYPEDEF(char, NoParameters)
STL namespace.