| 1 | /* modele.h |
| 2 | * |
| 3 | * This file is part of COLLATINUS. |
| 4 | * |
| 5 | * COLLATINUS is free software; you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License as published by |
| 7 | * the Free Software Foundation; either version 2 of the License, or |
| 8 | * (at your option) any later version. |
| 9 | * |
| 10 | * COLLATINVS is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with COLLATINUS; if not, write to the Free Software |
| 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 18 | * |
| 19 | * © Yves Ouvrard, 2009 - 2016 |
| 20 | */ |
| 21 | |
| 22 | #ifndef MODELE_H |
| 23 | #define MODELE_Hcxx . . $ `src/modele.h:23:9`! |
| 24 | |
| 25 | #include <QList> |
| 26 | #include <QMultiMap> |
| 27 | #include <QString> |
| 28 | #include <QStringList> |
| 29 | #include <QtCore> |
| 30 | |
| 31 | class Lemmatcxx . . $ Lemmat#; |
| 32 | class Modelecxx . . $ Modele#; |
| 33 | |
| 34 | class Desinencecxx . . $ Desinence# : public QObjectcxx . . $ QObject# |
| 35 | { |
| 36 | Q_OBJECTcxx . . $ Desinence#staticMetaObject. |
| 37 | private: |
| 38 | QStringcxx . . $ QString# _grcxx . . $ Desinence#_gr.; |
| 39 | QStringcxx . . $ QString# _grqcxx . . $ Desinence#_grq.; |
| 40 | int _morphocxx . . $ Desinence#_morpho.; |
| 41 | Modelecxx . . $ Modele# *_modelecxx . . $ Desinence#_modele.; |
| 42 | int _numRcxx . . $ Desinence#_numR.; |
| 43 | int _raretecxx . . $ Desinence#_rarete.; |
| 44 | |
| 45 | public: |
| 46 | Desinencecxx . . $ Desinence#Desinence(239e6c0e35fa8e2c).(QStringcxx . . $ QString# d, int morph, int nr, Modelecxx . . $ Modele# *parent = 0); |
| 47 | QStringcxx . . $ QString# grcxx . . $ Desinence#gr(4365c3963150523e).(); |
| 48 | QStringcxx . . $ QString# grqcxx . . $ Desinence#grq(4365c3963150523e).(); |
| 49 | Modelecxx . . $ Modele# *modelecxx . . $ Desinence#modele(4de283a37babcaa).(); |
| 50 | int morphoNumcxx . . $ Desinence#morphoNum(b126dc7c1de90089).(); |
| 51 | int numRadcxx . . $ Desinence#numRad(b126dc7c1de90089).(); |
| 52 | }; |
| 53 | |
| 54 | class Modelecxx . . $ Modele# : public QObjectcxx . . $ QObject# |
| 55 | { |
| 56 | Q_OBJECTcxx . . $ Modele#QPrivateSignal# |
| 57 | private: |
| 58 | QListcxx . . $ QList#<int> _absentscxx . . $ Modele#_absents.; |
| 59 | QStringListcxx . . $ QStringList# static const clescxx . . $ Modele#cles.; |
| 60 | QMultiMapcxx . . $ QMultiMap#<int, Desinencecxx . . $ Desinence# *> _desinencescxx . . $ Modele#_desinences.; |
| 61 | QMapcxx . . $ QMap#<int, QStringcxx . . $ QString#> _genRadicauxcxx . . $ Modele#_genRadicaux.; |
| 62 | QStringcxx . . $ QString# _grcxx . . $ Modele#_gr.; |
| 63 | QStringcxx . . $ QString# _grqcxx . . $ Modele#_grq.; |
| 64 | Lemmatcxx . . $ Lemmat# *_lemmatiseurcxx . . $ Modele#_lemmatiseur.; |
| 65 | Modelecxx . . $ Modele# *_perecxx . . $ Modele#_pere.; |
| 66 | |
| 67 | public: |
| 68 | Modelecxx . . $ Modele#Modele(2a16bbc69f72c7ea).(QStringListcxx . . $ QStringList# ll, Lemmatcxx . . $ Lemmat# *parent = 0); |
| 69 | QListcxx . . $ QList#<int> absentscxx . . $ Modele#absents(9be6d6d0db5cf9a9).(); |
| 70 | QListcxx . . $ QList#<int> clesRcxx . . $ Modele#clesR(9be6d6d0db5cf9a9).(); |
| 71 | Desinencecxx . . $ Desinence# *clonecxx . . $ Modele#clone(2d6ad03123abdc41).(Desinencecxx . . $ Desinence# *d); |
| 72 | bool dejacxx . . $ Modele#deja(83c267b20bac841a).(int m); |
| 73 | QListcxx . . $ QList#<Desinencecxx . . $ Desinence# *> desinencescxx . . $ Modele#desinences(f1b4c45354865d0a).(int d); |
| 74 | QListcxx . . $ QList#<Desinencecxx . . $ Desinence# *> desinencescxx . . $ Modele#desinences(ec6588fcf8697790).(); |
| 75 | bool estUncxx . . $ Modele#estUn(7dc6c9a0b6a7270f).(QStringcxx . . $ QString# m); |
| 76 | QStringcxx . . $ QString# genRadicalcxx . . $ Modele#genRadical(ce915ed341d4a7f0).(int r); |
| 77 | QStringcxx . . $ QString# grcxx . . $ Modele#gr(4365c3963150523e).(); |
| 78 | QStringcxx . . $ QString# grqcxx . . $ Modele#grq(4365c3963150523e).(); |
| 79 | static QListcxx . . $ QList#<int> listeIcxx . . $ Modele#listeI(32df5b9ad51add44).(QStringcxx . . $ QString# l); |
| 80 | QListcxx . . $ QList#<int> morphoscxx . . $ Modele#morphos(9be6d6d0db5cf9a9).(); |
| 81 | QCharcxx . . $ QChar# poscxx . . $ Modele#pos(44eb9225326fcbf5).(); |
| 82 | }; |
| 83 | |
| 84 | #endif |