gams::GAMSDatabaseDomainViolation Class Reference
This class describes a domain violation of a GAMSDatabase. More...
#include <gamsdatabasedomainviolation.h>
Public Member Functions | |
| GAMSDatabaseDomainViolation () | |
| Default constructor. | |
| GAMSDatabaseDomainViolation & | operator= (const GAMSDatabaseDomainViolation &other) |
| bool | isValid () const |
| bool | operator!= (const GAMSDatabaseDomainViolation &other) const |
| bool | operator== (const GAMSDatabaseDomainViolation &other) const |
| GAMSSymbol | violSym () |
| GAMSSymbol that has a domain violation. | |
| const std::vector< GAMSSymbolDomainViolation > & | violRecs () const |
| Vector of domain violations of symbol. | |
Detailed Description
This class describes a domain violation of a GAMSDatabase.
Definition at line 35 of file gamsdatabasedomainviolation.h.
Constructor & Destructor Documentation
◆ GAMSDatabaseDomainViolation()
| gams::GAMSDatabaseDomainViolation::GAMSDatabaseDomainViolation | ( | ) |
Default constructor.
Member Function Documentation
◆ isValid()
| bool gams::GAMSDatabaseDomainViolation::isValid | ( | ) | const |
Check if a GAMSDatabaseDomainViolation is valid.
- Returns
- Returns
trueif the GAMSCheckpoint is valid; otherwisefalse.
◆ operator!=()
| bool gams::GAMSDatabaseDomainViolation::operator!= | ( | const GAMSDatabaseDomainViolation & | other | ) | const |
Compares two GAMSDatabaseDomainViolation objects.
- Parameters
-
other Another GAMSDatabaseDomainViolation to compare to.
- Returns
- Returns
trueif the two GAMSDatabaseDomainViolation are different; otherwisefalse.
◆ operator=()
| GAMSDatabaseDomainViolation & gams::GAMSDatabaseDomainViolation::operator= | ( | const GAMSDatabaseDomainViolation & | other | ) |
Assigns a GAMSDatabaseDomainViolation.
- Parameters
-
other Another GAMSDatabaseDomainViolation used as data source.
- Returns
- Returns the assigned GAMSDatabaseDomainViolation (*this).
◆ operator==()
| bool gams::GAMSDatabaseDomainViolation::operator== | ( | const GAMSDatabaseDomainViolation & | other | ) | const |
Compares two GAMSDatabaseDomainViolation objects.
- Parameters
-
other Another GAMSDatabaseDomainViolation to compare to.
- Returns
- Returns
trueif the two GAMSDatabaseDomainViolation are equal; otherwisefalse.
◆ violRecs()
| const std::vector< GAMSSymbolDomainViolation > & gams::GAMSDatabaseDomainViolation::violRecs | ( | ) | const |
Vector of domain violations of symbol.
◆ violSym()
| GAMSSymbol gams::GAMSDatabaseDomainViolation::violSym | ( | ) |
GAMSSymbol that has a domain violation.