Generic interface to return configuration value by name.
Returns configuration values as 4-byte integer array in values
.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(config_type), | intent(inout) | :: | config |
Config type. |
||
character(len=*), | intent(in) | :: | name |
Setting name. |
||
integer(kind=i4), | intent(out), | allocatable | :: | values(:) |
Setting values. |
|
integer, | intent(out), | optional | :: | error |
Error code. |
Returns configuration values as 8-byte integer array in values
.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(config_type), | intent(inout) | :: | config |
Config type. |
||
character(len=*), | intent(in) | :: | name |
Setting name. |
||
integer(kind=i8), | intent(out), | allocatable | :: | values(:) |
Setting values. |
|
integer, | intent(out), | optional | :: | error |
Error code. |
Returns configuration values as string array in values
.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(config_type), | intent(inout) | :: | config |
Config type. |
||
character(len=*), | intent(in) | :: | name |
Setting name. |
||
character(len=*), | intent(inout), | allocatable | :: | values(:) |
Setting values. |
|
integer, | intent(out), | optional | :: | error |
Error code. |
Returns configuration value as 4-byte integer in value
.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(config_type), | intent(inout) | :: | config |
Config type. |
||
character(len=*), | intent(in) | :: | name |
Setting name. |
||
integer(kind=i4), | intent(inout) | :: | value |
Setting value. |
||
integer, | intent(out), | optional | :: | error |
Error code. |
Returns configuration value as 8-byte integer in value
.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(config_type), | intent(inout) | :: | config |
Config type. |
||
character(len=*), | intent(in) | :: | name |
Setting name. |
||
integer(kind=i8), | intent(inout) | :: | value |
Setting value. |
||
integer, | intent(out), | optional | :: | error |
Error code. |
Returns configuration value as job list in value
.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(config_type), | intent(inout) | :: | config |
Config type. |
||
character(len=*), | intent(in) | :: | name |
Setting name. |
||
type(job_list_type), | intent(out) | :: | value |
Setting value. |
||
integer, | intent(out), | optional | :: | error |
Error code. |
|
logical, | intent(in), | optional | :: | field |
Read from table field. |
Returns configuration value as logical in value
(if 0 or 1).
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(config_type), | intent(inout) | :: | config |
Config type. |
||
character(len=*), | intent(in) | :: | name |
Setting name. |
||
logical, | intent(inout) | :: | value |
Setting value. |
||
integer, | intent(out), | optional | :: | error |
Error code. |
Returns configuration value as 4-byte real in value
.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(config_type), | intent(inout) | :: | config |
Config type. |
||
character(len=*), | intent(in) | :: | name |
Setting name. |
||
real(kind=r4), | intent(inout) | :: | value |
Setting value. |
||
integer, | intent(out), | optional | :: | error |
Error code. |
Returns configuration value as 8-byte real in value
.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(config_type), | intent(inout) | :: | config |
Config type. |
||
character(len=*), | intent(in) | :: | name |
Setting name. |
||
real(kind=r8), | intent(inout) | :: | value |
Setting value. |
||
integer, | intent(out), | optional | :: | error |
Error code. |
Returns configuration value as report in value
.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(config_type), | intent(inout) | :: | config |
Config type. |
||
character(len=*), | intent(in) | :: | name |
Setting name. |
||
type(report_type), | intent(out) | :: | value |
Setting value. |
||
integer, | intent(out), | optional | :: | error |
Error code. |
|
logical, | intent(in), | optional | :: | field |
Read from table field. |
Returns configuration value as character string in value
. The
string is unescaped by default (\\
is converted to \
).
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(config_type), | intent(inout) | :: | config |
Config type. |
||
character(len=*), | intent(in) | :: | name |
Setting name. |
||
character(len=*), | intent(inout) | :: | value |
Setting value. |
||
integer, | intent(out), | optional | :: | error |
Error code. |