LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
LingPropertyEntry.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
// NAUTITIA
7
//
8
// jys 1-OCT-2002
9
//
10
// LingPropertyEntry is the way to access elementary linguistic properties
11
// Dictionaries in memory are specified in NA2002.r2128 JYS
12
// Dictionaries iterators are specified in NA2002.r2129 JYS
13
14
#ifndef LingPropertyEntry_H
15
#define LingPropertyEntry_H
16
17
#include "
DictionaryExport.h
"
18
#include "
common/Data/LimaString.h
"
19
#include "
common/LimaCommon.h
"
20
21
namespace
Lima
{
22
namespace
LinguisticProcessing
{
23
namespace
Dictionary
{
24
25
class
LIMA_DICTIONARY_EXPORT
LingPropertyEntry
{
26
27
public
:
28
29
// Creates LingPropertyEntry
30
LingPropertyEntry
();
31
LingPropertyEntry
(
const
LingPropertyEntry
&);
32
LingPropertyEntry
(
const
LinguisticCode
& property);
33
34
// Destroys LingPropertyEntry
35
virtual
~LingPropertyEntry
();
36
37
// Assignment operator. Copies the specified LingPropertyEntry
38
// into self. Returns a reference to self.
39
LingPropertyEntry
&
operator=
(
const
LingPropertyEntry
&);
40
41
// Returns true if self is empty
42
bool
isEmpty
()
const
;
43
44
// Returns value of properties
45
LinguisticCode
data
()
const
;
46
47
protected
:
48
49
private
:
50
LinguisticCode
m_lingProperty;
51
52
};
53
54
}
// closing namespace Dictionary
55
}
// closing namespace LinguisticProcessing
56
}
// closing namespace Lima
57
58
#endif
DictionaryExport.h
LIMA_DICTIONARY_EXPORT
#define LIMA_DICTIONARY_EXPORT
Definition
DictionaryExport.h:27
LimaCommon.h
LimaString.h
Lima::LinguisticCode
Definition
StdBitset.h:27
Lima::LinguisticProcessing::Dictionary::LingPropertyEntry::operator=
LingPropertyEntry & operator=(const LingPropertyEntry &)
Definition
LingPropertyEntry.cpp:50
Lima::LinguisticProcessing::Dictionary::LingPropertyEntry::data
LinguisticCode data() const
Definition
LingPropertyEntry.cpp:63
Lima::LinguisticProcessing::Dictionary::LingPropertyEntry::isEmpty
bool isEmpty() const
Definition
LingPropertyEntry.cpp:57
Lima::LinguisticProcessing::Dictionary::LingPropertyEntry::LingPropertyEntry
LingPropertyEntry()
Definition
LingPropertyEntry.cpp:30
Lima::LinguisticProcessing::Dictionary
Definition
BinaryEntry.cpp:26
Lima::LinguisticProcessing
Definition
AbstractLinguisticProcessingClient.h:27
Lima
NAUTITIA.
Definition
AmosePluginsManager.h:15
lima_linguisticprocessing
src
linguisticProcessing
core
Dictionary
LingPropertyEntry.h
Generated by
1.15.0