|
◆ arrayof_georef_coord_array_delete()
subroutine arrayof_georef_coord_array_delete |
( |
type(arrayof_georef_coord_array) |
this, |
|
|
logical, intent(in), optional |
nodestroy, |
|
|
logical, intent(in), optional |
nodealloc |
|
) |
| |
Destructor for finalizing an array object.
If defined, calls the destructor for every element of the array object; finally it deallocates all the space occupied. - Parametri
-
| this | array object to be destroyed |
| this | if provided and .TRUE. , the destructor possibily defined for the TYPE(georef_coord_array) is not called for every deleted object, may be useful if the objects to be deleted have been copied to another instance of arrayof_georef_coord_array and continue their life there |
[in] | nodealloc | if provided and .TRUE. , the space reserved for the array is not deallocated, thus the values are retained, while the array pointer is nullified, this means that the caller must have previously assigned the pointer contents thisarray to another pointer to prevent memory leaks |
Definizione alla linea 602 del file georef_coord_class.F90.
611 END SUBROUTINE arrayof_georef_coord_array_import
619 SUBROUTINE arrayof_georef_coord_array_export(this, shpfile)
620 TYPE(arrayof_georef_coord_array), INTENT(in) :: this
624 TYPE(shpfileobject) :: shphandle
626 IF (this%arraysize > 0) THEN
627 shphandle = shpcreate(trim(shpfile), this%array(1)%topo)
629 shphandle = shpcreate(trim(shpfile), georef_coord_array_polygon)
631 IF (shpfileisnull(shphandle)) THEN
637 DO i = 1, this%arraysize
638 CALL georef_coord_array_export(this%array(i), shphandle=shphandle, nshp
643 END SUBROUTINE arrayof_georef_coord_array_export
657 FUNCTION georef_coord_inside(this, poly) RESULT(inside)
658 TYPE(georef_coord), INTENT(IN) :: this
|