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

Public Member Functions

integer value ()
 Returns alternative value of enum option. More...
 

Static Public Member Functions

static strictSingleton lookup (integer value)
 Find enum option from alternative value. More...
 

Public Attributes

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

Detailed Description

Error if assignment to singleton set has multiple elements.

See also
GAMSOptions

Member Function Documentation

◆ lookup()

static strictSingleton Matlab.GAMS.strictSingleton.lookup ( integer  value)
static

Find enum option from alternative value.

Arguments:

  • value: Alternative value

Return: enum option

◆ value()

integer Matlab.GAMS.strictSingleton.value ( )

Returns alternative value of enum option.

Return: Alternative value of enum option