Table_t Derived Type

type, public :: Table_t


Components

Type Visibility Attributes Name Initial
integer, public :: no_of_lists
integer, public :: no_of_entries = 0
type(LinkedList_t), public, allocatable :: lists(:)

Constructor

public interface Table_t

  • private function ConstructTableWithSize(t_size)

    Arguments

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

    Return Value type(Table_t)


Type-Bound Procedures

procedure, public :: AddEntry => Table_AddEntry

  • private subroutine Table_AddEntry(self, val)

    Arguments

    Type IntentOptional Attributes Name
    class(Table_t), intent(inout) :: self
    integer, intent(in) :: val(DATA_SIZE+1)

procedure, public :: ContainsEntry => Table_ContainsEntry

  • private function Table_ContainsEntry(self, val)

    Arguments

    Type IntentOptional Attributes Name
    class(Table_t), intent(inout) :: self
    integer, intent(in) :: val(DATA_SIZE+1)

    Return Value integer

procedure, public :: Destruct => Table_Destruct

  • private subroutine Table_Destruct(self)

    Arguments

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

procedure, public :: Describe => Table_Describe

  • private subroutine Table_Describe(self)

    Arguments

    Type IntentOptional Attributes Name
    class(Table_t), intent(in) :: self