ROMS
Loading...
Searching...
No Matches
yaml_parser_mod::yaml_tree Type Reference
Collaboration diagram for yaml_parser_mod::yaml_tree:
[legend]

Public Member Functions

procedure create (self)
 
procedure destroy (self)
 
procedure dump (self)
 
procedure extract (self, keystring, s)
 
procedure fill (self)
 
procedure fill_aliases (self, nalias, nanchor)
 
procedure has (self, keystring)
 
procedure read_line (self, nblanks, line, key, value, anchor, lswitch)
 

Public Attributes

logical iscreated = .FALSE.
 
integer nbranches
 
integer npairs
 
integer indent
 
character(len=:), allocatable filename
 
type(yaml_pair), dimension(:), pointer list
 

Detailed Description

Definition at line 132 of file yaml_parser.F.

Member Function/Subroutine Documentation

◆ create()

procedure yaml_parser_mod::yaml_tree::create ( class (yaml_tree), intent(inout) self)

Definition at line 148 of file yaml_parser.F.

◆ destroy()

procedure yaml_parser_mod::yaml_tree::destroy ( class (yaml_tree), intent(inout) self)

Definition at line 149 of file yaml_parser.F.

◆ dump()

procedure yaml_parser_mod::yaml_tree::dump ( class (yaml_tree), intent(in) self)

Definition at line 150 of file yaml_parser.F.

◆ extract()

procedure yaml_parser_mod::yaml_tree::extract ( class (yaml_tree), intent(in) self,
character (len=*), intent(in) keystring,
type (yaml_extract), dimension(:), intent(inout), allocatable s )

Definition at line 151 of file yaml_parser.F.

◆ fill()

procedure yaml_parser_mod::yaml_tree::fill ( class (yaml_tree), intent(inout) self)

Definition at line 152 of file yaml_parser.F.

◆ fill_aliases()

procedure yaml_parser_mod::yaml_tree::fill_aliases ( class (yaml_tree), intent(inout) self,
integer, intent(in) nalias,
integer, intent(in) nanchor )

Definition at line 153 of file yaml_parser.F.

◆ has()

procedure yaml_parser_mod::yaml_tree::has ( class (yaml_tree), intent(inout) self,
character (len=*), intent(in) keystring )

Definition at line 154 of file yaml_parser.F.

◆ read_line()

procedure yaml_parser_mod::yaml_tree::read_line ( class (yaml_tree), intent(inout) self,
integer, intent(out) nblanks,
character (len=*), intent(out) line,
character (len=*), intent(out) key,
character (len=*), intent(out) value,
character (len=*), intent(out) anchor,
logical, dimension(:), intent(out) lswitch )

Definition at line 155 of file yaml_parser.F.

Member Data Documentation

◆ filename

character (len=:), allocatable yaml_parser_mod::yaml_tree::filename

Definition at line 140 of file yaml_parser.F.

140 character (len=:), allocatable :: filename ! YAML file name

◆ indent

integer yaml_parser_mod::yaml_tree::indent

Definition at line 138 of file yaml_parser.F.

138 integer :: indent ! blank indentation policy

◆ iscreated

logical yaml_parser_mod::yaml_tree::iscreated = .FALSE.

Definition at line 134 of file yaml_parser.F.

134 logical :: IsCreated = .false. ! Object creation switch

◆ list

type (yaml_pair), dimension(:), pointer yaml_parser_mod::yaml_tree::list

Definition at line 144 of file yaml_parser.F.

144 TYPE (yaml_pair), pointer :: list(:)

◆ nbranches

integer yaml_parser_mod::yaml_tree::nbranches

Definition at line 136 of file yaml_parser.F.

136 integer :: Nbranches ! total number of branches

◆ npairs

integer yaml_parser_mod::yaml_tree::npairs

Definition at line 137 of file yaml_parser.F.

137 integer :: Npairs ! total number of pairs

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