Define GAMS Debug Level of different values and string representations. More...
Public Member Functions | |
logical | equals (varargin) |
Compare if the parameter is of the same DebugLevel. | |
logical | isHigherThan (varargin) |
Compare if this debug level has higher level than the parameter. | |
logical | isLowerThan (varargin) |
Compare if this debug level has lower level than the parameter. | |
string | message () |
Get the string representing the debug level of this enumerated DebugLevel instance. | |
Public Attributes | |
string | select |
Selection of enum options. | |
integer | value |
Value of enum options. | |
Detailed Description
Define GAMS Debug Level of different values and string representations.
When a Workspace instance is created, it also allows an environment variable "GAMSOOAPIDEBUG" containing a String representing the DebugLevel to override the debug level that has been set from either a WorkspaceInfo instance or a String instance parameter of a Workspace constructor.
- See also
- Workspace, WorkspaceInfo
Member Function Documentation
◆ equals()
logical matlab.gams.control.globals.DebugLevel.equals | ( | varargin | ) |
Compare if the parameter is of the same DebugLevel.
Arguments:
- another: GAMS data type
◆ isHigherThan()
logical matlab.gams.control.globals.DebugLevel.isHigherThan | ( | varargin | ) |
Compare if this debug level has higher level than the parameter.
Arguments:
- level: debug level
Return: true if this debug level has higher level than the parameter, false otherwise
◆ isLowerThan()
logical matlab.gams.control.globals.DebugLevel.isLowerThan | ( | varargin | ) |
Compare if this debug level has lower level than the parameter.
Arguments:
- level: debug level
Return: true if this debug level has lower level than the parameter, false otherwise
◆ message()
string matlab.gams.control.globals.DebugLevel.message | ( | ) |
Get the string representing the debug level of this enumerated DebugLevel instance.
Return: the debug level message