|
bool | Load (const CURL &url) |
|
bool | Load (const std::string &path) |
|
bool | Load (const CVariant &obj) |
|
bool | LoadFromXml (const std::string &xml) |
|
bool | LoadFromJson (const std::string &json) |
|
bool | Save (const std::string &path) const |
|
bool | Save (CVariant &obj, bool full=true) const |
|
bool | SaveAsJson (std::string &json, bool full=true) const |
|
bool | OpenAndReadName (const CURL &url) |
|
bool | LoadFromXML (const TiXmlNode *root, const std::string &encoding="UTF-8") |
|
void | Reset () |
|
void | SetName (const std::string &name) |
|
void | SetType (const std::string &type) |
|
const std::string & | GetName () const |
|
const std::string & | GetType () const |
|
bool | IsVideoType () const |
|
bool | IsMusicType () const |
|
void | SetMatchAllRules (bool matchAll) |
|
bool | GetMatchAllRules () const |
|
void | SetLimit (unsigned int limit) |
|
unsigned int | GetLimit () const |
|
void | SetOrder (SortBy order) |
|
SortBy | GetOrder () const |
|
void | SetOrderAscending (bool orderAscending) |
|
bool | GetOrderAscending () const |
|
SortOrder | GetOrderDirection () const |
|
void | SetOrderAttributes (SortAttribute attributes) |
|
SortAttribute | GetOrderAttributes () const |
|
void | SetGroup (const std::string &group) |
|
const std::string & | GetGroup () const |
|
void | SetGroupMixed (bool mixed) |
|
bool | IsGroupMixed () const |
|
std::string | 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. More...
|
|
void | GetVirtualFolders (std::vector< std::string > &virtualFolders) const |
|
std::string | GetSaveLocation () const |
|
bool | IsEmpty (bool ignoreSortAndLimit=true) const |
|
CDatabaseQueryRule * | CreateRule () const override |
|
CDatabaseQueryRuleCombination * | CreateCombination () const override |
|