Skip to content

fossil_list_id_object

FOSSIL, list of IDs class definition.

Source: src/lib/fossil_list_id_object.f90

Dependencies

Contents

Derived Types

list_id_object

FOSSIL, list of IDs class.

Components

NameTypeAttributesDescription
ids_numberinteger(kind=I4P)Number of IDs.
idinteger(kind=I4P)allocatableIDs list.

Type-Bound Procedures

NameAttributesDescription
delpass(self)Delete ID from list.
destroypass(self)Destroy list.
initializepass(self)Initialize list.
putpass(self)Put ID in list.
assignment(=)Overload =.
list_id_assign_list_idpass(lhs)Operator =.

Subroutines

del

Delete ID from list.

Attributes: elemental

fortran
subroutine del(self, id)

Arguments

NameTypeIntentAttributesDescription
selfclass(list_id_object)inoutList.
idinteger(kind=I4P)inGiven ID.

Call graph

destroy

Destroy list.

Attributes: elemental

fortran
subroutine destroy(self)

Arguments

NameTypeIntentAttributesDescription
selfclass(list_id_object)inoutList.

Call graph

initialize

Initialize list.

Attributes: pure

fortran
subroutine initialize(self, id)

Arguments

NameTypeIntentAttributesDescription
selfclass(list_id_object)inoutList.
idinteger(kind=I4P)inoptionalIDs list.

Call graph

put

Put ID in list.

ID is put in list only if it is not already present.

Attributes: elemental

fortran
subroutine put(self, id)

Arguments

NameTypeIntentAttributesDescription
selfclass(list_id_object)inoutList.
idinteger(kind=I4P)inGiven ID.

Call graph

list_id_assign_list_id

Operator =.

Attributes: pure

fortran
subroutine list_id_assign_list_id(lhs, rhs)

Arguments

NameTypeIntentAttributesDescription
lhsclass(list_id_object)inoutLeft hand side.
rhstype(list_id_object)inRight hand side.