#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()
CSmartPlaylistRule::CSmartPlaylistRule |
( |
| ) |
|
|
default |
§ ~CSmartPlaylistRule()
CSmartPlaylistRule::~CSmartPlaylistRule |
( |
| ) |
|
|
overridedefault |
§ CanGroupMix()
bool CSmartPlaylistRule::CanGroupMix |
( |
Field |
group | ) |
|
|
static |
§ FormatParameter()
std::string CSmartPlaylistRule::FormatParameter |
( |
const std::string & |
negate, |
|
|
const std::string & |
oper, |
|
|
const CDatabase & |
db, |
|
|
const std::string & |
type |
|
) |
| const |
|
overrideprotectedvirtual |
§ FormatWhereClause()
std::string 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 CSmartPlaylistRule::GetBooleanQuery |
( |
const std::string & |
negate, |
|
|
const std::string & |
strType |
|
) |
| const |
|
overrideprotectedvirtual |
§ GetField()
std::string CSmartPlaylistRule::GetField |
( |
int |
field, |
|
|
const std::string & |
type |
|
) |
| const |
|
overrideprotectedvirtual |
§ GetFields()
std::vector< Field > CSmartPlaylistRule::GetFields |
( |
const std::string & |
type | ) |
|
|
static |
§ GetFieldType()
§ GetGroups()
std::vector< Field > CSmartPlaylistRule::GetGroups |
( |
const std::string & |
type | ) |
|
|
static |
§ GetLocalizedField()
std::string CSmartPlaylistRule::GetLocalizedField |
( |
int |
field | ) |
|
|
static |
§ GetLocalizedGroup()
std::string CSmartPlaylistRule::GetLocalizedGroup |
( |
Field |
group | ) |
|
|
static |
§ GetLocalizedRule()
std::string 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 > CSmartPlaylistRule::GetOrders |
( |
const std::string & |
type | ) |
|
|
static |
§ IsFieldBrowseable()
bool CSmartPlaylistRule::IsFieldBrowseable |
( |
int |
field | ) |
|
|
static |
§ TranslateField() [1/2]
int CSmartPlaylistRule::TranslateField |
( |
const char * |
field | ) |
const |
|
overrideprotectedvirtual |
§ TranslateField() [2/2]
std::string CSmartPlaylistRule::TranslateField |
( |
int |
field | ) |
const |
|
overrideprotectedvirtual |
§ TranslateGroup() [1/2]
Field CSmartPlaylistRule::TranslateGroup |
( |
const char * |
group | ) |
|
|
static |
§ TranslateGroup() [2/2]
std::string CSmartPlaylistRule::TranslateGroup |
( |
Field |
group | ) |
|
|
static |
§ TranslateOrder() [1/2]
SortBy CSmartPlaylistRule::TranslateOrder |
( |
const char * |
order | ) |
|
|
static |
§ TranslateOrder() [2/2]
std::string CSmartPlaylistRule::TranslateOrder |
( |
SortBy |
order | ) |
|
|
static |
§ Validate()
bool CSmartPlaylistRule::Validate |
( |
const std::string & |
input, |
|
|
void * |
data |
|
) |
| |
|
static |
§ ValidateMyRating()
bool CSmartPlaylistRule::ValidateMyRating |
( |
const std::string & |
input, |
|
|
void * |
data |
|
) |
| |
|
static |
§ ValidateRating()
bool CSmartPlaylistRule::ValidateRating |
( |
const std::string & |
input, |
|
|
void * |
data |
|
) |
| |
|
static |
The documentation for this class was generated from the following files: