#include <SmartPlayList.h>
§ CSmartPlaylist()
CSmartPlaylist::CSmartPlaylist |
( |
| ) |
|
§ ~CSmartPlaylist()
virtual CSmartPlaylist::~CSmartPlaylist |
( |
| ) |
|
|
virtualdefault |
§ CheckTypeCompatibility()
bool CSmartPlaylist::CheckTypeCompatibility |
( |
const std::string & |
typeLeft, |
|
|
const std::string & |
typeRight |
|
) |
| |
|
static |
§ CreateCombination()
§ CreateRule()
§ GetAvailableFields()
void CSmartPlaylist::GetAvailableFields |
( |
const std::string & |
type, |
|
|
std::vector< std::string > & |
fieldList |
|
) |
| |
|
static |
§ GetGroup()
const std::string& CSmartPlaylist::GetGroup |
( |
| ) |
const |
|
inline |
§ GetLimit()
unsigned int CSmartPlaylist::GetLimit |
( |
| ) |
const |
|
inline |
§ GetMatchAllRules()
bool CSmartPlaylist::GetMatchAllRules |
( |
| ) |
const |
|
inline |
§ GetName()
const std::string& CSmartPlaylist::GetName |
( |
| ) |
const |
|
inline |
§ GetOrder()
SortBy CSmartPlaylist::GetOrder |
( |
| ) |
const |
|
inline |
§ GetOrderAscending()
bool CSmartPlaylist::GetOrderAscending |
( |
| ) |
const |
|
inline |
§ GetOrderAttributes()
§ GetOrderDirection()
SortOrder CSmartPlaylist::GetOrderDirection |
( |
| ) |
const |
|
inline |
§ GetSaveLocation()
std::string CSmartPlaylist::GetSaveLocation |
( |
| ) |
const |
§ GetType()
const std::string& CSmartPlaylist::GetType |
( |
| ) |
const |
|
inline |
§ GetVirtualFolders()
void CSmartPlaylist::GetVirtualFolders |
( |
std::vector< std::string > & |
virtualFolders | ) |
const |
§ GetWhereClause()
std::string CSmartPlaylist::GetWhereClause |
( |
const CDatabase & |
db, |
|
|
std::set< std::string > & |
referencedPlaylists |
|
) |
| const |
get the where clause for a playlist We handle playlists inside playlists separately in order to ensure we don't introduce infinite loops by playlist A including playlist B which also (perhaps via other playlists) then includes playlistA.
- Parameters
-
db | the database to use to format up results |
referencedPlaylists | a set of playlists to know when we reach a cycle |
needWhere | whether we need to prepend the where clause with "WHERE " |
§ IsEmpty()
bool CSmartPlaylist::IsEmpty |
( |
bool |
ignoreSortAndLimit = true | ) |
const |
§ IsGroupMixed()
bool CSmartPlaylist::IsGroupMixed |
( |
| ) |
const |
|
inline |
§ IsMusicType() [1/2]
bool CSmartPlaylist::IsMusicType |
( |
| ) |
const |
§ IsMusicType() [2/2]
bool CSmartPlaylist::IsMusicType |
( |
const std::string & |
type | ) |
|
|
static |
§ IsVideoType() [1/2]
bool CSmartPlaylist::IsVideoType |
( |
| ) |
const |
§ IsVideoType() [2/2]
bool CSmartPlaylist::IsVideoType |
( |
const std::string & |
type | ) |
|
|
static |
§ Load() [1/3]
bool CSmartPlaylist::Load |
( |
const CURL & |
url | ) |
|
§ Load() [2/3]
bool CSmartPlaylist::Load |
( |
const std::string & |
path | ) |
|
§ Load() [3/3]
bool CSmartPlaylist::Load |
( |
const CVariant & |
obj | ) |
|
§ LoadFromJson()
bool CSmartPlaylist::LoadFromJson |
( |
const std::string & |
json | ) |
|
§ LoadFromXml()
bool CSmartPlaylist::LoadFromXml |
( |
const std::string & |
xml | ) |
|
§ LoadFromXML()
bool CSmartPlaylist::LoadFromXML |
( |
const TiXmlNode * |
root, |
|
|
const std::string & |
encoding = "UTF-8" |
|
) |
| |
§ OpenAndReadName()
bool CSmartPlaylist::OpenAndReadName |
( |
const CURL & |
url | ) |
|
§ Reset()
§ Save() [1/2]
bool CSmartPlaylist::Save |
( |
const std::string & |
path | ) |
const |
§ Save() [2/2]
bool CSmartPlaylist::Save |
( |
CVariant & |
obj, |
|
|
bool |
full = true |
|
) |
| const |
§ SaveAsJson()
bool CSmartPlaylist::SaveAsJson |
( |
std::string & |
json, |
|
|
bool |
full = true |
|
) |
| const |
§ SetGroup()
void CSmartPlaylist::SetGroup |
( |
const std::string & |
group | ) |
|
|
inline |
§ SetGroupMixed()
void CSmartPlaylist::SetGroupMixed |
( |
bool |
mixed | ) |
|
|
inline |
§ SetLimit()
void CSmartPlaylist::SetLimit |
( |
unsigned int |
limit | ) |
|
|
inline |
§ SetMatchAllRules()
void CSmartPlaylist::SetMatchAllRules |
( |
bool |
matchAll | ) |
|
|
inline |
§ SetName()
void CSmartPlaylist::SetName |
( |
const std::string & |
name | ) |
|
§ SetOrder()
§ SetOrderAscending()
void CSmartPlaylist::SetOrderAscending |
( |
bool |
orderAscending | ) |
|
|
inline |
§ SetOrderAttributes()
§ SetType()
void CSmartPlaylist::SetType |
( |
const std::string & |
type | ) |
|
§ CGUIDialogMediaFilter
§ CGUIDialogSmartPlaylistEditor
The documentation for this class was generated from the following files: