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"
19#include "common/LimaCommon.h"
20
21namespace Lima {
22namespace LinguisticProcessing {
23namespace Dictionary {
24
26
27public:
28
29 // Creates 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
47protected:
48
49private:
50 LinguisticCode m_lingProperty;
51
52};
53
54} // closing namespace Dictionary
55} // closing namespace LinguisticProcessing
56} // closing namespace Lima
57
58#endif
#define LIMA_DICTIONARY_EXPORT
NAUTITIA.