Returns the requires_index value. Allows access whilst keeping the variable private
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(abstract_config_type), | intent(in) | :: | self |
function get_requires_index_generic(self)
implicit none
class(abstract_config_type), intent(in) :: self
logical :: get_requires_index_generic
if (self%is_initialised()) then
get_requires_index_generic = self%requires_index
else
get_requires_index_generic = self%get_default_requires_index()
endif
end function get_requires_index_generic