PPL7-Icon Patrick's Programming Library Version 7.0.0 - Dokumentation
ppl7::CDDB Klassenreferenz

Klassen

class  Disc
 
class  Track
 

Öffentliche Typen

typedef std::list< DiscMatches
 

Öffentliche Methoden

 CDDB ()
 
 ~CDDB ()
 
void getDisc (unsigned int discId, const String &category, Disc &d)
 
 PPL7EXCEPTION (QueryFailed, Exception)
 
 PPL7EXCEPTION (InvalidDiscId, Exception)
 
int query (AudioCD &cd, Matches &list)
 
void setClient (const String &name, const String &version)
 
void setHttpServer (const String &server, int port=80)
 
void setProxy (const String &hostname, int port)
 
void setQueryPath (const String &path)
 
void setUser (const String &username, const String &hostname)
 

Öffentliche, statische Methoden

static unsigned int calcDiscId (AudioCD &cd)
 
static bool isSupported ()
 

Private Methoden

String buildUri (const String &cmd)
 

Private Attribute

String ClientName
 
String ClientVersion
 
ppl7::Curl curl
 
String Hostname
 
int port
 
String QueryPath
 
String Server
 
String UserName
 

Dokumentation der benutzerdefinierten Datentypen

typedef std::list<Disc> ppl7::CDDB::Matches

Beschreibung der Konstruktoren und Destruktoren

ppl7::CDDB::CDDB ( )
ppl7::CDDB::~CDDB ( )

Dokumentation der Elementfunktionen

String ppl7::CDDB::buildUri ( const String cmd)
private
unsigned int ppl7::CDDB::calcDiscId ( AudioCD cd)
static
void ppl7::CDDB::getDisc ( unsigned int  discId,
const String category,
Disc d 
)
bool ppl7::CDDB::isSupported ( )
static
ppl7::CDDB::PPL7EXCEPTION ( QueryFailed  ,
Exception   
)
ppl7::CDDB::PPL7EXCEPTION ( InvalidDiscId  ,
Exception   
)
int ppl7::CDDB::query ( AudioCD cd,
Matches list 
)
void ppl7::CDDB::setClient ( const String name,
const String version 
)
void ppl7::CDDB::setHttpServer ( const String server,
int  port = 80 
)
void ppl7::CDDB::setProxy ( const String hostname,
int  port 
)
void ppl7::CDDB::setQueryPath ( const String path)
void ppl7::CDDB::setUser ( const String username,
const String hostname 
)

Dokumentation der Datenelemente

String ppl7::CDDB::ClientName
private
String ppl7::CDDB::ClientVersion
private
ppl7::Curl ppl7::CDDB::curl
private
String ppl7::CDDB::Hostname
private
int ppl7::CDDB::port
private
String ppl7::CDDB::QueryPath
private
String ppl7::CDDB::Server
private
String ppl7::CDDB::UserName
private

Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Dateien: