errcode Module


Interfaces

public interface errcode_t

  • private function errcode_t_init(val) result(res)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(in) :: val

    Return Value type(errcode_t)

public interface assignment(=)

  • private subroutine errcode_t_set(this, val)

    Arguments

    Type IntentOptional Attributes Name
    class(errcode_t), intent(inout) :: this
    integer, intent(in) :: val
  • private subroutine errcode_t_set_i(val, this)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(out) :: val
    class(errcode_t), intent(in) :: this

public interface operator(==)

  • private function errcode_t_compare_ee(this, another) result(res)

    Arguments

    Type IntentOptional Attributes Name
    class(errcode_t), intent(in) :: this
    class(errcode_t), intent(in) :: another

    Return Value logical

  • private function errcode_t_compare_ie(this, another) result(res)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(in) :: this
    class(errcode_t), intent(in) :: another

    Return Value logical

  • private function errcode_t_compare_ei(this, another) result(res)

    Arguments

    Type IntentOptional Attributes Name
    class(errcode_t), intent(in) :: this
    integer, intent(in) :: another

    Return Value logical


Derived Types

type, public ::  errcode_t

Components

Type Visibility Attributes Name Initial
integer, public :: topic
integer, public :: code

Constructor

private function errcode_t_init (val)

Type-Bound Procedures

procedure, public :: getcode => errcode_t_getcode
procedure, public :: explain => errcode_t_explain