| 1 | /* semantique.h*/cxx . . $ `<file>/src/semantique.h`/ |
| 2 | /* |
| 3 | * This file is part of PRAELECTOR. |
| 4 | * |
| 5 | * PRAELECTOR 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 PRAELECTOR; 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 - 2019 |
| 20 | */ |
| 21 | |
| 22 | #ifndef SEMANTIQUE_H |
| 23 | #define SEMANTIQUE_Hcxx . . $ `src/semantique.h:23:9`! |
| 24 | |
| 25 | #include <QMap> |
| 26 | #include <QObject> |
| 27 | #include <QString> |
| 28 | |
| 29 | class Liencxx . . $ Lien#; |
| 30 | class Semantiquecxx . . $ Semantique#; |
| 31 | |
| 32 | class Semecxx . . $ Seme#: public QObjectcxx . . $ QObject# |
| 33 | { |
| 34 | Q_OBJECTcxx . . $ Seme#QPrivateSignal# |
| 35 | |
| 36 | private: |
| 37 | QStringcxx . . $ QString# _clecxx . . $ Seme#_cle.; |
| 38 | QListcxx . . $ QList#<Liencxx . . $ Lien#*> _lSyntcxx . . $ Seme#_lSynt.; |
| 39 | QListcxx . . $ QList#<Liencxx . . $ Lien#*> _lOntocxx . . $ Seme#_lOnto.; |
| 40 | Semantiquecxx . . $ Semantique#* _retecxx . . $ Seme#_rete.; |
| 41 | public: |
| 42 | Semecxx . . $ Seme#Seme(91abe44dbc29dfb6).(QStringcxx . . $ QString# c, QObjectcxx . . $ QObject#* parent=0); |
| 43 | //void aj(QString op, Seme* s); |
| 44 | //void aj(Lien* l); |
| 45 | void ajLincxx . . $ Seme#ajLin(128d6d14bfd7276a).(QStringcxx . . $ QString# op, Semecxx . . $ Seme#* s); |
| 46 | bool aLiencxx . . $ Seme#aLien(347888ff51a31012).(Liencxx . . $ Lien#* l); |
| 47 | QStringcxx . . $ QString# clecxx . . $ Seme#cle(4365c3963150523e).(); |
| 48 | bool hyponymecxx . . $ Seme#hyponyme(be73e5daf9c53527).(Semecxx . . $ Seme#* s); |
| 49 | //bool monteLien(Lien* l); |
| 50 | int nbOntocxx . . $ Seme#nbOnto(b126dc7c1de90089).(); |
| 51 | Liencxx . . $ Lien#* ontocxx . . $ Seme#onto(9abd15d569827e47).(int i); |
| 52 | void rmLiencxx . . $ Seme#rmLien(fed8fc7f7a0b1b6b).(Liencxx . . $ Lien#* l); |
| 53 | QStringcxx . . $ QString# toStringcxx . . $ Seme#toString(4365c3963150523e).(); |
| 54 | }; |
| 55 | |
| 56 | bool operatorcxx . . $ `operator==`(4b35f7a48c5c3b47).==(Semecxx . . $ Seme#& sa, Semecxx . . $ Seme#& sb); |
| 57 | |
| 58 | class Liencxx . . $ Lien#: public QObjectcxx . . $ QObject# |
| 59 | { |
| 60 | Q_OBJECTcxx . . $ Lien#QPrivateSignal# |
| 61 | |
| 62 | private: |
| 63 | Semecxx . . $ Seme#* _supcxx . . $ Lien#_sup.; |
| 64 | QStringcxx . . $ QString# _idcxx . . $ Lien#_id.; |
| 65 | public: |
| 66 | Liencxx . . $ Lien#Lien(128d6d14bfd7276a).(QStringcxx . . $ QString# idl, Semecxx . . $ Seme#* s); |
| 67 | Semecxx . . $ Seme#* supcxx . . $ Lien#sup(b0af848bb1a5e82e).(); |
| 68 | QStringcxx . . $ QString# idcxx . . $ Lien#id(4365c3963150523e).(); |
| 69 | bool hypocxx . . $ Lien#hypo(c9857a73d68e59ba).(); |
| 70 | QStringcxx . . $ QString# toStringcxx . . $ Lien#toString(4365c3963150523e).(); |
| 71 | }; |
| 72 | |
| 73 | bool operatorcxx . . $ `operator==`(297fe557ebca51a6).==(Liencxx . . $ Lien#& la, Liencxx . . $ Lien#& lb); |
| 74 | |
| 75 | class Semantiquecxx . . $ Semantique#: public QObjectcxx . . $ QObject# |
| 76 | { |
| 77 | |
| 78 | Q_OBJECTcxx . . $ Semantique#staticMetaObject. |
| 79 | |
| 80 | private: |
| 81 | QStringcxx . . $ QString# _chemincxx . . $ Semantique#_chemin.; |
| 82 | QMapcxx . . $ QMap#<QStringcxx . . $ QString#, Semecxx . . $ Seme#*> _semescxx . . $ Semantique#_semes.; |
| 83 | public: |
| 84 | Semantiquecxx . . $ Semantique#Semantique(49f6e7a06ebc5aa8).(); |
| 85 | void ajLiencxx . . $ Semantique#ajLien(7df51288a9ebd664).(QStringcxx . . $ QString# l); |
| 86 | int nbSemescxx . . $ Semantique#nbSemes(b126dc7c1de90089).(); |
| 87 | QListcxx . . $ QList#<Semecxx . . $ Seme#*> ontLiencxx . . $ Semantique#ontLien(4602a4d82fcd60bc).(Liencxx . . $ Lien#* l); |
| 88 | void sauvecxx . . $ Semantique#sauve(49f6e7a06ebc5aa8).(); |
| 89 | Semecxx . . $ Seme#* semecxx . . $ Semantique#seme(29f1d291164646b).(QStringcxx . . $ QString# c); |
| 90 | Semecxx . . $ Seme#* semecxx . . $ Semantique#seme(2ff8163b24c083c9).(int i); |
| 91 | }; |
| 92 | |
| 93 | #endif |