GenerateIdealAction.h
Go to the documentation of this file.
/* Frobby: Software for monomial ideal computations.
Copyright (C) 2007 Bjarke Hammersholt Roune (www.broune.com)
This program 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 2 of the License, or
(at your option) any later version.
This program 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/.
*/
#ifndef GENERATOR_IDEAL_ACTION_GUARD
#define GENERATOR_IDEAL_ACTION_GUARD
#include "Action.h"
#include "StringParameter.h"
#include "IntegerParameter.h"
#include "IOParameters.h"
class GenerateIdealAction : public Action {
public:
GenerateIdealAction();
virtual void obtainParameters(vector<Parameter*>& parameters);
virtual void perform();
static const char* staticGetName();
private:
StringParameter _type;
IntegerParameter _variableCount;
IntegerParameter _generatorCount;
IntegerParameter _exponentRange;
IOParameters _io;
};
#endif
Action.h
IOParameters.h
IntegerParameter.h
StringParameter.h
Action::Action
Action(const char *name, const char *shortDescription, const char *description, bool acceptsNonParameter)
Definition Action.cpp:46
GenerateIdealAction::_type
StringParameter _type
Definition GenerateIdealAction.h:36
GenerateIdealAction::staticGetName
static const char * staticGetName()
Definition GenerateIdealAction.cpp:98
GenerateIdealAction::GenerateIdealAction
GenerateIdealAction()
Definition GenerateIdealAction.cpp:26
GenerateIdealAction::perform
virtual void perform()
Definition GenerateIdealAction.cpp:63
GenerateIdealAction::_exponentRange
IntegerParameter _exponentRange
Definition GenerateIdealAction.h:40
GenerateIdealAction::obtainParameters
virtual void obtainParameters(vector< Parameter * > &parameters)
Definition GenerateIdealAction.cpp:53
GenerateIdealAction::_io
IOParameters _io
Definition GenerateIdealAction.h:42
GenerateIdealAction::_generatorCount
IntegerParameter _generatorCount
Definition GenerateIdealAction.h:39
GenerateIdealAction::_variableCount
IntegerParameter _variableCount
Definition GenerateIdealAction.h:38
IOParameters
Definition IOParameters.h:27
IntegerParameter
Definition IntegerParameter.h:24
StringParameter
Definition StringParameter.h:24