LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
indexElementIterator.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
#ifndef INDEXELEMENTITERATOR_H
7
#define INDEXELEMENTITERATOR_H
8
9
#include "
linguisticProcessing/LinguisticProcessingCommon.h
"
10
11
namespace
Lima
{
12
namespace
Common {
13
class
AbstractLexiconIdGenerator;
14
namespace
BagOfWords {
15
16
class
BoWText;
17
class
IndexElement;
18
19
class
IndexElementIteratorPrivate;
20
26
class
LIMA_BOW_EXPORT
IndexElementIterator
27
{
28
public
:
44
IndexElementIterator
(
const
BoWText
& bowText,
45
AbstractLexiconIdGenerator
* idAccessor=0,
46
const
uint64_t maxCompoundSize=0,
47
const
uint64_t nbMaxPartialCompounds=1000);
48
~IndexElementIterator
();
49
50
bool
isAtEnd()
const
;
51
const
IndexElement
&
getElement
()
const
;
52
IndexElement
getElement();
53
IndexElementIterator
& operator++();
//prefix ++
54
IndexElementIterator
operator++(
int
);
//postfix++
55
56
private
:
57
IndexElementIterator
(
const
IndexElementIterator
&);
58
IndexElementIterator
& operator=(
const
IndexElementIterator
&);
59
IndexElementIteratorPrivate
* m_d;
60
};
61
62
}
// end namespace
63
}
// end namespace
64
}
// end namespace
65
66
#endif
LinguisticProcessingCommon.h
LIMA_BOW_EXPORT
#define LIMA_BOW_EXPORT
Definition
LinguisticProcessingCommon.h:80
Lima::Common::AbstractLexiconIdGenerator
Definition
AbstractLexiconIdGenerator.h:41
Lima::Common::BagOfWords::BoWText
This class represents a list of elements, that are pointers on polymmorphic tokens that can be simple...
Definition
bowText.h:48
Lima::Common::BagOfWords::IndexElementIteratorPrivate
Definition
indexElementIterator.cpp:36
Lima::Common::BagOfWords::IndexElementIterator
An iterator on the bowText that returns IndexElements.
Definition
indexElementIterator.h:27
Lima::Common::BagOfWords::IndexElementIterator::getElement
const IndexElement & getElement() const
Lima::Common::BagOfWords::IndexElement
Represent an element of an index If it is a predicate, its simple term is "PredicateElement" and its ...
Definition
indexElement.h:46
Lima
NAUTITIA.
Definition
AmosePluginsManager.h:15
lima_linguisticprocessing
src
linguisticProcessing
common
BagOfWords
indexElementIterator.h
Generated by
1.9.8