class TL_TEXT_IDENTIFICATION_ID3_FRAME_CPP_API
Interface to class TagLib::ID3v2::TextIdentificationFrame
#include mpeg/id3v2/frames/textidentificationframe.h
note
description: "[
Interface to class `TagLib::ID3v2::TextIdentificationFrame'
#include mpeg/id3v2/frames/textidentificationframe.h
]"
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: "2024-01-07 10:21:17 GMT (Sunday 7th January 2024)"
revision: "10"
class
TL_TEXT_IDENTIFICATION_ID3_FRAME_CPP_API
inherit
EL_CPP_API
feature {NONE} -- Initialization
frozen cpp_new (type: POINTER; encoding: NATURAL_8): POINTER
-- TextIdentificationFrame(const ByteVector &type, String::Type encoding);
external
"C++ inline use <mpeg/id3v2/frames/textidentificationframe.h>"
alias
"[
TagLib::ByteVector &type = *((TagLib::ByteVector *)$type);
return new TagLib::ID3v2::TextIdentificationFrame (type, (TagLib::String::Type)$encoding)
]"
end
feature {NONE} -- Status query
frozen cpp_conforms (frame: POINTER): BOOLEAN
-- True if frame conforms to type `TagLib::ID3v2::TextIdentificationFrame'
external
"C++ inline use <mpeg/id3v2/frames/textidentificationframe.h>"
alias
"[
const TagLib::ID3v2::Frame* frame = (const TagLib::ID3v2::Frame*)$frame;
return dynamic_cast<const TagLib::ID3v2::TextIdentificationFrame*>(frame) != NULL
]"
end
feature {NONE} -- Access
frozen cpp_field_list (self: POINTER): POINTER
external
"C++ inline use <mpeg/id3v2/frames/textidentificationframe.h>"
alias
"new TagLib::StringList (((TagLib::ID3v2::TextIdentificationFrame*)$self)->fieldList ())"
end
frozen cpp_text_encoding (self: POINTER): NATURAL_8
-- String::Type textEncoding() const;
external
"C++ [TagLib::ID3v2::TextIdentificationFrame %"mpeg/id3v2/frames/textidentificationframe.h%"] (): EIF_NATURAL_8"
alias
"textEncoding"
end
end