LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
LingPropertyEntry.cpp
Go to the documentation of this file.
1// Copyright 2002-2020 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
15
17#include <iostream>
18using namespace std;
19#include <wchar.h>
20
21
22namespace Lima
23{
24namespace LinguisticProcessing
25{
26namespace Dictionary
27{
28
29// Creates LingPropertyEntry as an empty structure.
31m_lingProperty()
32{
33}
34
36m_lingProperty(entry.m_lingProperty)
37{
38}
39
41m_lingProperty(property)
42{
43}
44
45// Destroys LingPropertyEntry
47
48// Assignment operator. Copies the specified LingPropertyEntry
49// into self. Returns a reference to self.
51{
52 m_lingProperty = entry.m_lingProperty;
53 return *this;
54}
55
56// Returns true if self is empty
58{
59 return (m_lingProperty == L_NONE);
60}
61
62// Returns LingPropery code
64{
65 return m_lingProperty;
66}
67
68} // closing namespace Dictionary
69} // closing namespace LinguisticProcessing
70} // closing namespace Lima
#define L_NONE
Definition StdBitset.h:338
LingPropertyEntry & operator=(const LingPropertyEntry &)
NAUTITIA.
STL namespace.