StationList Class Reference

Contains a list of stations, including meta data. More...

#include <stationlist.h>

Collaboration diagram for StationList:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 StationList ()
 StationList (const StationList &sl)
 ~StationList ()
int count () const
const RadioStationat (int idx) const
RadioStationat (int idx)
const RadioStationstationWithID (const QString &sid) const
RadioStationstationWithID (const QString &sid)
RawStationListall ()
RawStationList const & all () const
StationListMetaDatametaData ()
StationListMetaData const & metaData () const
void merge (const StationList &other)
 merges the other list into this one.
StationListoperator= (const StationList &sl)
bool readXML (const QString &dat, const IErrorLogClient &logger, bool enableMessageBox=true)
bool readXML (const KURL &url, const IErrorLogClient &logger, bool enableMessageBox=true)
QString writeXML (const IErrorLogClient &logger) const
bool writeXML (const KURL &url, const IErrorLogClient &logger, bool enableMessageBox=true) const
bool operator== (const StationList &x) const
bool operator!= (const StationList &x) const

Protected Attributes

RawStationList m_all
StationListMetaData m_metaData

Detailed Description

Contains a list of stations, including meta data.

Author:
Klas Kalass, Ernst Martin Witte

Definition at line 103 of file stationlist.h.


Constructor & Destructor Documentation

StationList::StationList (  ) 

StationList::StationList ( const StationList sl  ) 

StationList::~StationList (  ) 


Member Function Documentation

RawStationList const& StationList::all (  )  const [inline]

Definition at line 120 of file stationlist.h.

References m_all.

RawStationList& StationList::all (  )  [inline]

Definition at line 119 of file stationlist.h.

References m_all.

RadioStation& StationList::at ( int  idx  ) 

const RadioStation& StationList::at ( int  idx  )  const

int StationList::count (  )  const [inline]

Definition at line 111 of file stationlist.h.

References m_all.

void StationList::merge ( const StationList other  ) 

merges the other list into this one.

creates copies from the stations.

StationListMetaData const& StationList::metaData (  )  const [inline]

Definition at line 124 of file stationlist.h.

References m_metaData.

StationListMetaData& StationList::metaData (  )  [inline]

Definition at line 123 of file stationlist.h.

References m_metaData.

bool StationList::operator!= ( const StationList x  )  const [inline]

Definition at line 149 of file stationlist.h.

References operator==().

StationList& StationList::operator= ( const StationList sl  ) 

bool StationList::operator== ( const StationList x  )  const [inline]

Definition at line 148 of file stationlist.h.

References m_all, and m_metaData.

Referenced by operator!=().

bool StationList::readXML ( const KURL &  url,
const IErrorLogClient &  logger,
bool  enableMessageBox = true 
)

bool StationList::readXML ( const QString &  dat,
const IErrorLogClient &  logger,
bool  enableMessageBox = true 
)

RadioStation& StationList::stationWithID ( const QString &  sid  ) 

const RadioStation& StationList::stationWithID ( const QString &  sid  )  const

bool StationList::writeXML ( const KURL &  url,
const IErrorLogClient &  logger,
bool  enableMessageBox = true 
) const

QString StationList::writeXML ( const IErrorLogClient &  logger  )  const


Member Data Documentation

RawStationList StationList::m_all [protected]

Definition at line 152 of file stationlist.h.

Referenced by all(), count(), and operator==().

StationListMetaData StationList::m_metaData [protected]

Definition at line 153 of file stationlist.h.

Referenced by metaData(), and operator==().


The documentation for this class was generated from the following file:
Generated on Fri Jan 28 16:42:33 2011 for kradio by  doxygen 1.4.7