libtaginfo  0.2.1
Public Member Functions | List of all members
TagInfo::AiffInfo Class Reference

Info implementation for aiff files. More...

#include <taginfo_id3tags.h>

Inheritance diagram for TagInfo::AiffInfo:
TagInfo::Id3Info TagInfo::Info

Public Member Functions

 AiffInfo (const String &filename="")
 
- Public Member Functions inherited from TagInfo::Id3Info
virtual bool load (void)
 
virtual bool save ()
 
virtual ImageList get_images () const
 
virtual void set_images (const ImageList images)
 
virtual String get_lyrics (void) const
 
virtual void set_lyrics (const String &lyrics)
 Set an embedded Lyrics String to be saved to Info object.
 
- Public Member Functions inherited from TagInfo::Info
String get_file_name (void)
 
bool is_valid ()
 
String get_album_artist (void) const
 Get the album artist tag of a media track. More...
 
void set_album_artist (const String new_artist)
 
String get_album (void) const
 Get the album tag of a media track. More...
 
void set_album (const String new_album)
 
String get_artist (void) const
 Get the artist tag of a media track. More...
 
void set_artist (const String new_artist)
 
int get_beats_per_minute () const
 Get the BPM of a media track. More...
 
void set_beats_per_minute (const int new_bpm)
 
String get_comments (void) const
 Get the comments tag of a media track. More...
 
void set_comments (const String new_comments)
 
String get_composer (void) const
 Get the composer tag of a media track. More...
 
void set_composer (const String new_composer)
 
String get_copyright (void) const
 Get the copyright tag of a media track. More...
 
void set_copyright (const String new_copyright)
 
String get_encoder (void) const
 Get the encoder tag of a media track. More...
 
void set_encoder (const String new_encoder)
 
String get_genre (void) const
 Get the genre of a media track. More...
 
void set_genre (const String new_genre)
 
bool get_has_image () const
 Get information on the availability of an image. More...
 
String get_homepage (void) const
 Get the homepage tag of a media track. More...
 
void set_homepage (const String new_homepage)
 
bool get_is_compilation () const
 Get wether the media file is part of a compilation/various artists album, or not.
 
void set_is_compilation (bool compilation)
 
String get_original_artist (void) const
 Get the original artist tag of a media track. More...
 
void set_original_artist (const String new_artist)
 
int get_playcount () const
 Get the playcount tag of a media track. More...
 
void set_playcount (int new_playcount)
 
int get_rating () const
 
void set_rating (const int new_rating)
 
String get_title (void) const
 Get the title of a media track. More...
 
void set_title (const String new_title)
 
int get_track_count () const
 
void set_track_count (const int new_track_count)
 
int get_track_number () const
 Get the track_number tag of a media track. More...
 
void set_track_number (const int new_track_number)
 
int get_volume_count () const
 Get volume count of a media track. (like CD 2 of 3) More...
 
void set_volume_count (const int count)
 
int get_volume_number () const
 Get volume number of a media track. (like CD 2 of 3) More...
 
void set_volume_number (const int number)
 
int get_year () const
 Get the year tag of a media track. More...
 
void set_year (const int new_year)
 
int get_length_seconds () const
 Get the length of the media file in seconds.
 
int get_bitrate () const
 Get the bitrate of the media file.
 
int get_channels () const
 Get the number of channels of the media file.
 
int get_samplerate () const
 Get the samplerate of the media file.
 
StringList get_track_labels_list () const
 Get a list of embedded track labels.
 
void set_track_labels_list (const StringList &new_track_labels_list)
 
StringList get_artist_labels_list () const
 Get a list of embedded artist labels.
 
void set_artist_labels_list (const StringList &new_artist_labels_list)
 
StringList get_album_labels_list () const
 Get a list of embedded album labels.
 
void set_album_labels_list (const StringList &new_album_labels_list)
 

Additional Inherited Members

- Static Public Member Functions inherited from TagInfo::Info
static Infocreate (const String &filename)
 
static Infocreate_with_file_type (const String &file, MediaFileType format)
 
static Infocreate_from_mime (const String &filename, const String &mime_type)
 
- Protected Member Functions inherited from TagInfo::Id3Info
 Id3Info (const String &filename="")
 
- Protected Member Functions inherited from TagInfo::Info
 Info (const String &filename="")
 Constructor to be called from derrived classes.
 
void load_base_tags (TagLib::Tag *tag)
 
void save_base_tags (TagLib::Tag *tag)
 
- Protected Attributes inherited from TagInfo::Id3Info
ID3v2::Tag * taglib_tagId3v2
 Id3 v2 tag.
 
- Protected Attributes inherited from TagInfo::Info
TagLib::FileRef * taglib_fileref
 TagLib::FileRef of the media file
 
TagLib::File * taglib_file
 TagLib::File of the media file
 
TagLib::Tag * taglib_tag
 TagLib::Tag of the media file
 
String file_name
 The path of the media file.
 
String title
 Title of the Info object.
 
String genre
 Genre of the Info object.
 
String artist
 Artist of the Info object.
 
String album_artist
 Album artist of the Info object.
 
String album
 Album of the Info object.
 
String composer
 Composer of the Info object.
 
String comments
 Comments of the Info object.
 
String homepage
 Homepage of the Info object.
 
String encoder
 Encoder of the Info object.
 
String copyright
 Copyright of the Info object.
 
String original_artist
 Original artist of the Info object.
 
int track_number
 Track number of the Info object.
 
int track_count
 Track count of the Info object.
 
int year
 Year of the Info object.
 
bool is_compilation
 Whether the media file is part of a compilation.
 
int beats_per_minute
 Speed in beats per minute.
 
int volume_number
 Volume number of the Info object.
 
int volume_count
 Volume count of the Info object.
 
int length_seconds
 Lenght in seconds.
 
int bitrate
 Bitrate.
 
int samplerate
 Sample rate.
 
int channels
 Channel count.
 
int playcount
 Play count.
 
int rating
 Rating (1 - 5 stars, 0 not set)
 
StringList track_labels
 User defined track labels.
 
String track_labels_string
 User defined track labels as string with "|" as delimiter.
 
StringList artist_labels
 User defined artist labels.
 
String artist_labels_string
 User defined artist labels as string with "|" as delimiter.
 
StringList album_labels
 User defined album labels.
 
String album_labels_string
 User defined album labels as string with "|" as delimiter.
 
ulong changedflag
 The setters for the tags on the info object will set these ChangedFlags flags.
 
bool has_image
 Whether there is image data available.
 
bool valid
 Whether the info object is valid.
 

Detailed Description

Info implementation for aiff files.

AiffInfo is an implementation of Info for aif files.

Constructor & Destructor Documentation

◆ AiffInfo()

AiffInfo::AiffInfo ( const String &  filename = "")

Constructor for AiffInfo

Parameters
filenameis the path to the media file

The documentation for this class was generated from the following files: