![]() |
Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <SmartPlayList.h>
Public Member Functions | |
CSmartPlaylistRuleCombination ()=default | |
~CSmartPlaylistRuleCombination () override=default | |
std::string | GetWhereClause (const CDatabase &db, const std::string &strType, std::set< std::string, std::less<> > &referencedPlaylists) const |
void | GetVirtualFolders (const std::string &strType, std::vector< std::string > &virtualFolders) const |
![]() | |
virtual | ~CDatabaseQueryRuleCombination ()=default |
void | clear () |
virtual bool | Load (const TiXmlNode *node, const std::string &encoding="UTF-8") |
virtual bool | Load (const CVariant &obj, const IDatabaseQueryRuleFactory *factory) |
virtual bool | Save (TiXmlNode *parent) const |
virtual bool | Save (CVariant &obj) const |
std::string | GetWhereClause (const CDatabase &db, const std::string &strType) const |
std::string | TranslateCombinationType () const |
Type | GetType () const |
void | SetType (Type combination) |
const CDatabaseQueryRuleCombinations & | GetCombinations () const |
bool | empty () const |
size_t | GetRulesAmount () const |
const CDatabaseQueryRules & | GetRules () const |
void | AddRule (const std::shared_ptr< CDatabaseQueryRule > &rule) |
void | RemoveRule (const std::shared_ptr< CDatabaseQueryRule > &rule) |
void | RemoveRule (int index) |
void | Reserve (size_t amount) |
Additional Inherited Members | |
![]() | |
enum class | Type { COMBINATION_OR = 0 , COMBINATION_AND } |
|
default |
|
overridedefault |
void KODI::PLAYLIST::CSmartPlaylistRuleCombination::GetVirtualFolders | ( | const std::string & | strType, |
std::vector< std::string > & | virtualFolders ) const |
std::string KODI::PLAYLIST::CSmartPlaylistRuleCombination::GetWhereClause | ( | const CDatabase & | db, |
const std::string & | strType, | ||
std::set< std::string, std::less<> > & | referencedPlaylists ) const |