utf8_string_iterator Derived Type

type, public :: utf8_string_iterator


Contents


Components

TypeVisibilityAttributesNameInitial
integer, public :: cur =1
character(kind=c_char,len=:), public, pointer:: ptr=> null()

Type-Bound Procedures

procedure, public :: get_next => iterator_get_next

  • public function iterator_get_next(this) result(cp)

    Arguments

    TypeIntentOptionalAttributesName
    class(utf8_string_iterator), intent(inout) :: this

    Return Value character(kind=c_char,len=:),allocatable

procedure, public :: has_next => iterator_has_next

  • public pure function iterator_has_next(this) result(r)

    iterator methods

    Arguments

    TypeIntentOptionalAttributesName
    class(utf8_string_iterator), intent(in) :: this

    Return Value logical