MythTV  master
Public Types | Public Member Functions | Public Attributes | List of all members
Cddb::Album Struct Reference

#include <cddb.h>

Collaboration diagram for Cddb::Album:
Collaboration graph
[legend]

Public Types

using track_t = QVector< Track >
 
using ext_t = QVector< QString >
 

Public Member Functions

 Album (discid_t d=0, const char *g=nullptr)
 
 Album (const QString &s)
 
Albumoperator= (const QString &)
 Parse CDDB text. More...
 
 operator QString () const
 Convert album to CDDB text form. More...
 

Public Attributes

QString discGenre
 
discid_t discID
 
QString artist
 
QString title
 
QString genre
 
int year
 
QString submitter
 
int rev
 
bool isCompilation
 
track_t tracks
 
QString extd
 
ext_t ext
 
Toc toc
 

Detailed Description

Definition at line 61 of file cddb.h.

Member Typedef Documentation

◆ track_t

using Cddb::Album::track_t = QVector< Track >

Definition at line 72 of file cddb.h.

◆ ext_t

using Cddb::Album::ext_t = QVector< QString >

Definition at line 75 of file cddb.h.

Constructor & Destructor Documentation

◆ Album() [1/2]

Cddb::Album::Album ( discid_t  d = 0,
const char *  g = nullptr 
)
inline

Definition at line 79 of file cddb.h.

◆ Album() [2/2]

Cddb::Album::Album ( const QString &  s)
inlineexplicit

Definition at line 82 of file cddb.h.

Member Function Documentation

◆ operator=()

Cddb::Album & Cddb::Album::operator= ( const QString &  rhs)

Parse CDDB text.

Definition at line 291 of file cddb.cpp.

◆ operator QString()

Cddb::Album::operator QString ( ) const

Convert album to CDDB text form.

Definition at line 434 of file cddb.cpp.

Member Data Documentation

◆ discGenre

QString Cddb::Album::discGenre

◆ discID

discid_t Cddb::Album::discID

◆ artist

QString Cddb::Album::artist

◆ title

QString Cddb::Album::title

◆ genre

QString Cddb::Album::genre

Definition at line 67 of file cddb.h.

Referenced by Dbase::CachePut(), CdDecoder::getMetadata(), Dbase::MakeAlias(), and operator=().

◆ year

int Cddb::Album::year

Definition at line 68 of file cddb.h.

Referenced by CdDecoder::getMetadata(), and operator=().

◆ submitter

QString Cddb::Album::submitter

Definition at line 69 of file cddb.h.

Referenced by operator=().

◆ rev

int Cddb::Album::rev

Definition at line 70 of file cddb.h.

Referenced by operator=().

◆ isCompilation

bool Cddb::Album::isCompilation

Definition at line 71 of file cddb.h.

Referenced by CdDecoder::getMetadata(), and operator=().

◆ tracks

track_t Cddb::Album::tracks

Definition at line 73 of file cddb.h.

Referenced by CdDecoder::getMetadata(), and operator=().

◆ extd

QString Cddb::Album::extd

Definition at line 74 of file cddb.h.

Referenced by operator=().

◆ ext

ext_t Cddb::Album::ext

Definition at line 76 of file cddb.h.

Referenced by operator=().

◆ toc

Toc Cddb::Album::toc

Definition at line 77 of file cddb.h.

Referenced by operator=().


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