write_end_tag Subroutine

private subroutine write_end_tag(self, name)

Type Bound

xml_writer_abstract

Arguments

Type IntentOptional Attributes Name
class(xml_writer_abstract), intent(inout) :: self
character(len=*), intent(in) :: name

Calls

proc~~write_end_tag~~CallsGraph proc~write_end_tag xml_writer_abstract%write_end_tag proc~stringify xml_tag%stringify proc~write_end_tag->proc~stringify interface~str str proc~stringify->interface~str proc~attributes xml_tag%attributes proc~stringify->proc~attributes proc~chars string%chars proc~stringify->proc~chars proc~end_tag xml_tag%end_tag proc~stringify->proc~end_tag proc~is_allocated string%is_allocated proc~stringify->proc~is_allocated proc~self_closing_tag xml_tag%self_closing_tag proc~stringify->proc~self_closing_tag proc~start_tag xml_tag%start_tag proc~stringify->proc~start_tag proc~str_a_i1p str_a_I1P interface~str->proc~str_a_i1p proc~str_a_i2p str_a_I2P interface~str->proc~str_a_i2p proc~str_a_i4p str_a_I4P interface~str->proc~str_a_i4p proc~str_a_i8p str_a_I8P interface~str->proc~str_a_i8p proc~str_a_r4p str_a_R4P interface~str->proc~str_a_r4p proc~str_a_r8p str_a_R8P interface~str->proc~str_a_r8p proc~str_bol str_bol interface~str->proc~str_bol proc~str_i1p str_I1P interface~str->proc~str_i1p proc~str_i2p str_I2P interface~str->proc~str_i2p proc~str_i4p str_I4P interface~str->proc~str_i4p proc~str_i8p str_I8P interface~str->proc~str_i8p proc~str_r4p str_R4P interface~str->proc~str_r4p proc~str_r8p str_R8P interface~str->proc~str_r8p proc~strf_i1p strf_I1P interface~str->proc~strf_i1p proc~strf_i2p strf_I2P interface~str->proc~strf_i2p proc~strf_i4p strf_I4P interface~str->proc~strf_i4p proc~strf_i8p strf_I8P interface~str->proc~strf_i8p proc~strf_r4p strf_R4P interface~str->proc~strf_r4p proc~strf_r8p strf_R8P interface~str->proc~strf_r8p proc~self_closing_tag->proc~attributes proc~start_tag->proc~attributes proc~str_a_i1p->proc~str_i1p proc~str_a_i2p->proc~str_i2p proc~str_a_i4p->proc~str_i4p proc~str_a_i8p->proc~str_i8p proc~str_a_r4p->proc~str_r4p proc~str_a_r8p->proc~str_r8p proc~compact_real_string compact_real_string proc~str_r4p->proc~compact_real_string proc~str_r8p->proc~compact_real_string

Called by

