OSFI-Fortran
3.9.2
OpenSF Integration Library
|
Type that represents a parameter element type. It is used instead of integral constants to avoid arithmetic operations on them, akin to the difference between "enum" and "enum class" in C++. They can be tested for (in)equality, and used in a Select Case construct through the publically accessible "repr" field. More...
Public Member Functions | |
Generic | operator => pet_eq |
Generic | operator => pet_ne |
Public Attributes | |
integer(kpet) | repr |
Integral value, use in Select Case constructs. | |
Type that represents a parameter element type. It is used instead of integral constants to avoid arithmetic operations on them, akin to the difference between "enum" and "enum class" in C++. They can be tested for (in)equality, and used in a Select Case construct through the publically accessible "repr" field.