isEqual Function

public function isEqual(left, right) result(equality)

This function provides the test for equality of two treeIDs.

Two treeIDs are equal if their integer is equal

Arguments

Type IntentOptional Attributes Name
type(tem_path_type), intent(in) :: left

path to compare

type(tem_path_type), intent(in) :: right

path to compare against

Return Value logical

is equal??


Calls

proc~~isequal~~CallsGraph proc~isequal isEqual proc~tem_pathcomparison tem_PathComparison proc~isequal->proc~tem_pathcomparison

Called by

proc~~isequal~~CalledByGraph proc~isequal isEqual interface~operator(==) operator(==) interface~operator(==)->proc~isequal

Source Code

  function isEqual(left, right) result(equality)
    ! ---------------------------------------------------------------------------
    !> path to compare
    type(tem_path_type), intent(in) :: left
    !> path to compare against
    type(tem_path_type), intent(in) :: right
    !> is equal??
    logical :: equality
    ! ---------------------------------------------------------------------------

    equality = ( tem_pathComparison( left, right ) .eq. 0 )

  end function isEqual