Check data consistency.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(command_line_argument), | intent(inout) | :: | self |
CLA data. |
||
character(len=*), | intent(in), | optional | :: | pref |
Prefixing string. |
subroutine check(self, pref) !< Check data consistency. class(command_line_argument), intent(inout) :: self !< CLA data. character(*), optional, intent(in) :: pref !< Prefixing string. call self%check_envvar_consistency(pref=pref) ; if (self%error/=0) return call self%check_action_consistency(pref=pref) ; if (self%error/=0) return call self%check_optional_consistency(pref=pref) ; if (self%error/=0) return call self%check_m_exclude_consistency(pref=pref) ; if (self%error/=0) return call self%check_named_consistency(pref=pref) ; if (self%error/=0) return call self%check_positional_consistency(pref=pref) endsubroutine check