DimensionAction.h
Go to the documentation of this file.
/* Frobby: Software for monomial ideal computations.
Copyright (C) 2009 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 DIMENSION_ACTION_GUARD
#define DIMENSION_ACTION_GUARD
#include "Action.h"
#include "BoolParameter.h"
#include "IOParameters.h"
class DimensionAction : public Action {
public:
DimensionAction();
virtual void obtainParameters(vector<Parameter*>& parameters);
virtual void perform();
static const char* staticGetName();
private:
BoolParameter _codimension;
BoolParameter _squareFreeAndMinimal;
BoolParameter _useSlice;
IOParameters _io;
};
#endif
Action.h
BoolParameter.h
IOParameters.h
Action::Action
Action(const char *name, const char *shortDescription, const char *description, bool acceptsNonParameter)
Definition Action.cpp:46
BoolParameter
Definition BoolParameter.h:24
DimensionAction::staticGetName
static const char * staticGetName()
Definition DimensionAction.cpp:101
DimensionAction::_useSlice
BoolParameter _useSlice
Definition DimensionAction.h:38
DimensionAction::DimensionAction
DimensionAction()
Definition DimensionAction.cpp:35
DimensionAction::_io
IOParameters _io
Definition DimensionAction.h:39
DimensionAction::_codimension
BoolParameter _codimension
Definition DimensionAction.h:36
DimensionAction::obtainParameters
virtual void obtainParameters(vector< Parameter * > &parameters)
Definition DimensionAction.cpp:67
DimensionAction::_squareFreeAndMinimal
BoolParameter _squareFreeAndMinimal
Definition DimensionAction.h:37
DimensionAction::perform
virtual void perform()
Definition DimensionAction.cpp:75
IOParameters
Definition IOParameters.h:27