#include <upnpcdsobjects.h>
Definition at line 125 of file upnpcdsobjects.h.
Public Member Functions | |
| CDSObject (const QString sId="-1", const QString sTitle="", const QString sParentId="-1") | |
| virtual | ~CDSObject () |
| Property * | AddProperty (Property *pProp) |
| CDSObject * | AddChild (CDSObject *pChild) |
| ContainerClass * | AddSearchClass (ContainerClass *pClass) |
| ContainerClass * | AddCreateClass (ContainerClass *pClass) |
| void | SetPropValue (QString sName, QString sValue) |
| QString | GetPropValue (QString sName) |
| QString | toXml () |
| void | toXml (QTextStream &os) |
| long | GetChildCount () |
| void | SetChildCount (long nCount) |
| Resource * | AddResource (QString sProtocol, QString sURI) |
Static Public Member Functions | |
| static CDSObject * | CreateItem (QString sId, QString sTitle, QString sParentId, CDSObject *pObject=NULL) |
| static CDSObject * | CreateContainer (QString sId, QString sTitle, QString sParentId, CDSObject *pObject=NULL) |
| static CDSObject * | CreateAudioItem (QString sId, QString sTitle, QString sParentId, CDSObject *pObject=NULL) |
| static CDSObject * | CreateMusicTrack (QString sId, QString sTitle, QString sParentId, CDSObject *pObject=NULL) |
| static CDSObject * | CreateAudioBroadcast (QString sId, QString sTitle, QString sParentId, CDSObject *pObject=NULL) |
| static CDSObject * | CreateAudioBook (QString sId, QString sTitle, QString sParentId, CDSObject *pObject=NULL) |
| static CDSObject * | CreateVideoItem (QString sId, QString sTitle, QString sParentId, CDSObject *pObject=NULL) |
| static CDSObject * | CreateMovie (QString sId, QString sTitle, QString sParentId, CDSObject *pObject=NULL) |
| static CDSObject * | CreateVideoBroadcast (QString sId, QString sTitle, QString sParentId, CDSObject *pObject=NULL) |
| static CDSObject * | CreateMusicVideoClip (QString sId, QString sTitle, QString sParentId, CDSObject *pObject=NULL) |
| static CDSObject * | CreateImageItem (QString sId, QString sTitle, QString sParentId, CDSObject *pObject=NULL) |
| static CDSObject * | CreatePhoto (QString sId, QString sTitle, QString sParentId, CDSObject *pObject=NULL) |
| static CDSObject * | CreatePlaylistItem (QString sId, QString sTitle, QString sParentId, CDSObject *pObject=NULL) |
| static CDSObject * | CreateTextItem (QString sId, QString sTitle, QString sParentId, CDSObject *pObject=NULL) |
| static CDSObject * | CreateAlbum (QString sId, QString sTitle, QString sParentId, CDSObject *pObject=NULL) |
| static CDSObject * | CreateMusicAlbum (QString sId, QString sTitle, QString sParentId, CDSObject *pObject=NULL) |
| static CDSObject * | CreatePhotoAlbum (QString sId, QString sTitle, QString sParentId, CDSObject *pObject=NULL) |
| static CDSObject * | CreateGenre (QString sId, QString sTitle, QString sParentId, CDSObject *pObject=NULL) |
| static CDSObject * | CreateMusicGenre (QString sId, QString sTitle, QString sParentId, CDSObject *pObject=NULL) |
| static CDSObject * | CreateMovieGenre (QString sId, QString sTitle, QString sParentId, CDSObject *pObject=NULL) |
| static CDSObject * | CreatePlaylistContainer (QString sId, QString sTitle, QString sParentId, CDSObject *pObject=NULL) |
| static CDSObject * | CreatePerson (QString sId, QString sTitle, QString sParentId, CDSObject *pObject=NULL) |
| static CDSObject * | CreateMusicArtist (QString sId, QString sTitle, QString sParentId, CDSObject *pObject=NULL) |
| static CDSObject * | CreateStorageSystem (QString sId, QString sTitle, QString sParentId, CDSObject *pObject=NULL) |
| static CDSObject * | CreateStorageVolume (QString sId, QString sTitle, QString sParentId, CDSObject *pObject=NULL) |
| static CDSObject * | CreateStorageFolder (QString sId, QString sTitle, QString sParentId, CDSObject *pObject=NULL) |
Public Attributes | |
| short | m_nUpdateId |
| ObjectTypes | m_eType |
| QString | m_sId |
| QString | m_sParentId |
| QString | m_sTitle |
| QString | m_sClass |
| bool | m_bRestricted |
| bool | m_bSearchable |
| QString | m_sCreator |
| QString | m_sWriteStatus |
| Classes | m_SearchClass |
| Classes | m_CreateClass |
| Properties | m_properties |
| CDSObjects | m_children |
| long | m_nChildCount |
| Resources | m_resources |
| CDSObject::CDSObject | ( | const QString | sId = "-1", |
|
| const QString | sTitle = "", |
|||
| const QString | sParentId = "-1" | |||
| ) |
Definition at line 26 of file upnpcdsobjects.cpp.
Referenced by CreateAlbum(), CreateAudioBook(), CreateAudioBroadcast(), CreateAudioItem(), CreateContainer(), CreateGenre(), CreateImageItem(), CreateItem(), CreateMovie(), CreateMovieGenre(), CreateMusicAlbum(), CreateMusicArtist(), CreateMusicGenre(), CreateMusicTrack(), CreateMusicVideoClip(), CreatePerson(), CreatePhoto(), CreatePhotoAlbum(), CreatePlaylistContainer(), CreatePlaylistItem(), CreateStorageFolder(), CreateStorageSystem(), CreateStorageVolume(), CreateTextItem(), CreateVideoBroadcast(), and CreateVideoItem().
| CDSObject::~CDSObject | ( | ) | [virtual] |
Definition at line 53 of file upnpcdsobjects.cpp.
Definition at line 62 of file upnpcdsobjects.cpp.
Referenced by CreateAlbum(), CreateAudioBook(), CreateAudioBroadcast(), CreateAudioItem(), CreateContainer(), CreateGenre(), CreateImageItem(), CreateItem(), CreateMovie(), CreateMusicAlbum(), CreateMusicArtist(), CreateMusicTrack(), CreateMusicVideoClip(), CreatePerson(), CreatePhoto(), CreatePlaylistContainer(), CreatePlaylistItem(), CreateStorageFolder(), CreateStorageSystem(), CreateStorageVolume(), CreateTextItem(), CreateVideoBroadcast(), and CreateVideoItem().
Definition at line 107 of file upnpcdsobjects.cpp.
| ContainerClass* CDSObject::AddSearchClass | ( | ContainerClass * | pClass | ) |
| ContainerClass* CDSObject::AddCreateClass | ( | ContainerClass * | pClass | ) |
| void CDSObject::SetPropValue | ( | QString | sName, | |
| QString | sValue | |||
| ) |
Definition at line 74 of file upnpcdsobjects.cpp.
Referenced by UPnpCDSVideo::AddItem(), UPnpCDSTv::AddItem(), and UPnpCDSMusic::AddItem().
| QString CDSObject::GetPropValue | ( | QString | sName | ) |
Definition at line 89 of file upnpcdsobjects.cpp.
| QString CDSObject::toXml | ( | ) |
| void CDSObject::toXml | ( | QTextStream & | os | ) |
Definition at line 173 of file upnpcdsobjects.cpp.
| long CDSObject::GetChildCount | ( | void | ) |
| void CDSObject::SetChildCount | ( | long | nCount | ) |
Definition at line 148 of file upnpcdsobjects.cpp.
Referenced by UPnpCDSVideo::AddItem(), UPnpCDS::HandleBrowse(), UPnpCDSExtension::ProcessAll(), UPnpCDSExtension::ProcessContainer(), UPnpCDSExtension::ProcessKey(), and UPnpCDSExtension::ProcessRoot().
| Resource * CDSObject::AddResource | ( | QString | sProtocol, | |
| QString | sURI | |||
| ) |
Definition at line 135 of file upnpcdsobjects.cpp.
Referenced by UPnpCDSVideo::AddItem(), UPnpCDSTv::AddItem(), and UPnpCDSMusic::AddItem().
| CDSObject * CDSObject::CreateItem | ( | QString | sId, | |
| QString | sTitle, | |||
| QString | sParentId, | |||
| CDSObject * | pObject = NULL | |||
| ) | [static] |
Definition at line 280 of file upnpcdsobjects.cpp.
Referenced by CreateAudioItem(), CreateImageItem(), CreatePlaylistItem(), CreateTextItem(), and CreateVideoItem().
| CDSObject * CDSObject::CreateContainer | ( | QString | sId, | |
| QString | sTitle, | |||
| QString | sParentId, | |||
| CDSObject * | pObject = NULL | |||
| ) | [static] |
Definition at line 297 of file upnpcdsobjects.cpp.
Referenced by CreateAlbum(), UPnpCDSExtension::CreateContainer(), CreateGenre(), CreatePerson(), CreatePlaylistContainer(), CreateStorageFolder(), CreateStorageSystem(), and CreateStorageVolume().
| CDSObject * CDSObject::CreateAudioItem | ( | QString | sId, | |
| QString | sTitle, | |||
| QString | sParentId, | |||
| CDSObject * | pObject = NULL | |||
| ) | [static] |
Definition at line 317 of file upnpcdsobjects.cpp.
Referenced by CreateAudioBook(), CreateAudioBroadcast(), and CreateMusicTrack().
| CDSObject * CDSObject::CreateAudioBroadcast | ( | QString | sId, | |
| QString | sTitle, | |||
| QString | sParentId, | |||
| CDSObject * | pObject = NULL | |||
| ) | [static] |
Definition at line 365 of file upnpcdsobjects.cpp.
| CDSObject * CDSObject::CreateAudioBook | ( | QString | sId, | |
| QString | sTitle, | |||
| QString | sParentId, | |||
| CDSObject * | pObject = NULL | |||
| ) | [static] |
Definition at line 386 of file upnpcdsobjects.cpp.
| CDSObject * CDSObject::CreateVideoItem | ( | QString | sId, | |
| QString | sTitle, | |||
| QString | sParentId, | |||
| CDSObject * | pObject = NULL | |||
| ) | [static] |
Definition at line 406 of file upnpcdsobjects.cpp.
Referenced by UPnpCDSVideo::AddItem(), UPnpCDSTv::AddItem(), CreateMovie(), CreateMusicVideoClip(), and CreateVideoBroadcast().
| CDSObject * CDSObject::CreateMovie | ( | QString | sId, | |
| QString | sTitle, | |||
| QString | sParentId, | |||
| CDSObject * | pObject = NULL | |||
| ) | [static] |
Definition at line 441 of file upnpcdsobjects.cpp.
| CDSObject * CDSObject::CreateVideoBroadcast | ( | QString | sId, | |
| QString | sTitle, | |||
| QString | sParentId, | |||
| CDSObject * | pObject = NULL | |||
| ) | [static] |
Definition at line 462 of file upnpcdsobjects.cpp.
| CDSObject * CDSObject::CreateMusicVideoClip | ( | QString | sId, | |
| QString | sTitle, | |||
| QString | sParentId, | |||
| CDSObject * | pObject = NULL | |||
| ) | [static] |
Definition at line 481 of file upnpcdsobjects.cpp.
| CDSObject * CDSObject::CreatePhoto | ( | QString | sId, | |
| QString | sTitle, | |||
| QString | sParentId, | |||
| CDSObject * | pObject = NULL | |||
| ) | [static] |
Definition at line 528 of file upnpcdsobjects.cpp.
| CDSObject * CDSObject::CreatePlaylistItem | ( | QString | sId, | |
| QString | sTitle, | |||
| QString | sParentId, | |||
| CDSObject * | pObject = NULL | |||
| ) | [static] |
Definition at line 545 of file upnpcdsobjects.cpp.
| CDSObject * CDSObject::CreateTextItem | ( | QString | sId, | |
| QString | sTitle, | |||
| QString | sParentId, | |||
| CDSObject * | pObject = NULL | |||
| ) | [static] |
Definition at line 568 of file upnpcdsobjects.cpp.
| CDSObject * CDSObject::CreateAlbum | ( | QString | sId, | |
| QString | sTitle, | |||
| QString | sParentId, | |||
| CDSObject * | pObject = NULL | |||
| ) | [static] |
Definition at line 596 of file upnpcdsobjects.cpp.
Referenced by CreateMusicAlbum(), and CreatePhotoAlbum().
| CDSObject * CDSObject::CreateMusicAlbum | ( | QString | sId, | |
| QString | sTitle, | |||
| QString | sParentId, | |||
| CDSObject * | pObject = NULL | |||
| ) | [static] |
Definition at line 620 of file upnpcdsobjects.cpp.
| CDSObject * CDSObject::CreatePhotoAlbum | ( | QString | sId, | |
| QString | sTitle, | |||
| QString | sParentId, | |||
| CDSObject * | pObject = NULL | |||
| ) | [static] |
Definition at line 640 of file upnpcdsobjects.cpp.
| CDSObject * CDSObject::CreateGenre | ( | QString | sId, | |
| QString | sTitle, | |||
| QString | sParentId, | |||
| CDSObject * | pObject = NULL | |||
| ) | [static] |
Definition at line 655 of file upnpcdsobjects.cpp.
Referenced by CreateMovieGenre(), and CreateMusicGenre().
| CDSObject * CDSObject::CreateMusicGenre | ( | QString | sId, | |
| QString | sTitle, | |||
| QString | sParentId, | |||
| CDSObject * | pObject = NULL | |||
| ) | [static] |
Definition at line 673 of file upnpcdsobjects.cpp.
| CDSObject * CDSObject::CreateMovieGenre | ( | QString | sId, | |
| QString | sTitle, | |||
| QString | sParentId, | |||
| CDSObject * | pObject = NULL | |||
| ) | [static] |
Definition at line 688 of file upnpcdsobjects.cpp.
| CDSObject * CDSObject::CreatePlaylistContainer | ( | QString | sId, | |
| QString | sTitle, | |||
| QString | sParentId, | |||
| CDSObject * | pObject = NULL | |||
| ) | [static] |
Definition at line 703 of file upnpcdsobjects.cpp.
| CDSObject * CDSObject::CreateMusicArtist | ( | QString | sId, | |
| QString | sTitle, | |||
| QString | sParentId, | |||
| CDSObject * | pObject = NULL | |||
| ) | [static] |
Definition at line 746 of file upnpcdsobjects.cpp.
| CDSObject * CDSObject::CreateStorageSystem | ( | QString | sId, | |
| QString | sTitle, | |||
| QString | sParentId, | |||
| CDSObject * | pObject = NULL | |||
| ) | [static] |
Definition at line 764 of file upnpcdsobjects.cpp.
| CDSObject * CDSObject::CreateStorageVolume | ( | QString | sId, | |
| QString | sTitle, | |||
| QString | sParentId, | |||
| CDSObject * | pObject = NULL | |||
| ) | [static] |
Definition at line 785 of file upnpcdsobjects.cpp.
| short CDSObject::m_nUpdateId |
Definition at line 128 of file upnpcdsobjects.h.
Referenced by CDSObject(), and UPnpCDS::HandleBrowse().
Definition at line 130 of file upnpcdsobjects.h.
Referenced by CDSObject(), CreateContainer(), CreateItem(), toXml(), and UPnpCDS::UPnpCDS().
| QString CDSObject::m_sId |
Definition at line 134 of file upnpcdsobjects.h.
Referenced by AddChild(), CDSObject(), toXml(), and UPnpCDS::UPnpCDS().
| QString CDSObject::m_sParentId |
Definition at line 135 of file upnpcdsobjects.h.
Referenced by AddChild(), CDSObject(), toXml(), and UPnpCDS::UPnpCDS().
| QString CDSObject::m_sTitle |
Definition at line 136 of file upnpcdsobjects.h.
Referenced by CDSObject(), toXml(), and UPnpCDS::UPnpCDS().
| QString CDSObject::m_sClass |
Definition at line 137 of file upnpcdsobjects.h.
Referenced by CreateAlbum(), CreateAudioBook(), CreateAudioBroadcast(), CreateAudioItem(), CreateContainer(), CreateGenre(), CreateImageItem(), CreateItem(), CreateMovie(), CreateMovieGenre(), CreateMusicAlbum(), CreateMusicArtist(), CreateMusicGenre(), CreateMusicTrack(), CreateMusicVideoClip(), CreatePerson(), CreatePhoto(), CreatePhotoAlbum(), CreatePlaylistContainer(), CreatePlaylistItem(), CreateStorageFolder(), CreateStorageSystem(), CreateStorageVolume(), CreateTextItem(), CreateVideoBroadcast(), CreateVideoItem(), toXml(), and UPnpCDS::UPnpCDS().
Definition at line 138 of file upnpcdsobjects.h.
Referenced by UPnpCDSVideo::AddItem(), UPnpCDSTv::AddItem(), UPnpCDSMusic::AddItem(), CDSObject(), toXml(), and UPnpCDS::UPnpCDS().
Definition at line 139 of file upnpcdsobjects.h.
Referenced by UPnpCDSVideo::AddItem(), UPnpCDSTv::AddItem(), UPnpCDSMusic::AddItem(), toXml(), and UPnpCDS::UPnpCDS().
| QString CDSObject::m_sCreator |
Definition at line 143 of file upnpcdsobjects.h.
| QString CDSObject::m_sWriteStatus |
Definition at line 144 of file upnpcdsobjects.h.
Referenced by UPnpCDSVideo::AddItem(), UPnpCDSTv::AddItem(), UPnpCDSMusic::AddItem(), and CDSObject().
Definition at line 148 of file upnpcdsobjects.h.
Definition at line 149 of file upnpcdsobjects.h.
Definition at line 153 of file upnpcdsobjects.h.
Referenced by AddProperty(), CDSObject(), GetPropValue(), SetPropValue(), and toXml().
Definition at line 154 of file upnpcdsobjects.h.
Referenced by AddChild(), CDSObject(), GetChildCount(), and toXml().
Definition at line 155 of file upnpcdsobjects.h.
Referenced by CDSObject(), GetChildCount(), and SetChildCount().
Definition at line 157 of file upnpcdsobjects.h.
Referenced by AddResource(), CDSObject(), and toXml().
1.5.5