foxy_xml_file Module


Uses

  • module~~foxy_xml_file~~UsesGraph module~foxy_xml_file foxy_xml_file module~penf~2 penf module~foxy_xml_file->module~penf~2 module~foxy_xml_tag foxy_xml_tag module~foxy_xml_file->module~foxy_xml_tag module~penf_b_size penf_b_size module~penf~2->module~penf_b_size module~penf_stringify~3 penf_stringify module~penf~2->module~penf_stringify~3 module~penf_global_parameters_variables~2 penf_global_parameters_variables module~penf~2->module~penf_global_parameters_variables~2 module~foxy_xml_tag->module~penf~2 module~stringifor~2 stringifor module~foxy_xml_tag->module~stringifor~2 module~penf_b_size->module~penf_global_parameters_variables~2 module~stringifor~2->module~penf~2 module~stringifor_string_t stringifor_string_t module~stringifor~2->module~stringifor_string_t module~penf_stringify~3->module~penf_b_size module~penf_stringify~3->module~penf_global_parameters_variables~2 iso_fortran_env iso_fortran_env module~penf_stringify~3->iso_fortran_env module~stringifor_string_t->module~penf~2 module~stringifor_string_t->iso_fortran_env module~face face module~stringifor_string_t->module~face module~befor64~4 befor64 module~stringifor_string_t->module~befor64~4 module~face->iso_fortran_env module~befor64~4->module~penf~2 module~befor64_pack_data_m~4 befor64_pack_data_m module~befor64~4->module~befor64_pack_data_m~4 module~befor64_pack_data_m~4->module~penf~2

Used by

  • module~~foxy_xml_file~~UsedByGraph module~foxy_xml_file foxy_xml_file module~foxy foxy module~foxy->module~foxy_xml_file module~vtk_fortran_vtk_file_xml_writer_abstract vtk_fortran_vtk_file_xml_writer_abstract module~vtk_fortran_vtk_file_xml_writer_abstract->module~foxy program~parse_file_simple parse_file_simple program~parse_file_simple->module~foxy program~delete_tag delete_tag program~delete_tag->module~foxy program~delete_attributes delete_attributes program~delete_attributes->module~foxy program~delete_content delete_content program~delete_content->module~foxy program~create_tag create_tag program~create_tag->module~foxy program~add_attributes add_attributes program~add_attributes->module~foxy program~write_tag write_tag program~write_tag->module~foxy program~parse_string_simple parse_string_simple program~parse_string_simple->module~foxy program~add_tag add_tag program~add_tag->module~foxy program~indent_tag indent_tag program~indent_tag->module~foxy module~vtk_fortran_vtk_file vtk_fortran_vtk_file module~vtk_fortran_vtk_file->module~vtk_fortran_vtk_file_xml_writer_abstract module~vtk_fortran_vtk_file_xml_writer_ascii_local vtk_fortran_vtk_file_xml_writer_ascii_local module~vtk_fortran_vtk_file->module~vtk_fortran_vtk_file_xml_writer_ascii_local module~vtk_fortran_vtk_file_xml_writer_appended vtk_fortran_vtk_file_xml_writer_appended module~vtk_fortran_vtk_file->module~vtk_fortran_vtk_file_xml_writer_appended module~vtk_fortran_vtk_file_xml_writer_binary_local vtk_fortran_vtk_file_xml_writer_binary_local module~vtk_fortran_vtk_file->module~vtk_fortran_vtk_file_xml_writer_binary_local module~vtk_fortran_vtk_file_xml_writer_ascii_local->module~vtk_fortran_vtk_file_xml_writer_abstract module~vtk_fortran_vtm_file vtk_fortran_vtm_file module~vtk_fortran_vtm_file->module~vtk_fortran_vtk_file_xml_writer_abstract module~vtk_fortran_vtm_file->module~vtk_fortran_vtk_file_xml_writer_ascii_local module~vtk_fortran_vtk_file_xml_writer_appended->module~vtk_fortran_vtk_file_xml_writer_abstract module~vtk_fortran_vtk_file_xml_writer_binary_local->module~vtk_fortran_vtk_file_xml_writer_abstract module~vtk_fortran_pvtk_file vtk_fortran_pvtk_file module~vtk_fortran_pvtk_file->module~vtk_fortran_vtk_file_xml_writer_abstract module~vtk_fortran_pvtk_file->module~vtk_fortran_vtk_file_xml_writer_ascii_local module~vtk_fortran vtk_fortran module~vtk_fortran->module~vtk_fortran_vtk_file module~vtk_fortran->module~vtk_fortran_vtm_file module~vtk_fortran->module~vtk_fortran_pvtk_file program~vtk_fortran_use_module_basic vtk_fortran_use_module_basic program~vtk_fortran_use_module_basic->module~vtk_fortran program~vtk_fortran_write_pvts vtk_fortran_write_pvts program~vtk_fortran_write_pvts->module~vtk_fortran program~vtk_fortran_write_vtu~2 vtk_fortran_write_vtu program~vtk_fortran_write_vtu~2->module~vtk_fortran program~vtk_fortran_write_vtu vtk_fortran_write_vtu program~vtk_fortran_write_vtu->module~vtk_fortran program~vtk_fortran_write_volatile vtk_fortran_write_volatile program~vtk_fortran_write_volatile->module~vtk_fortran program~vtk_fortran_write_vtr vtk_fortran_write_vtr program~vtk_fortran_write_vtr->module~vtk_fortran program~vtk_fortran_write_vtm vtk_fortran_write_vtm program~vtk_fortran_write_vtm->module~vtk_fortran program~vtk_fortran_write_vts vtk_fortran_write_vts program~vtk_fortran_write_vts->module~vtk_fortran

