| 1 | /* mot.h */cxx . . $ `<file>/src/mot.h`/ |
| 2 | /* Copyright (C) 2015 Yves Ouvrard |
| 3 | |
| 4 | This program is free software: you can redistribute it and/or modify |
| 5 | it under the terms of the GNU 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 | This program 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 General Public License for more details. |
| 13 | |
| 14 | You should have received a copy of the GNU General Public License |
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
| 16 | |
| 17 | #ifndef MOT_Hcxx . . $ `src/mot.h:18:9`! |
| 18 | #define MOT_Hcxx . . $ `src/mot.h:18:9`! |
| 19 | |
| 20 | #include <QObject> |
| 21 | #include <QList> |
| 22 | #include <QString> |
| 23 | |
| 24 | #include <lemmatiseur.h>cxx . . $ `<file>/src/lemmatiseur.h`/ |
| 25 | //#include <libflexfr.h> |
| 26 | #include <motflechi.h>cxx . . $ `<file>/src/motflechi.h`/ |
| 27 | #include <phrase.h>cxx . . $ `<file>/src/phrase.h`/ |
| 28 | |
| 29 | class MotFlechicxx . . $ MotFlechi#; |
| 30 | class Phrasecxx . . $ Phrase#; |
| 31 | class Requetecxx . . $ Requete#; |
| 32 | |
| 33 | class Motcxx . . $ Mot# : public QObjectcxx . . $ QObject# |
| 34 | { |
| 35 | private: |
| 36 | QStringcxx . . $ QString# _grcxx . . $ Mot#_gr.; |
| 37 | MapLemcxx . . $ MapLem# _morphoscxx . . $ Mot#_morphos.; |
| 38 | int _dmcxx . . $ Mot#_dm.; |
| 39 | QListcxx . . $ QList#<MotFlechicxx . . $ MotFlechi#*> _flechiscxx . . $ Mot#_flechis.; |
| 40 | int _fmcxx . . $ Mot#_fm.; |
| 41 | bool _reqLanceescxx . . $ Mot#_reqLancees.; |
| 42 | Phrasecxx . . $ Phrase#* _phrasecxx . . $ Mot#_phrase.; |
| 43 | int _rangcxx . . $ Mot#_rang.; |
| 44 | int _quecxx . . $ Mot#_que.; |
| 45 | QStringcxx . . $ QString# _trcxx . . $ Mot#_tr.; |
| 46 | |
| 47 | public: |
| 48 | Motcxx . . $ Mot#Mot(4a527e0cc7bb83c2).(QStringcxx . . $ QString# g, int d=-1, int f=-1, int r=-1, QObjectcxx . . $ QObject# *parent=0); |
| 49 | ~cxx . . $ Mot#`~Mot`(ced63f7c635d850d).Motcxx . . $ Mot#(); |
| 50 | void ajFlechicxx . . $ Mot#ajFlechi(5cd94d52a586d1f6).(MotFlechicxx . . $ MotFlechi#* mf); |
| 51 | void annuleFlechicxx . . $ Mot#annuleFlechi(d4f767463ce0a6b3).(int f); |
| 52 | void annuleFlechicxx . . $ Mot#annuleFlechi(5cd94d52a586d1f6).(MotFlechicxx . . $ MotFlechi#* mf); |
| 53 | void annuleLemmecxx . . $ Mot#annuleLemme(f0cbd0f60d582656).(Lemmecxx . . $ Lemme#* lem); |
| 54 | void choixFlechicxx . . $ Mot#choixFlechi(5cd94d52a586d1f6).(MotFlechicxx . . $ MotFlechi#* mf); |
| 55 | void choixLemmecxx . . $ Mot#choixLemme(f0cbd0f60d582656).(Lemmecxx . . $ Lemme#* lem); |
| 56 | void choixReqcxx . . $ Mot#choixReq(c0d4b4595bf1a2c0).(Requetecxx . . $ Requete#* req); |
| 57 | void choixSupercxx . . $ Mot#choixSuper(c0d4b4595bf1a2c0).(Requetecxx . . $ Requete#* req); |
| 58 | void choixSubcxx . . $ Mot#choixSub(c0d4b4595bf1a2c0).(Requetecxx . . $ Requete#* req); |
| 59 | int debutcxx . . $ Mot#debut(b126dc7c1de90089).(); |
| 60 | bool estAucxx . . $ Mot#estAu(7dc6c9a0b6a7270f).(QStringcxx . . $ QString# t); |
| 61 | Lemmecxx . . $ Lemme#* estLemDecxx . . $ Mot#estLemDe(db78773524f70eb4).(QStringListcxx . . $ QStringList# lr); |
| 62 | bool estLiecxx . . $ Mot#estLie(c9857a73d68e59ba).(); |
| 63 | Lemmecxx . . $ Lemme#* estPosDecxx . . $ Mot#estPosDe(232dd0184078fd95).(QStringcxx . . $ QString# pr); |
| 64 | bool estPrepcxx . . $ Mot#estPrep(c9857a73d68e59ba).(); |
| 65 | bool estRelatifcxx . . $ Mot#estRelatif(c9857a73d68e59ba).(); |
| 66 | bool estSommetcxx . . $ Mot#estSommet(c9857a73d68e59ba).(); |
| 67 | bool estSubParAffcxx . . $ Mot#estSubParAff(7dc6c9a0b6a7270f).(QStringcxx . . $ QString# aff); |
| 68 | bool estSubParIdcxx . . $ Mot#estSubParId(7dc6c9a0b6a7270f).(QStringcxx . . $ QString# id); |
| 69 | bool estSuperParAffcxx . . $ Mot#estSuperParAff(7dc6c9a0b6a7270f).(QStringcxx . . $ QString# aff); |
| 70 | bool estSuperParIdcxx . . $ Mot#estSuperParId(7dc6c9a0b6a7270f).(QStringcxx . . $ QString# id); |
| 71 | int fincxx . . $ Mot#fin(b126dc7c1de90089).(); |
| 72 | MotFlechicxx . . $ MotFlechi#* flechicxx . . $ Mot#flechi(ca6611394c7256d8).(int i); |
| 73 | QListcxx . . $ QList#<MotFlechicxx . . $ MotFlechi#*> flValidescxx . . $ Mot#flValides(cf7a954bfad1db3a).(Requetecxx . . $ Requete#* rtest); |
| 74 | QStringcxx . . $ QString# grcxx . . $ Mot#gr(4365c3963150523e).(); |
| 75 | QStringcxx . . $ QString# htmlcxx . . $ Mot#html(4365c3963150523e).(); |
| 76 | int indexOfcxx . . $ Mot#indexOf(971e302da6524aa8).(MotFlechicxx . . $ MotFlechi#* mf); |
| 77 | void lancecxx . . $ Mot#lance(49f6e7a06ebc5aa8).(); |
| 78 | bool lemmeUniquecxx . . $ Mot#lemmeUnique(c9857a73d68e59ba).(); |
| 79 | QListcxx . . $ QList#<Requetecxx . . $ Requete#*> lReqSupClosescxx . . $ Mot#lReqSupCloses(b408d4cf257ce652).(); |
| 80 | QListcxx . . $ QList#<MotFlechicxx . . $ MotFlechi#*> mfLiescxx . . $ Mot#mfLies(dfbd0f01356ed81f).(); |
| 81 | bool monomorphecxx . . $ Mot#monomorphe(c9857a73d68e59ba).(); |
| 82 | MapLemcxx . . $ MapLem# morphoscxx . . $ Mot#morphos(bf85451fb21a2789).(); |
| 83 | int nbFlechiscxx . . $ Mot#nbFlechis(b126dc7c1de90089).(); |
| 84 | int nbSuperscxx . . $ Mot#nbSupers(b126dc7c1de90089).(); |
| 85 | bool nomAdjcxx . . $ Mot#nomAdj(c9857a73d68e59ba).(); |
| 86 | Phrasecxx . . $ Phrase#* phrasecxx . . $ Mot#phrase(5c8126ecd7f5244e).(); |
| 87 | bool polyLemmecxx . . $ Mot#polyLemme(c9857a73d68e59ba).(); |
| 88 | QStringcxx . . $ QString# poscxx . . $ Mot#pos(4365c3963150523e).(); |
| 89 | MotFlechicxx . . $ MotFlechi#* princepscxx . . $ Mot#princeps(44ab76685296be84).(); |
| 90 | bool quecxx . . $ Mot#que(c9857a73d68e59ba).(); |
| 91 | int rangcxx . . $ Mot#rang(b126dc7c1de90089).(); |
| 92 | void reinitcxx . . $ Mot#reinit(49f6e7a06ebc5aa8).(); |
| 93 | bool reqLanceescxx . . $ Mot#reqLancees(c9857a73d68e59ba).(); |
| 94 | Requetecxx . . $ Requete#* reqSubcxx . . $ Mot#reqSub(8743e635b9d574d).(QStringcxx . . $ QString# id); |
| 95 | QListcxx . . $ QList#<Requetecxx . . $ Requete#*> reqSupercxx . . $ Mot#reqSuper(b408d4cf257ce652).(); |
| 96 | void rmFlechicxx . . $ Mot#rmFlechi(5cd94d52a586d1f6).(MotFlechicxx . . $ MotFlechi#* mf); |
| 97 | void setFlechiscxx . . $ Mot#setFlechis(123b97a63f21a94).(MapLemcxx . . $ MapLem# m); |
| 98 | void setReqLanceescxx . . $ Mot#setReqLancees(b45ddcbc8423892c).(bool r); |
| 99 | void setPSupcxx . . $ Mot#setPSup(d4f767463ce0a6b3).(int p); |
| 100 | void setTrcxx . . $ Mot#setTr(7df51288a9ebd664).(QStringcxx . . $ QString# t); |
| 101 | bool static sortFcxx . . $ Mot#sortF(508f9dec201d400b).(MotFlechicxx . . $ MotFlechi#* mfa, MotFlechicxx . . $ MotFlechi#* mfb); |
| 102 | MotFlechicxx . . $ MotFlechi#* supercxx . . $ Mot#super(44ab76685296be84).(); |
| 103 | QStringcxx . . $ QString# trGroupecxx . . $ Mot#trGroupe(99abc5715d3554e2).(Requetecxx . . $ Requete#* rtest=0); |
| 104 | QStringcxx . . $ QString# trscxx . . $ Mot#trs(4365c3963150523e).(); |
| 105 | }; |
| 106 | |
| 107 | #endif |