Implements simple container type for polymorphic scalars and 1D arrays
Create a fhash_container object from a polymorphic value
Helper to initialise a polymorphic data container with scalar
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(*), | intent(in), | target | :: | value |
Value to store |
|
logical, | intent(in), | optional | :: | pointer |
If .true., store pointer to value instead of copying |
Generic container for scalar and 1D data
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
class(*), | public, | allocatable | :: | scalar_data | |||
class(*), | public, | pointer | :: | scalar_ptr | => | NULL() |
procedure , public , :: allocated => fhash_container_allocated Function | |
procedure , public , :: get => fhash_container_get_scalar Subroutine | |
procedure , public , :: get_ptr => fhash_container_get_scalar_ptr Subroutine |