The Open FUSION Toolkit 1.0.0-6f445ef
An open-source framework for fusion and plasma science and engineering
Loading...
Searching...
No Matches
Public Member Functions | List of all members
xml_read_content Interface Reference

Detailed Description

Extract content of a given type from an XML node.

Public Member Functions

subroutine xml_extractdatacontent_double (node, output, output_shape, iostat)
 Parse a single double precision value from an XML node's content.
 
subroutine xml_extractdatacontent_double1d (node, output, output_shape, iostat)
 Parse XML content into a 1D array of double precision values.
 
subroutine xml_extractdatacontent_double2d (node, output, output_shape, iostat)
 Parse XML content into a 2D array of double precision values.
 
subroutine xml_extractdatacontent_int (node, output, output_shape, iostat)
 Parse XML content into a single integer value.
 
subroutine xml_extractdatacontent_int1d (node, output, output_shape, iostat)
 Parse XML content into a 1D array of integer values.
 
subroutine xml_extractdatacontent_int2d (node, output, output_shape, iostat)
 Parse XML content into a 2D array of integer values.
 
subroutine xml_extractdatacontent_logical (node, output, output_shape, iostat)
 Parse XML content into a single logical value.
 
subroutine xml_extractdatacontent_logical1d (node, output, output_shape, iostat)
 Parse XML content into a 1D array of logical values.
 
subroutine xml_extractdatacontent_logical2d (node, output, output_shape, iostat)
 Parse XML content into a 2D array of logical values.
 
subroutine xml_extractdatacontent_string (node, output, iostat)
 Get content from an XML node as a string.
 

Member Function/Subroutine Documentation

◆ xml_extractdatacontent_double()

subroutine xml_extractdatacontent_double ( type(xml_node), intent(in)  node,
real(r8), intent(out)  output,
integer(i4), dimension(2), intent(out), optional  output_shape,
integer(i4), intent(out), optional  iostat 
)

Parse a single double precision value from an XML node's content.

Parameters
[in]nodeXML node
[out]outputOutput value
[out]output_shapeShape of the output array (ncols, nrows)
[out]iostatI/O status flag (0 on success)

◆ xml_extractdatacontent_double1d()

subroutine xml_extractdatacontent_double1d ( type(xml_node), intent(in)  node,
real(r8), dimension(:), intent(out), pointer  output,
integer(i4), dimension(2), intent(out), optional  output_shape,
integer(i4), intent(out), optional  iostat 
)

Parse XML content into a 1D array of double precision values.

Parameters
[in]nodeXML node
[out]outputOutput array
[out]output_shapeShape of the output array (ncols, nrows)
[out]iostatI/O status flag (0 on success)

◆ xml_extractdatacontent_double2d()

subroutine xml_extractdatacontent_double2d ( type(xml_node), intent(in)  node,
real(r8), dimension(:,:), intent(out), pointer  output,
integer(i4), dimension(2), intent(out), optional  output_shape,
integer(i4), intent(out), optional  iostat 
)

Parse XML content into a 2D array of double precision values.

Parameters
[in]nodeXML node
[out]outputOutput array
[out]output_shapeShape of the output array (ncols, nrows)
[out]iostatI/O status flag (0 on success)

◆ xml_extractdatacontent_int()

subroutine xml_extractdatacontent_int ( type(xml_node), intent(in)  node,
integer(i4), intent(out)  output,
integer(i4), dimension(2), intent(out), optional  output_shape,
integer(i4), intent(out), optional  iostat 
)

Parse XML content into a single integer value.

Parameters
[in]nodeXML node
[out]outputOutput value
[out]output_shapeShape of the output array (ncols, nrows)
[out]iostatI/O status flag (0 on success)

◆ xml_extractdatacontent_int1d()

subroutine xml_extractdatacontent_int1d ( type(xml_node), intent(in)  node,
integer(i4), dimension(:), intent(out), pointer  output,
integer(i4), dimension(2), intent(out), optional  output_shape,
integer(i4), intent(out), optional  iostat 
)

Parse XML content into a 1D array of integer values.

Parameters
[in]nodeXML node
[out]outputOutput array
[out]output_shapeShape of the output array (ncols, nrows)
[out]iostatI/O status flag (0 on success)

◆ xml_extractdatacontent_int2d()

subroutine xml_extractdatacontent_int2d ( type(xml_node), intent(in)  node,
integer(i4), dimension(:,:), intent(out), pointer  output,
integer(i4), dimension(2), intent(out), optional  output_shape,
integer(i4), intent(out), optional  iostat 
)

Parse XML content into a 2D array of integer values.

Parameters
[in]nodeXML node
[out]outputOutput array
[out]output_shapeShape of the output array (ncols, nrows)
[out]iostatI/O status flag (0 on success)

◆ xml_extractdatacontent_logical()

subroutine xml_extractdatacontent_logical ( type(xml_node), intent(in)  node,
logical, intent(out)  output,
integer(i4), dimension(2), intent(out), optional  output_shape,
integer(i4), intent(out), optional  iostat 
)

Parse XML content into a single logical value.

Parameters
[in]nodeXML node
[out]outputOutput value
[out]output_shapeShape of the output array (ncols, nrows)
[out]iostatI/O status flag (0 on success)

◆ xml_extractdatacontent_logical1d()

subroutine xml_extractdatacontent_logical1d ( type(xml_node), intent(in)  node,
logical, dimension(:), intent(out), pointer  output,
integer(i4), dimension(2), intent(out), optional  output_shape,
integer(i4), intent(out), optional  iostat 
)

Parse XML content into a 1D array of logical values.

Parameters
[in]nodeXML node
[out]outputOutput array
[out]output_shapeShape of the output array (ncols, nrows)
[out]iostatI/O status flag (0 on success)

◆ xml_extractdatacontent_logical2d()

subroutine xml_extractdatacontent_logical2d ( type(xml_node), intent(in)  node,
logical, dimension(:,:), intent(out), pointer  output,
integer(i4), dimension(2), intent(out), optional  output_shape,
integer(i4), intent(out), optional  iostat 
)

Parse XML content into a 2D array of logical values.

Parameters
[in]nodeXML node
[out]outputOutput array
[out]output_shapeShape of the output array (ncols, nrows)
[out]iostatI/O status flag (0 on success)

◆ xml_extractdatacontent_string()

subroutine xml_extractdatacontent_string ( type(xml_node), intent(in)  node,
character(len=:), intent(out), allocatable  output,
integer(i4), intent(out), optional  iostat 
)

Get content from an XML node as a string.

Parameters
[in]nodeXML node
[out]outputOutput string
[out]iostatI/O status flag (0 on success)

The documentation for this interface was generated from the following file: