#include <OSOption.h>
Collaboration diagram for OtherConstraintOption:
Public Member Functions | |
OtherConstraintOption () | |
Default constructor. | |
~OtherConstraintOption () | |
Class destructor. | |
bool | IsEqual (OtherConstraintOption *that) |
A function to check for the equality of two objects. | |
bool | setCon (int numberOfCon, OtherConOption **con) |
A function to set an array of <con> elements. | |
bool | addCon (int idx, std::string value, std::string lbValue, std::string ubValue) |
A function to add a <con> element. | |
Public Attributes | |
int | numberOfCon |
number of <con> children | |
std::string | name |
name of the option | |
std::string | value |
value of the option | |
std::string | solver |
name of the solver to which this option applies | |
std::string | category |
name of the category into which this option falls | |
std::string | type |
type of the option value (integer, double, boolean, string) | |
std::string | description |
description of the option | |
OtherConOption ** | con |
array of option values |
Definition at line 2113 of file OSOption.h.
OtherConstraintOption::OtherConstraintOption | ( | ) |
OtherConstraintOption::~OtherConstraintOption | ( | ) |
bool OtherConstraintOption::IsEqual | ( | OtherConstraintOption * | that | ) |
A function to check for the equality of two objects.
Definition at line 8562 of file OSOption.cpp.
References category, con, description, name, numberOfCon, solver, type, and value.
bool OtherConstraintOption::setCon | ( | int | numberOfCon, | |
OtherConOption ** | con | |||
) |
A function to set an array of <con> elements.
numberOfCon,: | number of <con> elements to be set | |
obj,: | the array of <con> elements that are to be set |
Definition at line 5104 of file OSOption.cpp.
References con, and ErrorClass::errormsg.
bool OtherConstraintOption::addCon | ( | int | idx, | |
std::string | value, | |||
std::string | lbValue, | |||
std::string | ubValue | |||
) |
A function to add a <con> element.
idx,: | the index of the constraint | |
value,: | the value associated with this constraint | |
lbValue,: | a lower bound associated with this constraint | |
ubValue,: | an upper bound associated with this constraint |
Definition at line 5139 of file OSOption.cpp.
References con, ErrorClass::errormsg, OtherConOption::idx, OtherConOption::lbValue, numberOfCon, OtherConOption::ubValue, and OtherConOption::value.
number of <con> children
Definition at line 2117 of file OSOption.h.
Referenced by addCon(), ConstraintOption::addOther(), IsEqual(), ConstraintOption::setOther(), and ~OtherConstraintOption().
std::string OtherConstraintOption::name |
name of the option
Definition at line 2120 of file OSOption.h.
Referenced by ConstraintOption::addOther(), IsEqual(), and ConstraintOption::setOther().
std::string OtherConstraintOption::value |
value of the option
Definition at line 2123 of file OSOption.h.
Referenced by ConstraintOption::addOther(), IsEqual(), and ConstraintOption::setOther().
std::string OtherConstraintOption::solver |
name of the solver to which this option applies
Definition at line 2126 of file OSOption.h.
Referenced by ConstraintOption::addOther(), IsEqual(), and ConstraintOption::setOther().
std::string OtherConstraintOption::category |
name of the category into which this option falls
Definition at line 2129 of file OSOption.h.
Referenced by ConstraintOption::addOther(), IsEqual(), and ConstraintOption::setOther().
std::string OtherConstraintOption::type |
type of the option value (integer, double, boolean, string)
Definition at line 2132 of file OSOption.h.
Referenced by ConstraintOption::addOther(), IsEqual(), and ConstraintOption::setOther().
std::string OtherConstraintOption::description |
description of the option
Definition at line 2135 of file OSOption.h.
Referenced by ConstraintOption::addOther(), IsEqual(), and ConstraintOption::setOther().
array of option values
Definition at line 2138 of file OSOption.h.
Referenced by addCon(), ConstraintOption::addOther(), IsEqual(), OtherConstraintOption(), setCon(), ConstraintOption::setOther(), and ~OtherConstraintOption().