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 > &referencedPlaylists) const |
void | GetVirtualFolders (const std::string &strType, std::vector< std::string > &virtualFolders) const |
void | AddRule (const CSmartPlaylistRule &rule) |
Public Member Functions inherited from CDatabaseQueryRuleCombination | |
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 |
Combination | GetType () const |
void | SetType (Combination combination) |
bool | empty () const |
Additional Inherited Members | |
Public Types inherited from CDatabaseQueryRuleCombination | |
enum | Combination { CombinationOr = 0 , CombinationAnd } |
Protected Attributes inherited from CDatabaseQueryRuleCombination | |
Combination | m_type = CombinationAnd |
CDatabaseQueryRuleCombinations | m_combinations |
CDatabaseQueryRules | m_rules |
|
default |
|
overridedefault |
void KODI::PLAYLIST::CSmartPlaylistRuleCombination::AddRule | ( | const CSmartPlaylistRule & | rule | ) |
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 > & | referencedPlaylists ) const |