15const std::string ToParametricSettings::moduleName =
"toparametric";
18std::vector<std::string>
fscModes = {
"standard",
"simple-linear",
"simple-linear-inverse"};
23ToParametricSettings::ToParametricSettings() :
ModuleSettings(moduleName) {
29 .setDefaultValueString(
"standard")
39bool ToParametricSettings::isMecReductionSet()
const {
40 return this->getOption(mecReductionOption).getHasOptionBeenSet();
43std::string ToParametricSettings::getFscApplicationTypeString()
const {
44 return this->getOption(fscmode).getArgumentByName(
"type").getValueAsString();
47bool ToParametricSettings::isTransformBinarySet()
const {
48 return this->getOption(transformBinaryOption).getHasOptionBeenSet();
51bool ToParametricSettings::isTransformSimpleSet()
const {
52 return this->getOption(transformSimpleOption).getHasOptionBeenSet();
55bool ToParametricSettings::allowPostSimplifications()
const {
56 return this->getOption(allowSimplificationOption).getHasOptionBeenSet();
59void ToParametricSettings::finalize() {}
61bool ToParametricSettings::check()
const {
static ArgumentBuilder createStringArgument(std::string const &name, std::string const &description)
Creates a string argument with the given parameters.
static std::shared_ptr< ArgumentValidator< std::string > > createMultipleChoiceValidator(std::vector< std::string > const &choices)
This class provides the interface to create an option...
This is the base class of the settings for a particular module.
std::vector< std::string > fscModes
const std::string mecReductionOption
const std::string transformSimpleOption
const std::string transformBinaryOption
const std::string allowSimplificationOption
const std::string fscmode