Permalink
Find file Copy path
b4d9956 May 8, 2017
1 contributor

Users who have contributed to this file

49 lines (34 sloc) 1.79 KB
/*******************************************************************************
Copyright (C) The University of Auckland
OpenCOR is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
OpenCOR is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*******************************************************************************/
//==============================================================================
// Solver interface
//==============================================================================
#ifdef INTERFACE_DEFINITION
#define PURE = 0
#else
#define PURE
#endif
// Note: make sure to update solverInterfaceVersion() whenever you update
// this interface...
virtual Solver::Solver * solverInstance() const PURE;
virtual QString id(const QString &pKisaoId) const PURE;
virtual QString kisaoId(const QString &pId) const PURE;
virtual Solver::Type solverType() const PURE;
virtual QString solverName() const PURE;
virtual Solver::Properties solverProperties() const PURE;
virtual QMap<QString, bool> solverPropertiesVisibility(const QMap<QString, QString> &pSolverPropertiesValues) const PURE;
#undef PURE
//==============================================================================
// End of file
//==============================================================================