class TL_ID3_FRAME_ITERATION_CURSOR
Taglib ID3 frame iteration cursor
C++ Hierarchy
Frame AttachedPictureFrame ChapterFrame CommentsFrame TextIdentificationFrame UserTextIdentificationFrame UniqueFileIdentifierFrame
note
description: "Taglib ID3 frame iteration cursor"
notes: "[
**C++ Hierarchy**
Frame
AttachedPictureFrame
ChapterFrame
CommentsFrame
TextIdentificationFrame
UserTextIdentificationFrame
UniqueFileIdentifierFrame
]"
author: "Finnian Reilly"
copyright: "Copyright (c) 2001-2022 Finnian Reilly"
contact: "finnian at eiffel hyphen loop dot com"
license: "MIT license (See: en.wikipedia.org/wiki/MIT_License)"
date: "2022-11-15 19:56:06 GMT (Tuesday 15th November 2022)"
revision: "10"
class
TL_ID3_FRAME_ITERATION_CURSOR
inherit
EL_CPP_STD_ITERATION_CURSOR [TL_ID3_TAG_FRAME]
TL_ID3_FRAME_LIST_ITERATOR_CPP_API
create
make
feature -- Access
item: TL_ID3_TAG_FRAME
local
frame: POINTER
do
frame := cpp_item (self_ptr)
if {TL_CHAPTER_ID3_FRAME}.cpp_conforms (frame) then
create {TL_CHAPTER_ID3_FRAME} Result.make_from_pointer (frame)
elseif {TL_COMMENTS_ID3_FRAME}.cpp_conforms (frame) then
create {TL_COMMENTS_ID3_FRAME} Result.make_from_pointer (frame)
elseif {TL_PICTURE_ID3_FRAME}.cpp_conforms (frame) then
create {TL_PICTURE_ID3_FRAME} Result.make_from_pointer (frame)
-- must check before C++ parent TextIdentificationFrame
elseif {TL_USER_TEXT_IDENTIFICATION_ID3_FRAME_CPP_API}.cpp_user_conforms (frame) then
create {TL_USER_TEXT_IDENTIFICATION_ID3_FRAME} Result.make_from_pointer (frame)
elseif {TL_TEXT_IDENTIFICATION_ID3_FRAME}.cpp_conforms (frame) then
create {TL_TEXT_IDENTIFICATION_ID3_FRAME} Result.make_from_pointer (frame)
elseif {TL_UNIQUE_FILE_IDENTIFIER_ID3_FRAME}.cpp_conforms (frame) then
create {TL_UNIQUE_FILE_IDENTIFIER_ID3_FRAME} Result.make_from_pointer (frame)
else
create Result.make_from_pointer (frame)
end
end
end