| 1 | /* This file is part of the FaCT++ DL reasoner |
| 2 | Copyright (C) 2011-2015 Dmitry Tsarkov and The University of Manchester |
| 3 | Copyright (C) 2015-2017 Dmitry Tsarkov |
| 4 | |
| 5 | This library is free software; you can redistribute it and/or |
| 6 | modify it under the terms of the GNU Lesser General Public |
| 7 | License as published by the Free Software Foundation; either |
| 8 | version 2.1 of the License, or (at your option) any later version. |
| 9 | |
| 10 | This library 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 GNU |
| 13 | Lesser General Public License for more details. |
| 14 | |
| 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | License along with this library; if not, write to the Free Software |
| 17 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 18 | */ |
| 19 | |
| 20 | #include "tDLAxiom.h"cxx . . $ `<file>/Kernel/tDLAxiom.h`/ |
| 21 | #include "tSignature.h"cxx . . $ `<file>/Kernel/tSignature.h`/ |
| 22 | #include "tSignatureUpdater.h"cxx . . $ `<file>/Kernel/tSignatureUpdater.h`/ |
| 23 | |
| 24 | /// d'tor: delete signature if it was created |
| 25 | TDLAxiomcxx . . $ TDLAxiom# :: ~cxx . . $ TDLAxiom#`~TDLAxiom`(49f6e7a06ebc5aa8).TDLAxiomcxx . . $ TDLAxiom#() |
| 26 | { |
| 27 | delete sigcxx . . $ TDLAxiom#sig.; |
| 28 | } |
| 29 | |
| 30 | /// build signature of an axiom |
| 31 | void |
| 32 | TDLAxiomcxx . . $ TDLAxiom# :: buildSignaturecxx . . $ TDLAxiom#buildSignature(49f6e7a06ebc5aa8). ( void ) |
| 33 | { |
| 34 | sigcxx . . $ TDLAxiom#sig. = new TSignaturecxx . . $ TSignature#(); |
| 35 | TSignatureUpdatercxx . . $ TSignatureUpdater# Updatercxx . . $ TSignatureUpdater#TSignatureUpdater(6592eaf7914b3e78).(*sigcxx . . $ TDLAxiom#sig.); |
| 36 | acceptcxx . . $ TDLAxiom#accept(9e2d550937cc1fea).(Updater); |
| 37 | } |