fortplot_validation_core Module



Functions

public function validate_plot_dimensions(width, height, context) result(validation)

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: width
real(kind=wp), intent(in) :: height
character(len=*), intent(in), optional :: context

Return Value type(parameter_validation_result_t)

public function validate_plot_dimensions_with_context(width, height, validation_ctx, context) result(validation)

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: width
real(kind=wp), intent(in) :: height
type(validation_context_t), intent(in), optional :: validation_ctx
character(len=*), intent(in), optional :: context

Return Value type(parameter_validation_result_t)

public function validate_color_values(red, green, blue, alpha, context) result(validation)

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: red
real(kind=wp), intent(in) :: green
real(kind=wp), intent(in) :: blue
real(kind=wp), intent(in), optional :: alpha
character(len=*), intent(in), optional :: context

Return Value type(parameter_validation_result_t)

public function validate_file_path(file_path, check_parent, context) result(validation)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: file_path
logical, intent(in), optional :: check_parent
character(len=*), intent(in), optional :: context

Return Value type(parameter_validation_result_t)