Report Typos and Errors    
Semi-Lagrangian Library
Modular library for kinetic and gyrokinetic simulations of plasmas in fusion energy devices.
Derived types and interfaces | Functions/Subroutines | Variables
sll_m_xml Module Reference

Description

Facilities for constructing an XML tree and printing it to file.

Authors
Yaman Güçlü - yaman.nosp@m..guc.nosp@m.lu@gm.nosp@m.ail..nosp@m.com
Marco Restelli - marco.nosp@m..res.nosp@m.telli.nosp@m.@gma.nosp@m.il.co.nosp@m.m
Todo:
Add detailed description

Derived types and interfaces

type  c_xml_item
 Base class for all the XML entities which can appear in content. More...
 
type  t_xml_content
 XML type: linked list of XML entities, used in element content. More...
 
type  t_xml_attribute
 XML attribute type. More...
 
type  sll_t_xml_element
 XML element type. More...
 
type  sll_t_xml_document
 XML document type. More...
 
type  c_text_data_printer
 XML abstract class: generic printer for writing chardata to file. More...
 
type  t_default_text_data_printer
 XML type: default printer for writing chardata. More...
 
type  t_xml_chardata
 XML type: chardata. More...
 
interface  i_xml_item__write
 Write XML content to file. More...
 
interface  i_xml_item__delete
 Delete XML item (deallocate everything) More...
 
interface  i_print_text
 Write chardata to file. More...
 
interface  i_delete_printer
 Delete chardata printer. More...
 

Functions/Subroutines

recursive subroutine t_xml_content__write (self, indent, fid)
 

More...
 
recursive subroutine t_xml_content__delete (self)
 
recursive type(t_xml_content) function, pointer t_xml_content__new_content (self)
 
subroutine t_xml_document__add_header_line (self, line)
 
type(sll_t_xml_element) function, pointer t_xml_document__new_element (self, name)
 
subroutine t_xml_document__write (self, fname)
 
subroutine t_xml_document__delete (self)
 
recursive subroutine t_xml_element__write (self, indent, fid)
 
recursive subroutine t_xml_element__delete (self)
 
subroutine t_xml_element__add_attribute (self, name, attvalue)
 
subroutine t_xml_element__add_chardata_string (self, string)
 
subroutine t_xml_element__add_chardata_printer (self, printer)
 
type(sll_t_xml_element) function, pointer t_xml_element__new_element (self, name)
 
subroutine t_xml_chardata__write (self, indent, fid)
 
subroutine t_xml_chardata__delete (self)
 
subroutine default_print_text (self, indent, fid)
 
subroutine default_delete (self)
 
pure character(len=:) function, allocatable attribute_name_val_string (self)
 

Variables

character, parameter nl = achar(10)
 
integer, parameter maxlen = 256
 

Function/Subroutine Documentation

◆ attribute_name_val_string()

pure character(len=:) function, allocatable sll_m_xml::attribute_name_val_string ( class(t_xml_attribute), intent(in)  self)
private

Definition at line 530 of file sll_m_xml.F90.

◆ default_delete()

subroutine sll_m_xml::default_delete ( class(t_default_text_data_printer), intent(inout)  self)
private

Definition at line 521 of file sll_m_xml.F90.

◆ default_print_text()

subroutine sll_m_xml::default_print_text ( class(t_default_text_data_printer), intent(in)  self,
integer, intent(in)  indent,
integer, intent(in)  fid 
)
private

Definition at line 509 of file sll_m_xml.F90.

◆ t_xml_chardata__delete()

subroutine sll_m_xml::t_xml_chardata__delete ( class(t_xml_chardata), intent(inout)  self)
private

Definition at line 498 of file sll_m_xml.F90.

◆ t_xml_chardata__write()

subroutine sll_m_xml::t_xml_chardata__write ( class(t_xml_chardata), intent(in)  self,
integer, intent(in)  indent,
integer, intent(in)  fid 
)
private

Definition at line 488 of file sll_m_xml.F90.

◆ t_xml_content__delete()

recursive subroutine sll_m_xml::t_xml_content__delete ( class(t_xml_content), intent(inout)  self)
private

Definition at line 195 of file sll_m_xml.F90.

◆ t_xml_content__new_content()

recursive type(t_xml_content) function, pointer sll_m_xml::t_xml_content__new_content ( class(t_xml_content), intent(inout)  self)
private

Definition at line 215 of file sll_m_xml.F90.

◆ t_xml_content__write()

recursive subroutine sll_m_xml::t_xml_content__write ( class(t_xml_content), intent(in)  self,
integer, intent(in)  indent,
integer, intent(in)  fid 
)
private

Definition at line 177 of file sll_m_xml.F90.

◆ t_xml_document__add_header_line()

subroutine sll_m_xml::t_xml_document__add_header_line ( class(sll_t_xml_document), intent(inout)  self,
character(len=*), intent(in)  line 
)
private

Definition at line 234 of file sll_m_xml.F90.

◆ t_xml_document__delete()

subroutine sll_m_xml::t_xml_document__delete ( class(sll_t_xml_document), intent(inout)  self)
private

Definition at line 302 of file sll_m_xml.F90.

◆ t_xml_document__new_element()

type(sll_t_xml_element) function, pointer sll_m_xml::t_xml_document__new_element ( class(sll_t_xml_document), intent(inout), target  self,
character(len=*), intent(in)  name 
)
private

Definition at line 257 of file sll_m_xml.F90.

◆ t_xml_document__write()

subroutine sll_m_xml::t_xml_document__write ( class(sll_t_xml_document), intent(in)  self,
character(len=*), intent(in)  fname 
)
private

Definition at line 275 of file sll_m_xml.F90.

◆ t_xml_element__add_attribute()

subroutine sll_m_xml::t_xml_element__add_attribute ( class(sll_t_xml_element), intent(inout)  self,
character(len=*), intent(in)  name,
character(len=*), intent(in)  attvalue 
)
private

Definition at line 380 of file sll_m_xml.F90.

◆ t_xml_element__add_chardata_printer()

subroutine sll_m_xml::t_xml_element__add_chardata_printer ( class(sll_t_xml_element), intent(inout), target  self,
class(c_text_data_printer), intent(in)  printer 
)
private

Definition at line 437 of file sll_m_xml.F90.

◆ t_xml_element__add_chardata_string()

subroutine sll_m_xml::t_xml_element__add_chardata_string ( class(sll_t_xml_element), intent(inout), target  self,
character(len=*), intent(in)  string 
)
private

Definition at line 405 of file sll_m_xml.F90.

◆ t_xml_element__delete()

recursive subroutine sll_m_xml::t_xml_element__delete ( class(sll_t_xml_element), intent(inout)  self)
private

Definition at line 363 of file sll_m_xml.F90.

◆ t_xml_element__new_element()

type(sll_t_xml_element) function, pointer sll_m_xml::t_xml_element__new_element ( class(sll_t_xml_element), intent(inout), target  self,
character(len=*), intent(in)  name 
)
private

Definition at line 463 of file sll_m_xml.F90.

◆ t_xml_element__write()

recursive subroutine sll_m_xml::t_xml_element__write ( class(sll_t_xml_element), intent(in)  self,
integer, intent(in)  indent,
integer, intent(in)  fid 
)
private

Definition at line 317 of file sll_m_xml.F90.

Variable Documentation

◆ maxlen

integer, parameter maxlen = 256
private

Definition at line 28 of file sll_m_xml.F90.

◆ nl

character, parameter nl = achar(10)
private

Definition at line 27 of file sll_m_xml.F90.

    Report Typos and Errors