Represents a song with associated metadata and inode. More...
#include <songmap.hpp>
Public Member Functions | |
Song (unsigned int inode, const Metadata &metadata) | |
Constructs a Song with the given inode and metadata. | |
Song () | |
Default constructor for a Song, initializing with default values. | |
template<class Archive> | |
void | serialize (Archive &ar) |
Serializes the Song object. | |
Public Attributes | |
unsigned int | inode |
Metadata | metadata |
Represents a song with associated metadata and inode.
The Song struct contains an inode identifier and a Metadata object that holds the metadata for a song. The metadata includes details such as title, artist, album, genre, and track number.
|
inline |
Constructs a Song with the given inode and metadata.
inode | The inode of the song. |
metadata | The metadata associated with the song. |
|
inline |
Default constructor for a Song, initializing with default values.
|
inline |
unsigned int Song::inode |
The inode of the file representing the song