#include <SmartPlayList.h>
|
enum | SEARCH_OPERATOR {
OPERATOR_START = 0
, OPERATOR_CONTAINS
, OPERATOR_DOES_NOT_CONTAIN
, OPERATOR_EQUALS
,
OPERATOR_DOES_NOT_EQUAL
, OPERATOR_STARTS_WITH
, OPERATOR_ENDS_WITH
, OPERATOR_GREATER_THAN
,
OPERATOR_LESS_THAN
, OPERATOR_AFTER
, OPERATOR_BEFORE
, OPERATOR_IN_THE_LAST
,
OPERATOR_NOT_IN_THE_LAST
, OPERATOR_TRUE
, OPERATOR_FALSE
, OPERATOR_BETWEEN
,
OPERATOR_END
} |
|
enum | FIELD_TYPE {
TEXT_FIELD = 0
, REAL_FIELD
, NUMERIC_FIELD
, DATE_FIELD
,
PLAYLIST_FIELD
, SECONDS_FIELD
, BOOLEAN_FIELD
, TEXTIN_FIELD
} |
|
int | m_field |
|
SEARCH_OPERATOR | m_operator |
|
std::vector< std::string > | m_parameter |
|
static SEARCH_OPERATOR | TranslateOperator (const char *oper) |
|
static std::string | TranslateOperator (SEARCH_OPERATOR oper) |
|
◆ CSmartPlaylistRule()
KODI::PLAYLIST::CSmartPlaylistRule::CSmartPlaylistRule |
( |
| ) |
|
|
default |
◆ ~CSmartPlaylistRule()
KODI::PLAYLIST::CSmartPlaylistRule::~CSmartPlaylistRule |
( |
| ) |
|
|
overridedefault |
◆ CanGroupMix()
bool KODI::PLAYLIST::CSmartPlaylistRule::CanGroupMix |
( |
Field | group | ) |
|
|
static |
◆ FormatParameter()
std::string KODI::PLAYLIST::CSmartPlaylistRule::FormatParameter |
( |
const std::string & | negate, |
|
|
const std::string & | oper, |
|
|
const CDatabase & | db, |
|
|
const std::string & | type ) const |
|
overrideprotectedvirtual |
◆ FormatWhereClause()
std::string KODI::PLAYLIST::CSmartPlaylistRule::FormatWhereClause |
( |
const std::string & | negate, |
|
|
const std::string & | oper, |
|
|
const std::string & | param, |
|
|
const CDatabase & | db, |
|
|
const std::string & | type ) const |
|
overrideprotectedvirtual |
◆ GetBooleanQuery()
std::string KODI::PLAYLIST::CSmartPlaylistRule::GetBooleanQuery |
( |
const std::string & | negate, |
|
|
const std::string & | strType ) const |
|
overrideprotectedvirtual |
◆ GetField()
std::string KODI::PLAYLIST::CSmartPlaylistRule::GetField |
( |
int | field, |
|
|
const std::string & | type ) const |
|
overrideprotectedvirtual |
◆ GetFields()
std::vector< Field > KODI::PLAYLIST::CSmartPlaylistRule::GetFields |
( |
const std::string & | type | ) |
|
|
static |
◆ GetFieldType()
◆ GetGroups()
std::vector< Field > KODI::PLAYLIST::CSmartPlaylistRule::GetGroups |
( |
const std::string & | type | ) |
|
|
static |
◆ GetLocalizedField()
std::string KODI::PLAYLIST::CSmartPlaylistRule::GetLocalizedField |
( |
int | field | ) |
|
|
static |
◆ GetLocalizedGroup()
std::string KODI::PLAYLIST::CSmartPlaylistRule::GetLocalizedGroup |
( |
Field | group | ) |
|
|
static |
◆ GetLocalizedRule()
std::string KODI::PLAYLIST::CSmartPlaylistRule::GetLocalizedRule |
( |
| ) |
const |
◆ GetOperator()
- Todo
- SMARTPLAYLISTS do we really need this, or should we just make this field the premiered date and request a date?
Reimplemented from CDatabaseQueryRule.
◆ GetOrders()
std::vector< SortBy > KODI::PLAYLIST::CSmartPlaylistRule::GetOrders |
( |
const std::string & | type | ) |
|
|
static |
◆ IsFieldBrowseable()
bool KODI::PLAYLIST::CSmartPlaylistRule::IsFieldBrowseable |
( |
int | field | ) |
|
|
static |
◆ TranslateField() [1/2]
int KODI::PLAYLIST::CSmartPlaylistRule::TranslateField |
( |
const char * | field | ) |
const |
|
overrideprotectedvirtual |
◆ TranslateField() [2/2]
std::string KODI::PLAYLIST::CSmartPlaylistRule::TranslateField |
( |
int | field | ) |
const |
|
overrideprotectedvirtual |
◆ TranslateGroup() [1/2]
Field KODI::PLAYLIST::CSmartPlaylistRule::TranslateGroup |
( |
const char * | group | ) |
|
|
static |
◆ TranslateGroup() [2/2]
std::string KODI::PLAYLIST::CSmartPlaylistRule::TranslateGroup |
( |
Field | group | ) |
|
|
static |
◆ TranslateOrder() [1/2]
SortBy KODI::PLAYLIST::CSmartPlaylistRule::TranslateOrder |
( |
const char * | order | ) |
|
|
static |
◆ TranslateOrder() [2/2]
std::string KODI::PLAYLIST::CSmartPlaylistRule::TranslateOrder |
( |
SortBy | order | ) |
|
|
static |
◆ Validate()
bool KODI::PLAYLIST::CSmartPlaylistRule::Validate |
( |
const std::string & | input, |
|
|
void * | data ) |
|
static |
◆ ValidateMyRating()
bool KODI::PLAYLIST::CSmartPlaylistRule::ValidateMyRating |
( |
const std::string & | input, |
|
|
void * | data ) |
|
static |
◆ ValidateRating()
bool KODI::PLAYLIST::CSmartPlaylistRule::ValidateRating |
( |
const std::string & | input, |
|
|
void * | data ) |
|
static |
The documentation for this class was generated from the following files: