| 1 | /* morphomot.h */cxx . . $ `<file>/src/motflechi.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 MOTFLECHI_Hcxx . . $ `src/motflechi.h:18:9`! |
| 18 | #define MOTFLECHI_Hcxx . . $ `src/motflechi.h:18:9`! |
| 19 | |
| 20 | #include <QObject> |
| 21 | #include <QString> |
| 22 | #include <QStringList> |
| 23 | |
| 24 | #include <lemme.h>cxx . . $ `<file>/src/lemme.h`/ |
| 25 | #include <phrase.h>cxx . . $ `<file>/src/phrase.h`/ |
| 26 | #include <regle.h>cxx . . $ `<file>/src/regle.h`/ |
| 27 | #include <requete.h>cxx . . $ `<file>/src/requete.h`/ |
| 28 | |
| 29 | class Motcxx . . $ Mot#; |
| 30 | class Phrasecxx . . $ Phrase#; |
| 31 | class Reglecxx . . $ Regle#; |
| 32 | class Requetecxx . . $ Requete#; |
| 33 | |
| 34 | class MotFlechicxx . . $ MotFlechi#: public QObjectcxx . . $ QObject# |
| 35 | { |
| 36 | private: |
| 37 | Motcxx . . $ Mot#* _motcxx . . $ MotFlechi#_mot.; |
| 38 | QStringcxx . . $ QString# _detcxx . . $ MotFlechi#_det.; |
| 39 | QStringcxx . . $ QString# _eqivPoscxx . . $ MotFlechi#_eqivPos.; |
| 40 | int _itrcxx . . $ MotFlechi#_itr.; |
| 41 | Lemmecxx . . $ Lemme#* _lemmecxx . . $ MotFlechi#_lemme.; |
| 42 | QStringcxx . . $ QString# _morphocxx . . $ MotFlechi#_morpho.; |
| 43 | bool _negcxx . . $ MotFlechi#_neg.; |
| 44 | int _numcxx . . $ MotFlechi#_num.; |
| 45 | char _poscxx . . $ MotFlechi#_pos.; |
| 46 | char _posOcxx . . $ MotFlechi#_posO.; |
| 47 | Phrasecxx . . $ Phrase#* _phrasecxx . . $ MotFlechi#_phrase.; |
| 48 | bool _rejetecxx . . $ MotFlechi#_rejete.; |
| 49 | QStringcxx . . $ QString# _sujcxx . . $ MotFlechi#_suj.; |
| 50 | QStringListcxx . . $ QStringList# _traductionscxx . . $ MotFlechi#_traductions.; // prises dans lemmes.fr |
| 51 | QStringListcxx . . $ QStringList# _trflcxx . . $ MotFlechi#_trfl.; // traductions fléchies |
| 52 | QStringcxx . . $ QString# _trNuecxx . . $ MotFlechi#_trNue.; // traduction sans det ni sujet |
| 53 | QStringcxx . . $ QString# _trcxx . . $ MotFlechi#_tr.; |
| 54 | bool _validecxx . . $ MotFlechi#_valide.; |
| 55 | public: |
| 56 | MotFlechicxx . . $ MotFlechi#MotFlechi(c566ee304527214d).(Lemmecxx . . $ Lemme#* l, char p, QStringcxx . . $ QString# m, Motcxx . . $ Mot#* parent, char=0x00); |
| 57 | ~cxx . . $ MotFlechi#`~MotFlechi`(ced63f7c635d850d).MotFlechicxx . . $ MotFlechi#(); |
| 58 | void ajTrflcxx . . $ MotFlechi#ajTrfl(7df51288a9ebd664).(QStringcxx . . $ QString# t); |
| 59 | void calcTrcxx . . $ MotFlechi#calcTr(7df51288a9ebd664).(QStringcxx . . $ QString# m); |
| 60 | bool contigucxx . . $ MotFlechi#contigu(5bb69c1b47e8e878).(MotFlechicxx . . $ MotFlechi#* mf); |
| 61 | QStringcxx . . $ QString# static elideFrcxx . . $ MotFlechi#elideFr(f7f320d754b8fd09).(QStringcxx . . $ QString# s); |
| 62 | QStringcxx . . $ QString# eqivcxx . . $ MotFlechi#eqiv(4365c3963150523e).(); |
| 63 | bool estSubcxx . . $ MotFlechi#estSub(c9857a73d68e59ba).(); |
| 64 | bool estSubParAffcxx . . $ MotFlechi#estSubParAff(7dc6c9a0b6a7270f).(QStringcxx . . $ QString# aff); |
| 65 | bool estSubParIdcxx . . $ MotFlechi#estSubParId(7dc6c9a0b6a7270f).(QStringcxx . . $ QString# id); |
| 66 | bool estSupercxx . . $ MotFlechi#estSuper(c9857a73d68e59ba).(); |
| 67 | bool estSuperDecxx . . $ MotFlechi#estSuperDe(5bb69c1b47e8e878).(MotFlechicxx . . $ MotFlechi#* m); |
| 68 | bool estSuperParAffcxx . . $ MotFlechi#estSuperParAff(7dc6c9a0b6a7270f).(QStringcxx . . $ QString# aff); |
| 69 | bool estSuperParIdcxx . . $ MotFlechi#estSuperParId(7dc6c9a0b6a7270f).(QStringcxx . . $ QString# id); |
| 70 | bool estVerbecxx . . $ MotFlechi#estVerbe(c9857a73d68e59ba).(); |
| 71 | int freqcxx . . $ MotFlechi#freq(b126dc7c1de90089).(); |
| 72 | QStringcxx . . $ QString# grcxx . . $ MotFlechi#gr(4365c3963150523e).(); |
| 73 | int handicapcxx . . $ MotFlechi#handicap(b126dc7c1de90089).(); |
| 74 | QStringcxx . . $ QString# htmlLienscxx . . $ MotFlechi#htmlLiens(4365c3963150523e).(); |
| 75 | void incItrcxx . . $ MotFlechi#incItr(49f6e7a06ebc5aa8).(); |
| 76 | bool static intersectcxx . . $ MotFlechi#intersect(80825a4bb658cac2).(QStringcxx . . $ QString# a, QStringcxx . . $ QString# b); |
| 77 | int itrcxx . . $ MotFlechi#itr(b126dc7c1de90089).(); |
| 78 | void lancecxx . . $ MotFlechi#lance(49f6e7a06ebc5aa8).(); |
| 79 | Lemmecxx . . $ Lemme#* lemmecxx . . $ MotFlechi#lemme(f4a9bc1d1653523f).(); |
| 80 | QStringcxx . . $ QString# morphocxx . . $ MotFlechi#morpho(4365c3963150523e).(); |
| 81 | QStringcxx . . $ QString# morphoHtmlcxx . . $ MotFlechi#morphoHtml(4365c3963150523e).(); |
| 82 | Motcxx . . $ Mot#* motcxx . . $ MotFlechi#mot(f01abd07a51bce96).(); |
| 83 | int nbClosescxx . . $ MotFlechi#nbCloses(b126dc7c1de90089).(); |
| 84 | int nbReqSubcxx . . $ MotFlechi#nbReqSub(b126dc7c1de90089).(); |
| 85 | int nbReqSupcxx . . $ MotFlechi#nbReqSup(b126dc7c1de90089).(); |
| 86 | int nbReqSupClosescxx . . $ MotFlechi#nbReqSupCloses(b126dc7c1de90089).(); |
| 87 | int nbReqSupValidescxx . . $ MotFlechi#nbReqSupValides(e233220fe848a3be).(Requetecxx . . $ Requete#* rtest=0); |
| 88 | int nbSupercxx . . $ MotFlechi#nbSuper(b126dc7c1de90089).(); |
| 89 | int nbTrcxx . . $ MotFlechi#nbTr(b126dc7c1de90089).(); |
| 90 | bool negcxx . . $ MotFlechi#neg(c9857a73d68e59ba).(); |
| 91 | void nettoiecxx . . $ MotFlechi#nettoie(49f6e7a06ebc5aa8).(); |
| 92 | int numcxx . . $ MotFlechi#num(b126dc7c1de90089).(); |
| 93 | char poscxx . . $ MotFlechi#pos(6e9c618e4dd2eafc).(); |
| 94 | char posOcxx . . $ MotFlechi#posO(6e9c618e4dd2eafc).(); |
| 95 | int rangcxx . . $ MotFlechi#rang(b126dc7c1de90089).(); |
| 96 | bool rejetecxx . . $ MotFlechi#rejete(c9857a73d68e59ba).(); |
| 97 | Requetecxx . . $ Requete#* reqSubcxx . . $ MotFlechi#reqSub(391460fb6a4cba1d).(int i); |
| 98 | Requetecxx . . $ Requete#* reqSubcxx . . $ MotFlechi#reqSub(8743e635b9d574d).(QStringcxx . . $ QString# id); |
| 99 | Requetecxx . . $ Requete#* reqSupcxx . . $ MotFlechi#reqSup(391460fb6a4cba1d).(int i); |
| 100 | bool resoutcxx . . $ MotFlechi#resout(c4cbf9f1c30a1709).(Requetecxx . . $ Requete#* req); |
| 101 | void setDetcxx . . $ MotFlechi#setDet(b45ddcbc8423892c).(bool f=false); |
| 102 | void setItrcxx . . $ MotFlechi#setItr(d4f767463ce0a6b3).(int i); |
| 103 | void setMorphocxx . . $ MotFlechi#setMorpho(7df51288a9ebd664).(QStringcxx . . $ QString# m); |
| 104 | void setNegcxx . . $ MotFlechi#setNeg(b45ddcbc8423892c).(bool n); |
| 105 | void setRejetecxx . . $ MotFlechi#setRejete(b45ddcbc8423892c).(bool r); |
| 106 | void setSujetcxx . . $ MotFlechi#setSujet(49f6e7a06ebc5aa8).(); |
| 107 | void setTrcxx . . $ MotFlechi#setTr(7df51288a9ebd664).(QStringcxx . . $ QString# t); |
| 108 | void setValidecxx . . $ MotFlechi#setValide(b45ddcbc8423892c).(bool v); |
| 109 | bool sommetcxx . . $ MotFlechi#sommet(c9857a73d68e59ba).(); |
| 110 | QListcxx . . $ QList#<Requetecxx . . $ Requete#*> subcxx . . $ MotFlechi#sub(babf4eea0ce9be81).(QStringcxx . . $ QString# id, Requetecxx . . $ Requete#* rtest=0); |
| 111 | QStringcxx . . $ QString# trflcxx . . $ MotFlechi#trfl(4365c3963150523e).(); |
| 112 | QStringcxx . . $ QString# trflcxx . . $ MotFlechi#trfl(ce915ed341d4a7f0).(int i); |
| 113 | QStringcxx . . $ QString# trcxx . . $ MotFlechi#tr(4365c3963150523e).(); |
| 114 | QStringcxx . . $ QString# trdetcxx . . $ MotFlechi#trdet(4365c3963150523e).(); |
| 115 | QStringcxx . . $ QString# trscxx . . $ MotFlechi#trs(4365c3963150523e).(); |
| 116 | QStringcxx . . $ QString# trGroupecxx . . $ MotFlechi#trGroupe(99abc5715d3554e2).(Requetecxx . . $ Requete#* rtest=0); |
| 117 | QStringcxx . . $ QString# trNuecxx . . $ MotFlechi#trNue(4365c3963150523e).(); |
| 118 | bool validecxx . . $ MotFlechi#valide(c9857a73d68e59ba).(); |
| 119 | void videReqcxx . . $ MotFlechi#videReq(49f6e7a06ebc5aa8).(); |
| 120 | }; |
| 121 | |
| 122 | #endif |