Abstract type for creation and destruction of objects
encapsulation interfaces
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(pf_factory_t), | intent(inout) | :: | this | |||
class(pf_encap_t), | intent(inout), | allocatable | :: | x | ||
integer, | intent(in) | :: | level | |||
integer, | intent(in) | :: | shape(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(pf_factory_t), | intent(inout) | :: | this | |||
class(pf_encap_t), | intent(inout), | allocatable | :: | x(:) | ||
integer, | intent(in) | :: | n | |||
integer, | intent(in) | :: | level | |||
integer, | intent(in) | :: | shape(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(pf_factory_t), | intent(inout) | :: | this | |||
class(pf_encap_t), | intent(inout), | allocatable | :: | x | ||
integer, | intent(in) | :: | level | |||
integer, | intent(in) | :: | shape(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(pf_factory_t), | intent(inout) | :: | this | |||
class(pf_encap_t), | intent(inout), | allocatable | :: | x(:) | ||
integer, | intent(in) | :: | n | |||
integer, | intent(in) | :: | level | |||
integer, | intent(in) | :: | shape(:) |
type, abstract :: pf_factory_t
contains
procedure(pf_encap_create_single_p), deferred :: create_single
procedure(pf_encap_create_array_p), deferred :: create_array
procedure(pf_encap_destroy_single_p), deferred :: destroy_single
procedure(pf_encap_destroy_array_p), deferred :: destroy_array
end type pf_factory_t