Skip to content

snapshot_handler ​

Source: src/third_party/FoXy/docs/examples/snippets/solver_7.f90

Dependencies

Contents ​

Derived Types ​

snapshot_stats ​

Inheritance

Extends: xml_handler

Components

NameTypeAttributesDescription
levelinteger(kind=I4P)
posinteger(kind=I8P)
textcharacter(len=:)allocatable
is_insidelogical
stepinteger(kind=I4P)
last_stepinteger(kind=I4P)

Type-Bound Procedures

NameAttributesDescription
cdatapass(self)
commentpass(self)
processing_instructionpass(self)
doctypepass(self)
problempass(self)
parsepass(self)
stop_parsingpass(self)
start_element
characters
end_element

snapshot_stats%cdata ​

fortran
subroutine cdata(self, text)

Arguments

NameTypeIntentAttributesDescription
selfclass(xml_handler)inout
textcharacter(len=*)in

Call graph

snapshot_stats%comment ​

fortran
subroutine comment(self, text)

Arguments

NameTypeIntentAttributesDescription
selfclass(xml_handler)inout
textcharacter(len=*)in

Call graph

snapshot_stats%processing_instruction ​

fortran
subroutine processing_instruction(self, target, data)

Arguments

NameTypeIntentAttributesDescription
selfclass(xml_handler)inout
targetcharacter(len=*)in
datacharacter(len=*)in

Call graph

snapshot_stats%doctype ​

fortran
subroutine doctype(self, text)

Arguments

NameTypeIntentAttributesDescription
selfclass(xml_handler)inout
textcharacter(len=*)in

Call graph

snapshot_stats%problem ​

fortran
subroutine problem(self, message)

Arguments

NameTypeIntentAttributesDescription
selfclass(xml_handler)inout
messagecharacter(len=*)in

Call graph

snapshot_stats%parse ​

fortran
subroutine parse(self, string, filename, chunk_size, sanitize_attributes_value, iostat, iomsg)

Arguments

NameTypeIntentAttributesDescription
selfclass(xml_handler)inout
stringcharacter(len=*)inoptional
filenamecharacter(len=*)inoptional
chunk_sizeinteger(kind=I8P)inoptional
sanitize_attributes_valuelogicalinoptional
iostatinteger(kind=I4P)outoptional
iomsgcharacter(len=*)inoutoptional

Call graph

snapshot_stats%stop_parsing ​

fortran
subroutine stop_parsing(self)

Arguments

NameTypeIntentAttributesDescription
selfclass(xml_handler)inout

Call graph

Subroutines ​

on_start ​

fortran
subroutine on_start(self, name, attributes)

Arguments

NameTypeIntentAttributesDescription
selfclass(snapshot_stats)inout
namecharacter(len=*)in
attributestype(xml_attribute)in

Call graph

on_text ​

fortran
subroutine on_text(self, text)

Arguments

NameTypeIntentAttributesDescription
selfclass(snapshot_stats)inout
textcharacter(len=*)in

on_end ​

fortran
subroutine on_end(self, name)

Arguments

NameTypeIntentAttributesDescription
selfclass(snapshot_stats)inout
namecharacter(len=*)in

Call graph