ddc
abbrev.h
Go to the documentation of this file.
1 //
2 // This file is part of DDC.
3 //
4 // DDC is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU Lesser General Public License as published by
6 // the Free Software Foundation, either version 3 of the License, or
7 // (at your option) any later version.
8 //
9 // DDC is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU Lesser General Public License for more details.
13 //
14 // You should have received a copy of the GNU Lesser General Public License
15 // along with DDC. If not, see <http://www.gnu.org/licenses/>.
16 //
17 // ========== Dialing Graphematical Module (www.aot.ru)
18 // ========== Copyright by Alexey Sokirko (1996-2001), Bryan Jurish (2011)
19 
20 #ifndef abbrev_h
21 #define abbrev_h
22 
23 #include "list"
24 
25 const size_t WordSize = 50;
26 const size_t AbbrevSize = 200;
27 
29 struct CAbbrevItem
30 {
32  string m_ItemStr;
33  bool operator == (const CAbbrevItem X) const;
34  bool operator < (const CAbbrevItem X) const;
35 
36 
37 };
38 typedef list<CAbbrevItem> CAbbrev;
39 
40 
41 
42 
43 #endif
44 
45 /*--- emacs style variables ---
46  * Local Variables:
47  * mode: C++
48  * c-file-style: "ellemtel"
49  * c-basic-offset: 4
50  * tab-width: 8
51  * indent-tabs-mode: nil
52  * End:
53  */
Definition: abbrev.h:28
const size_t AbbrevSize
Definition: abbrev.h:26
Definition: abbrev.h:28
list< CAbbrevItem > CAbbrev
Definition: abbrev.h:38
const size_t WordSize
Definition: abbrev.h:25
AbbrevItemTypeEnum
Definition: abbrev.h:28
bool operator==(const CAbbrevItem X) const
Definition: abbrev.cpp:56
string m_ItemStr
Definition: abbrev.h:32
AbbrevItemTypeEnum m_Type
Definition: abbrev.h:31
Definition: abbrev.h:29
bool operator<(const CAbbrevItem X) const
Definition: abbrev.cpp:62
Definition: abbrev.h:28
Definition: abbrev.h:28