com.gams.api.GAMSOptions.EstrictSingleton Enum Reference

Error if assignment to singleton set has multiple elements. More...

Public Member Functions

int value ()
 Get the int value of this enumerated strictSingleton. More...
 

Static Public Member Functions

static EstrictSingleton lookup (int val)
 Lookup all strictSingletons. More...
 

Public Attributes

 FirstRecord =(0)
 Take first record if assignment to singleton set has multiple elements. More...
 
 Error =(1)
 Error if assignment to singleton set has multiple elements. More...
 
 UndefinedstrictSingleton =(2)
 Undefined strictSingleton. More...
 

Detailed Description

Error if assignment to singleton set has multiple elements.

Member Function Documentation

◆ lookup()

static EstrictSingleton com.gams.api.GAMSOptions.EstrictSingleton.lookup ( int  val)
static

Lookup all strictSingletons.

Parameters
valan int value to lookup
Returns
the enumerated strictSingleton that has the specified value, or UndefinedstrictSingleton if the specified value is not found.

◆ value()

int com.gams.api.GAMSOptions.EstrictSingleton.value ( )

Get the int value of this enumerated strictSingleton.

Returns
the strictSingleton value

Member Data Documentation

◆ Error

com.gams.api.GAMSOptions.EstrictSingleton.Error =(1)

Error if assignment to singleton set has multiple elements.

◆ FirstRecord

com.gams.api.GAMSOptions.EstrictSingleton.FirstRecord =(0)

Take first record if assignment to singleton set has multiple elements.

◆ UndefinedstrictSingleton

com.gams.api.GAMSOptions.EstrictSingleton.UndefinedstrictSingleton =(2)

Undefined strictSingleton.