| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(*), | intent(in) | :: | value | |||
| integer, | intent(out), | optional | :: | rc |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(*), | intent(in) | :: | values(:) | |||
| integer, | intent(out), | optional | :: | rc |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(UnlimitedEntity), | intent(inout) | :: | this | |||
| integer, | intent(out), | optional | :: | rc |
equals() - returns true if-and-only-if a and b
are the same type, kind, shape, and have the same values.
Only intrinsic data types are supported.
Ugly nested SELECT TYPE is unfortunately necessary.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(UnlimitedEntity), | intent(in), | target | :: | a | ||
| type(UnlimitedEntity), | intent(in), | target | :: | b |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(UnlimitedEntity), | intent(in) | :: | this | |||
| integer, | intent(out), | optional | :: | rc |
Simple accessor
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(UnlimitedEntity), | intent(in) | :: | this | |||
| integer, | intent(out), | optional | :: | rc |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(UnlimitedEntity), | intent(in), | target | :: | this | ||
| integer, | intent(out), | optional | :: | rc |
get string or scalar
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(UnlimitedEntity), | intent(in), | target | :: | this | ||
| integer, | intent(out), | optional | :: | rc |
get 1d , need get_shape to get back to original array
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(UnlimitedEntity), | intent(in), | target | :: | this | ||
| integer, | intent(out), | optional | :: | rc |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(UnlimitedEntity), | intent(in), | target | :: | this | ||
| integer, | intent(out), | optional | :: | rc |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(UnlimitedEntity), | intent(in) | :: | a | |||
| type(UnlimitedEntity), | intent(in) | :: | b |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(UnlimitedEntity), | intent(in) | :: | a | |||
| type(UnlimitedEntity), | intent(in) | :: | b |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(Attribute), | intent(in), | target | :: | a | ||
| type(Attribute), | intent(in), | target | :: | b |
equals() - returns true if-and-only-if a and b
are the same type, kind, shape, and have the same values.
Only intrinsic data types are supported.
Ugly nested SELECT TYPE is unfortunately necessary.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(UnlimitedEntity), | intent(in), | target | :: | a | ||
| type(UnlimitedEntity), | intent(in), | target | :: | b |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(Attribute), | intent(in), | target | :: | a | ||
| type(Attribute), | intent(in), | target | :: | b |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(UnlimitedEntity), | intent(in), | target | :: | this | ||
| integer, | intent(inout), | allocatable | :: | buffer(:) | ||
| integer, | intent(out), | optional | :: | rc |
Set string or scalar
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(UnlimitedEntity), | intent(inout) | :: | this | |||
| class(*), | intent(in) | :: | value | |||
| integer, | intent(out), | optional | :: | rc |
type,extends(UnlimitedEntity) :: Attribute contains generic :: operator(==) => equal_attr generic :: operator(/=) => not_equal_attr procedure :: equal_attr procedure :: not_equal_attr end type Attribute