IntegerDataLinkedList_t Derived Type

type, public :: IntegerDataLinkedList_t


Components

Type Visibility Attributes Name Initial
logical, public :: allowRepetitions
type(IntegerData_t), public, pointer :: head => NULL()
integer, public :: no_of_entries = 0

Constructor

public interface IntegerDataLinkedList_t

  • private function ConstructIntegerDataLinkedList(allowRepetitions)

    Arguments

    Type IntentOptional Attributes Name
    logical, intent(in), optional :: allowRepetitions

    Return Value type(IntegerDataLinkedList_t)


Type-Bound Procedures

procedure, public :: Add => IntegerDataLinkedList_Add

  • private subroutine IntegerDataLinkedList_Add(self, value)

    Arguments

    Type IntentOptional Attributes Name
    class(IntegerDataLinkedList_t) :: self
    integer :: value

procedure, public :: ExportToArray => IntegerDataLinkedList_ExportToArray

  • private subroutine IntegerDataLinkedList_ExportToArray(self, array, sorted)

    Arguments

    Type IntentOptional Attributes Name
    class(IntegerDataLinkedList_t) :: self
    integer, allocatable :: array(:)
    logical, optional :: sorted

procedure, public :: check => CheckInteger

  • private function CheckInteger(self, value) result(found)

    Arguments

    Type IntentOptional Attributes Name
    class(IntegerDataLinkedList_t), intent(inout) :: self
    integer, intent(in) :: value

    Return Value logical

procedure, public :: Destruct => IntegerDataLinkedList_Destruct

  • private elemental subroutine IntegerDataLinkedList_Destruct(self)

    Arguments

    Type IntentOptional Attributes Name
    class(IntegerDataLinkedList_t), intent(inout) :: self