append_da_attribute Subroutine

private subroutine append_da_attribute(me, val, length, pos, wasadded)

appending a value to the dynamic array

with this subroutine, a given value can be added to the dynamic array. the actual position of this value in the dynamic array will be returned, so it can be found again easily later. with the wasadded flag, it is indicated,\n wasadded = true, if this entry had to be added,\n wasadded = false, if this was already found in the array.

Arguments

TypeIntentOptionalAttributesName
type(dyn_attributearray_type) :: me
type(sdr_attribute_type), intent(in) :: val
integer, intent(in), optional :: length

optional length to expand the array

integer, intent(out), optional :: pos

position in the array, if the value is found

logical, intent(out), optional :: wasadded

flag to indicate, if val was newly added


Calls

proc~~append_da_attribute~~CallsGraph proc~append_da_attribute append_da_attribute interface~sortedposofval sortedposofval proc~append_da_attribute->interface~sortedposofval interface~expand~7 expand proc~append_da_attribute->interface~expand~7 proc~sortposofval_attribute sortposofval_attribute interface~sortedposofval->proc~sortposofval_attribute proc~expand_da_attribute expand_da_attribute interface~expand~7->proc~expand_da_attribute

Called by

proc~~append_da_attribute~~CalledByGraph proc~append_da_attribute append_da_attribute interface~append~7 append interface~append~7->proc~append_da_attribute

Contents


Variables

TypeVisibilityAttributesNameInitial
integer, private :: foundpos
integer, private :: i