00001 // ========== This file is under LGPL, the GNU Lesser General Public Licence 00002 // ========== Dialing Graphematical Module (www.aot.ru) 00003 // ========== Copyright by Alexey Sokirko (1996-2001) 00004 00005 #ifndef abbrev_h 00006 #define abbrev_h 00007 00008 #include "list" 00009 00010 const size_t WordSize = 50; 00011 const size_t AbbrevSize = 200; 00012 00013 enum AbbrevItemTypeEnum {abString, abNumber, abUpperCase, abAny}; 00014 struct CAbbrevItem 00015 { 00016 AbbrevItemTypeEnum m_Type; 00017 string m_ItemStr; 00018 bool operator == (const CAbbrevItem X) const; 00019 bool operator < (const CAbbrevItem X) const; 00020 00021 00022 }; 00023 typedef list<CAbbrevItem> CAbbrev; 00024 00025 00026 00027 00028 #endif