#include <Discnumber.h>
|
| DiscnumberFrame (TagLib::FileRef *file_ref) |
|
void | map_model_to_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 () 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 (Discnumber &data) |
| sets the _data_model by reading from the frame More...
|
|
virtual bool | write (const 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...
|
|
|
const char * | _four |
|
TagLib::ID3v2::Tag * | _tag |
|
Discnumber | _data_model |
|
TagLib::ID3v2::TextIdentificationFrame * | _frame |
|
◆ create_id3v2_frame()
TagLib::ID3v2::Frame* ID3v2Frame::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