Loading...
Searching...
No Matches
gams::GAMSDatabaseDomainViolation Class Reference

This class describes a domain violation of a GAMSDatabase. More...

#include <gamsdatabasedomainviolation.h>

Public Member Functions

 GAMSDatabaseDomainViolation ()
 Standard constructor.
 
GAMSDatabaseDomainViolationoperator= (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 ( )

Standard constructor.

Member Function Documentation

◆ isValid()

bool gams::GAMSDatabaseDomainViolation::isValid ( ) const

Check if a GAMSDatabaseDomainViolation is valid.

Returns
Returns true if the GAMSCheckpoint is valid; otherwise false.

◆ operator!=()

bool gams::GAMSDatabaseDomainViolation::operator!= ( const GAMSDatabaseDomainViolation other) const

Compares two GAMSDatabaseDomainViolation objects.

Parameters
otherAnother GAMSDatabaseDomainViolation to compare to.
Returns
Returns true if the two GAMSDatabaseDomainViolation are different; otherwise false.

◆ operator=()

GAMSDatabaseDomainViolation & gams::GAMSDatabaseDomainViolation::operator= ( const GAMSDatabaseDomainViolation other)

Assigns a GAMSDatabaseDomainViolation.

Parameters
otherAnother 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
otherAnother GAMSDatabaseDomainViolation to compare to.
Returns
Returns true if the two GAMSDatabaseDomainViolation are equal; otherwise false.

◆ 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.