proc~~write_end_tag~~CalledByGraph proc~write_end_tag xml_writer_abstract%write_end_tag proc~finalize~3 xml_writer_ascii_local%finalize proc~finalize~3->proc~write_end_tag proc~finalize~7 xml_writer_binary_local%finalize proc~finalize~7->proc~write_end_tag proc~finalize~8 xml_writer_appended%finalize proc~finalize~8->proc~write_end_tag proc~write_dataarray_appended~3 xml_writer_appended%write_dataarray_appended proc~finalize~8->proc~write_dataarray_appended~3 proc~write_connectivity xml_writer_abstract%write_connectivity proc~write_connectivity->proc~write_end_tag none~write_dataarray xml_writer_abstract%write_dataarray proc~write_connectivity->none~write_dataarray proc~write_dataarray_appended~3->proc~write_end_tag proc~write_dataarray_location_tag xml_writer_abstract%write_dataarray_location_tag proc~write_dataarray_location_tag->proc~write_end_tag proc~write_fielddata_tag xml_writer_abstract%write_fielddata_tag proc~write_fielddata_tag->proc~write_end_tag proc~write_geo_rect_data3_rank1_r4p xml_writer_abstract%write_geo_rect_data3_rank1_R4P proc~write_geo_rect_data3_rank1_r4p->proc~write_end_tag proc~write_geo_rect_data3_rank1_r4p->none~write_dataarray proc~write_geo_rect_data3_rank1_r8p xml_writer_abstract%write_geo_rect_data3_rank1_R8P proc~write_geo_rect_data3_rank1_r8p->proc~write_end_tag proc~write_geo_rect_data3_rank1_r8p->none~write_dataarray proc~write_geo_strg_data1_rank2_r4p xml_writer_abstract%write_geo_strg_data1_rank2_R4P proc~write_geo_strg_data1_rank2_r4p->proc~write_end_tag proc~write_geo_strg_data1_rank2_r4p->none~write_dataarray proc~write_geo_strg_data1_rank2_r8p xml_writer_abstract%write_geo_strg_data1_rank2_R8P proc~write_geo_strg_data1_rank2_r8p->proc~write_end_tag proc~write_geo_strg_data1_rank2_r8p->none~write_dataarray proc~write_geo_strg_data1_rank4_r4p xml_writer_abstract%write_geo_strg_data1_rank4_R4P proc~write_geo_strg_data1_rank4_r4p->proc~write_end_tag proc~write_geo_strg_data1_rank4_r4p->none~write_dataarray proc~write_geo_strg_data1_rank4_r8p xml_writer_abstract%write_geo_strg_data1_rank4_R8P proc~write_geo_strg_data1_rank4_r8p->proc~write_end_tag proc~write_geo_strg_data1_rank4_r8p->none~write_dataarray proc~write_geo_strg_data3_rank1_r4p xml_writer_abstract%write_geo_strg_data3_rank1_R4P proc~write_geo_strg_data3_rank1_r4p->proc~write_end_tag proc~write_geo_strg_data3_rank1_r4p->none~write_dataarray proc~write_geo_strg_data3_rank1_r8p xml_writer_abstract%write_geo_strg_data3_rank1_R8P proc~write_geo_strg_data3_rank1_r8p->proc~write_end_tag proc~write_geo_strg_data3_rank1_r8p->none~write_dataarray proc~write_geo_strg_data3_rank3_r4p xml_writer_abstract%write_geo_strg_data3_rank3_R4P proc~write_geo_strg_data3_rank3_r4p->proc~write_end_tag proc~write_geo_strg_data3_rank3_r4p->none~write_dataarray proc~write_geo_strg_data3_rank3_r8p xml_writer_abstract%write_geo_strg_data3_rank3_R8P proc~write_geo_strg_data3_rank3_r8p->proc~write_end_tag proc~write_geo_strg_data3_rank3_r8p->none~write_dataarray proc~write_geo_unst_data1_rank2_r4p xml_writer_abstract%write_geo_unst_data1_rank2_R4P proc~write_geo_unst_data1_rank2_r4p->proc~write_end_tag proc~write_geo_unst_data1_rank2_r4p->none~write_dataarray proc~write_geo_unst_data1_rank2_r8p xml_writer_abstract%write_geo_unst_data1_rank2_R8P proc~write_geo_unst_data1_rank2_r8p->proc~write_end_tag proc~write_geo_unst_data1_rank2_r8p->none~write_dataarray proc~write_geo_unst_data3_rank1_r4p xml_writer_abstract%write_geo_unst_data3_rank1_R4P proc~write_geo_unst_data3_rank1_r4p->proc~write_end_tag proc~write_geo_unst_data3_rank1_r4p->none~write_dataarray proc~write_geo_unst_data3_rank1_r8p xml_writer_abstract%write_geo_unst_data3_rank1_R8P proc~write_geo_unst_data3_rank1_r8p->proc~write_end_tag proc~write_geo_unst_data3_rank1_r8p->none~write_dataarray proc~write_parallel_close_block xml_writer_abstract%write_parallel_close_block proc~write_parallel_close_block->proc~write_end_tag proc~write_piece_end_tag xml_writer_abstract%write_piece_end_tag proc~write_piece_end_tag->proc~write_end_tag proc~write_topology_tag xml_writer_abstract%write_topology_tag proc~write_topology_tag->proc~write_end_tag none~write_dataarray->proc~write_dataarray_location_tag none~write_fielddata xml_writer_abstract%write_fielddata none~write_fielddata->proc~write_fielddata_tag proc~write_fielddata1_rank0 xml_writer_abstract%write_fielddata1_rank0 none~write_fielddata->proc~write_fielddata1_rank0 none~write_geo xml_writer_abstract%write_geo none~write_geo->proc~write_geo_rect_data3_rank1_r4p none~write_geo->proc~write_geo_rect_data3_rank1_r8p none~write_geo->proc~write_geo_strg_data1_rank2_r4p none~write_geo->proc~write_geo_strg_data1_rank2_r8p none~write_geo->proc~write_geo_strg_data1_rank4_r4p none~write_geo->proc~write_geo_strg_data1_rank4_r8p none~write_geo->proc~write_geo_strg_data3_rank1_r4p none~write_geo->proc~write_geo_strg_data3_rank1_r8p none~write_geo->proc~write_geo_strg_data3_rank3_r4p none~write_geo->proc~write_geo_strg_data3_rank3_r8p none~write_geo->proc~write_geo_unst_data1_rank2_r4p none~write_geo->proc~write_geo_unst_data1_rank2_r8p none~write_geo->proc~write_geo_unst_data3_rank1_r4p none~write_geo->proc~write_geo_unst_data3_rank1_r8p none~write_piece xml_writer_abstract%write_piece none~write_piece->proc~write_piece_end_tag proc~initialize~3 xml_writer_ascii_local%initialize proc~initialize~3->proc~write_topology_tag proc~initialize~5 xml_writer_binary_local%initialize proc~initialize~5->proc~write_topology_tag proc~initialize~6 xml_writer_appended%initialize proc~initialize~6->proc~write_topology_tag proc~write_block_array vtm_file%write_block_array proc~write_block_array->proc~write_parallel_close_block proc~write_block_string vtm_file%write_block_string proc~write_block_string->proc~write_parallel_close_block proc~write_data~2 write_data proc~write_data~2->proc~write_connectivity proc~write_data~2->none~write_dataarray proc~write_data~2->none~write_geo proc~write_data~2->none~write_piece proc~write_data~4 write_data proc~write_data~4->proc~write_connectivity proc~write_data~4->none~write_dataarray proc~write_data~4->none~write_geo proc~write_data~4->none~write_piece none~write_block vtm_file%write_block none~write_block->proc~write_block_array none~write_block->proc~write_block_string proc~write_check write_check proc~write_check->none~write_dataarray proc~write_check->none~write_fielddata proc~write_check->none~write_geo proc~write_check->none~write_piece proc~write_data write_data proc~write_data->none~write_dataarray proc~write_data->none~write_geo proc~write_data->none~write_piece proc~write_data~3 write_data proc~write_data~3->none~write_dataarray proc~write_data~3->none~write_geo proc~write_data~3->none~write_piece proc~write_fielddata1_rank0->none~write_dataarray proc~write_pvts write_pvts proc~write_pvts->none~write_dataarray proc~write_slave write_slave proc~write_slave->none~write_dataarray proc~write_slave->none~write_fielddata proc~write_slave->none~write_geo proc~write_slave->none~write_piece proc~write_vts write_vts proc~write_vts->none~write_dataarray proc~write_vts->none~write_geo proc~write_vts->none~write_piece program~vtk_fortran_write_vtr vtk_fortran_write_vtr program~vtk_fortran_write_vtr->none~write_dataarray program~vtk_fortran_write_vtr->none~write_fielddata program~vtk_fortran_write_vtr->none~write_geo program~vtk_fortran_write_vtr->none~write_piece program~vtk_fortran_write_vtu vtk_fortran_write_vtu program~vtk_fortran_write_vtu->proc~write_data~2 program~vtk_fortran_write_vtu~2 vtk_fortran_write_vtu program~vtk_fortran_write_vtu~2->proc~write_data~4 proc~parse_scratch_files vtm_file%parse_scratch_files proc~parse_scratch_files->none~write_block program~vtk_fortran_write_pvts vtk_fortran_write_pvts program~vtk_fortran_write_pvts->proc~write_pvts program~vtk_fortran_write_pvts->proc~write_vts program~vtk_fortran_write_volatile vtk_fortran_write_volatile program~vtk_fortran_write_volatile->proc~write_check program~vtk_fortran_write_volatile->proc~write_slave program~vtk_fortran_write_vtm vtk_fortran_write_vtm program~vtk_fortran_write_vtm->none~write_block program~vtk_fortran_write_vtm->proc~write_data program~vtk_fortran_write_vts vtk_fortran_write_vts program~vtk_fortran_write_vts->proc~write_data~3 proc~finalize vtm_file%finalize proc~finalize->proc~parse_scratch_files proc~initialize vtm_file%initialize proc~initialize->proc~finalize

Source Code

   subroutine write_end_tag(self, name)
   !< Write `</tag_name>` end tag.
   class(xml_writer_abstract), intent(inout) :: self !< Writer.
   character(*),               intent(in)    :: name !< Tag name.

   self%indent = self%indent - 2
   self%tag = xml_tag(name=name, indent=self%indent)
   if (.not.self%is_volatile) then
      call self%tag%write(unit=self%xml, iostat=self%error, is_indented=.true., end_record=end_rec, only_end=.true.)
   else
      self%xml_volatile = self%xml_volatile//self%tag%stringify(is_indented=.true., only_end=.true.)//end_rec
   endif
   endsubroutine write_end_tag