Frobby 0.10.0
Loading...
Searching...
No Matches
ScarfParams.h
1/* Frobby: Software for monomial ideal computations.
2 Copyright (C) 2010 University of Aarhus
3 Contact Bjarke Hammersholt Roune for license information (www.broune.com)
4
5 This program 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 This program 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 this program. If not, see http://www.gnu.org/licenses/.
17*/
18#ifndef SCARF_PARAMS_GUARD
19#define SCARF_PARAMS_GUARD
20
21#include "CommonParams.h"
22
23#include <string>
24
25class CliParams;
26
27class ScarfParams : public CommonParams {
28 public:
29 ScarfParams(CliParams& cli);
30
33 bool getDeformToStronglyGeneric() const {return _deformStrong;}
34 void setDeformToStronglyGeneric(bool value) {_deformStrong = value;}
35
37 const string& getEnumerationOrder() const {return _enumerationOrder;}
38 void setEnumerationOrder(const string& name) {_enumerationOrder = name;}
39
41 const string& getDeformationOrder() const {return _deformationOrder;}
42 void setDeformationOrder(const string& name) {_deformationOrder = name;}
43
44 private:
45 bool _deformStrong;
46 string _enumerationOrder;
47 string _deformationOrder;
48};
49
50void addScarfParams(CliParams& params);
51void extractCliValues(ScarfParams& scarf, const CliParams& cli);
52
53#endif
Definition CliParams.h:28
Definition ScarfParams.h:27
const string & getDeformationOrder() const
Definition ScarfParams.h:41
bool getDeformToStronglyGeneric() const
Definition ScarfParams.h:33
const string & getEnumerationOrder() const
Definition ScarfParams.h:37