ShoutCastResponse Class Reference

List of all members.

Public Member Functions

 ShoutCastResponse (void)
 ~ShoutCastResponse (void)
int getMetaint (void)
int getBitrate (void)
QString getGenre (void)
QString getName (void)
int getStatus (void)
bool isICY (void)
QString getContent (void)
QString getLocation (void)
QString getString (const QString &key)
int getInt (const QString &key)
int fillResponse (const char *data, int len)
 Consume bytes and parse shoutcast header.

Private Attributes

QMap< QString, QString > m_data

Detailed Description

Definition at line 136 of file shoutcast.cpp.


Constructor & Destructor Documentation

ShoutCastResponse::ShoutCastResponse ( void   )  [inline]

Definition at line 139 of file shoutcast.cpp.

ShoutCastResponse::~ShoutCastResponse ( void   )  [inline]

Definition at line 140 of file shoutcast.cpp.


Member Function Documentation

int ShoutCastResponse::getMetaint ( void   )  [inline]
int ShoutCastResponse::getBitrate ( void   )  [inline]
QString ShoutCastResponse::getGenre ( void   )  [inline]

Definition at line 150 of file shoutcast.cpp.

Referenced by ShoutCastIODevice::switchToState().

QString ShoutCastResponse::getName ( void   )  [inline]

Definition at line 151 of file shoutcast.cpp.

Referenced by ShoutCastIODevice::switchToState().

int ShoutCastResponse::getStatus ( void   )  [inline]
bool ShoutCastResponse::isICY ( void   )  [inline]

Definition at line 153 of file shoutcast.cpp.

Referenced by DecoderIOFactoryShoutCast::checkResponseOK().

QString ShoutCastResponse::getContent ( void   )  [inline]

Definition at line 154 of file shoutcast.cpp.

Referenced by DecoderIOFactoryShoutCast::periodicallyCheckBuffered().

QString ShoutCastResponse::getLocation ( void   )  [inline]
QString ShoutCastResponse::getString ( const QString &  key  )  [inline]

Definition at line 157 of file shoutcast.cpp.

Referenced by getContent(), getGenre(), getLocation(), and getName().

int ShoutCastResponse::getInt ( const QString &  key  )  [inline]

Definition at line 158 of file shoutcast.cpp.

Referenced by getBitrate(), getMetaint(), and getStatus().

int ShoutCastResponse::fillResponse ( const char *  s,
int  l 
)

Consume bytes and parse shoutcast header.

Returns:
number of bytes consumed

Definition at line 169 of file shoutcast.cpp.

Referenced by ShoutCastIODevice::parseHeader().


Member Data Documentation

QMap<QString, QString> ShoutCastResponse::m_data [private]

Definition at line 163 of file shoutcast.cpp.

Referenced by fillResponse(), getInt(), getMetaint(), getString(), and isICY().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Mon May 28 06:42:27 2012 for MythTV by  doxygen 1.6.3