TUV-x
Loading...
Searching...
No Matches
musica_config::config_iterator_t Type Reference

Configuration data iterator. More...

Inheritance diagram for musica_config::config_iterator_t:
musica_iterator::iterator_t

Public Member Functions

procedure next (this)
 Advances to the next key-value pair.
 
procedure reset (this, parent)
 Resets the iterator.
 
final iterator_finalize (this)
 Clean up memory.
 
- Public Member Functions inherited from musica_iterator::iterator_t
procedure(next), deferred next next
 Advances the iterator.
 
procedure(reset), deferred reset reset
 Resets the iterator to the beginning of the collection.
 

Public Attributes

type(c_ptr) node_ = c_null_ptr
 Pointer to the node to iterator over (owned by config_t)
 
type(c_ptr) curr_ = c_null_ptr
 Current iterator.
 
type(c_ptr) end_ = c_null_ptr
 End pointer.
 

Detailed Description

Configuration data iterator.

Constructor & Destructor Documentation

◆ iterator_finalize()

final musica_config::config_iterator_t::iterator_finalize ( type(config_iterator_t), intent(inout) this)
final

Clean up memory.

Parameters
[in,out]thisIterator

Member Function/Subroutine Documentation

◆ next()

procedure musica_config::config_iterator_t::next ( class(config_iterator_t), intent(inout) this)

Advances to the next key-value pair.

Returns false if the end of the collection has been reached

Parameters
[in,out]thisIterator

◆ reset()

procedure musica_config::config_iterator_t::reset ( class(config_iterator_t), intent(inout) this,
class(iterator_t), intent(in), optional parent )

Resets the iterator.

Parameters
[in,out]thisIterator
[in]parentIterator for parent model element

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