Frobby
0.10.0
Toggle main menu visibility
Loading...
Searching...
No Matches
src
ParameterGroup.h
1
/* Frobby: Software for monomial ideal computations.
2
Copyright (C) 2007 Bjarke Hammersholt Roune (www.broune.com)
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 2 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 PARAMETER_GROUP_GUARD
18
#define PARAMETER_GROUP_GUARD
19
20
#include "Parameter.h"
21
#include <vector>
22
23
class
ParameterGroup {
24
public
:
25
typedef
vector<Parameter*>::iterator iterator;
26
27
iterator begin() {
return
_parameters.begin();}
28
iterator end() {
return
_parameters.end();}
29
30
ParameterGroup();
31
virtual
~ParameterGroup();
32
33
void
addParameter(
Parameter
* parameter);
34
35
void
obtainParameters(vector<Parameter*>& parameters);
36
37
virtual
void
getValue(
string
& str)
const
;
38
39
private
:
40
vector<Parameter*> _parameters;
41
};
42
43
#endif
Parameter
Definition
Parameter.h:24
Generated by
1.17.0