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

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

#include <gamssymboldomainviolation.h>

Public Member Functions

 GAMSSymbolDomainViolation ()
 Standard constructor.
 
GAMSSymbolDomainViolationoperator= (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; otherwise false.

◆ operator!=()

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

Compares two GAMSSymbolDomainViolation objects.

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

◆ operator=()

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

Assigns a GAMSSymbolDomainViolation.

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

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