Contents


Derived Types

type, public :: xml_file

Components

TypeVisibilityAttributesNameInitial
integer(kind=I4P), private :: Nt =0
type(xml_tag), private, allocatable:: tag(:)

Finalizations Procedures

final :: finalize

Type-Bound Procedures

procedure, public :: free
procedure, public :: parse
procedure, public :: content
procedure, public :: stringify
procedure, public :: add_tag
procedure, public :: delete_tag
procedure, private :: parse_from_string

Functions

private pure function content(self, name)

Arguments

TypeIntentOptionalAttributesName
class(xml_file), intent(in) :: self
character, intent(in) :: name

Return Value character(len=:),allocatable

private pure function stringify(self) result(string)

Arguments

TypeIntentOptionalAttributesName
class(xml_file), intent(in) :: self

Return Value character(len=:),allocatable

private function load_file_as_stream(filename, delimiter_start, delimiter_end, fast_read, iostat, iomsg) result(stream)

Arguments

TypeIntentOptionalAttributesName
character, intent(in) :: filename
character, intent(in), optional :: delimiter_start
character, intent(in), optional :: delimiter_end
logical, intent(in), optional :: fast_read
integer(kind=I4P), intent(out), optional :: iostat
character, intent(out), optional :: iomsg

Return Value character(len=:),allocatable


Subroutines

private elemental subroutine free(self)

Arguments

TypeIntentOptionalAttributesName
class(xml_file), intent(inout) :: self

private subroutine finalize(file)

Arguments

TypeIntentOptionalAttributesName
type(xml_file), intent(inout) :: file

private subroutine parse(self, string, filename)

Arguments

TypeIntentOptionalAttributesName
class(xml_file), intent(inout) :: self
character, intent(in), optional :: string
character, intent(in), optional :: filename

private elemental subroutine add_tag(self, tag)

Arguments

TypeIntentOptionalAttributesName
class(xml_file), intent(inout) :: self
type(xml_tag), intent(in) :: tag

private elemental subroutine delete_tag(self, name)

Arguments

TypeIntentOptionalAttributesName
class(xml_file), intent(inout) :: self
character, intent(in) :: name

private subroutine parse_from_string(self, source_string)

Arguments

TypeIntentOptionalAttributesName
class(xml_file), intent(inout) :: self
character, intent(in) :: source_string