Loading...
Searching...
No Matches
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.
 

Static Public Member Functions

static EstrictSingleton lookup (int val)
 Lookup all strictSingletons.
 

Public Attributes

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

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.