gams::GAMSSymbolDomainViolation Class Reference
This class describes a domain violation of a GAMSSymbol. More...
#include <gamssymboldomainviolation.h>
Public Member Functions | |
GAMSSymbolDomainViolation () | |
Standard constructor. | |
GAMSSymbolDomainViolation & | operator= (const GAMSSymbolDomainViolation &other) |
bool | isValid () const |
bool | operator!= (const GAMSSymbolDomainViolation &other) const |
bool | operator== (const GAMSSymbolDomainViolation &other) const |
GAMSSymbolRecord | violRec () |
std::vector< bool > | violInd () |
Array indicating which position of a record has a domain violation. | |
Detailed Description
This class describes a domain violation of a GAMSSymbol.
Definition at line 35 of file gamssymboldomainviolation.h.
Constructor & Destructor Documentation
◆ GAMSSymbolDomainViolation()
gams::GAMSSymbolDomainViolation::GAMSSymbolDomainViolation | ( | ) |
Standard constructor.
Member Function Documentation
◆ isValid()
bool gams::GAMSSymbolDomainViolation::isValid | ( | ) | const |
Checks if a GAMSSymbolDomainViolation is valid.
- Returns
- Returns
true
if the GAMSSymbolDomainViolation is valid; otherwisefalse
.
◆ operator!=()
bool gams::GAMSSymbolDomainViolation::operator!= | ( | const GAMSSymbolDomainViolation & | other | ) | const |
Compares two GAMSSymbolDomainViolation objects.
- Parameters
-
other Another GAMSSymbolDomainViolation to compare to.
- Returns
- Returns
true
if the two GAMSSymbolDomainViolation are different; otherwisefalse
.
◆ operator=()
GAMSSymbolDomainViolation & gams::GAMSSymbolDomainViolation::operator= | ( | const GAMSSymbolDomainViolation & | other | ) |
Assigns a GAMSSymbolDomainViolation.
- Parameters
-
other Another GAMSSymbolDomainViolation used as data source.
- Returns
- Returns the assigned GAMSSymbolDomainViolation (*this).
◆ operator==()
bool gams::GAMSSymbolDomainViolation::operator== | ( | const GAMSSymbolDomainViolation & | other | ) | const |
Compares two GAMSSymbolDomainViolation objects.
- Parameters
-
other Another GAMSSymbolDomainViolation to compare to.
- Returns
- Returns
true
if the two GAMSSymbolDomainViolation are equal; otherwisefalse
.
◆ violInd()
std::vector< bool > gams::GAMSSymbolDomainViolation::violInd | ( | ) |
Array indicating which position of a record has a domain violation.
◆ violRec()
GAMSSymbolRecord gams::GAMSSymbolDomainViolation::violRec | ( | ) |
GAMSSymbolRecord that has a domain violation.
- Returns
- Returns the GAMSSymbolRecord.