#include <Discnumber.h>
|
|
| DiscnumberFrame (const TagLib::FileRef &f) |
| |
|
void | map_model_to_frame (const Models::Discnumber &model, TagLib::ID3v2::TextIdentificationFrame *frame) override |
| | map_model_to_frame
maps the model to the frame and vice versa so the frame knows how to get/set data
|
| |
|
void | map_frame_to_model (const TagLib::ID3v2::TextIdentificationFrame *frame, Models::Discnumber &model) override |
| |
| TagLib::ID3v2::Frame * | create_id3v2_frame () override |
| | create_id3v2_frame creates new id3v2 frame if there's no frame we have to create it manually every subclass has to implement this function More...
|
| |
| virtual bool | read (Models::Discnumber &data) |
| | sets the _data_model by reading from the frame More...
|
| |
| virtual bool | write (const Models::Discnumber &data_model) |
| | insert the _data_model into the frame More...
|
| |
| bool | is_frame_found () const |
| | if the frame was found when called read() More...
|
| |
|
|
TagLib::ID3v2::Tag * | tag () const |
| |
|
void | set_tag (TagLib::ID3v2::Tag *tag) |
| |
|
QString | cvt_string (const TagLib::String str) const |
| |
|
TagLib::String | cvt_string (const QString &str) const |
| |
|
QString | key () const |
| |
|
TagLib::String | tag_key () const |
| |
|
|
TagLib::ID3v2::TextIdentificationFrame * | _frame |
| |
◆ create_id3v2_frame()
| TagLib::ID3v2::Frame* ID3v2::DiscnumberFrame::create_id3v2_frame |
( |
| ) |
|
|
overridevirtual |
◆ is_frame_found()
if the frame was found when called read()
- Returns
- true, if the frame was found
◆ read()
sets the _data_model by reading from the frame
- Parameters
-
| data | reference to data filled with _data_model |
- Returns
- false, if frame cannot be accessed, true else
◆ write()
insert the _data_model into the frame
- Parameters
-
- Returns
- false if frame cannot be accessed