Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <TextureDatabase.h>
Public Member Functions | |
CTextureRule ()=default | |
~CTextureRule () override=default | |
Public Member Functions inherited from CDatabaseQueryRule | |
CDatabaseQueryRule () | |
virtual | ~CDatabaseQueryRule ()=default |
virtual bool | Load (const TiXmlNode *node, const std::string &encoding="UTF-8") |
virtual bool | Load (const CVariant &obj) |
virtual bool | Save (TiXmlNode *parent) const |
virtual bool | Save (CVariant &obj) const |
std::string | GetParameter () const |
void | SetParameter (const std::string &value) |
void | SetParameter (const std::vector< std::string > &values) |
virtual std::string | GetWhereClause (const CDatabase &db, const std::string &strType) const |
Static Public Member Functions | |
static void | GetAvailableFields (std::vector< std::string > &fieldList) |
Static Public Member Functions inherited from CDatabaseQueryRule | |
static std::string | GetLocalizedOperator (SEARCH_OPERATOR oper) |
static void | GetAvailableOperators (std::vector< std::string > &operatorList) |
Protected Member Functions | |
int | TranslateField (const char *field) const override |
std::string | TranslateField (int field) const override |
std::string | GetField (int field, const std::string &type) const override |
FIELD_TYPE | GetFieldType (int field) const override |
std::string | FormatParameter (const std::string &negate, const std::string &oper, const CDatabase &db, const std::string &type) const override |
Protected Member Functions inherited from CDatabaseQueryRule | |
std::string | ValidateParameter (const std::string ¶meter) const |
virtual std::string | FormatWhereClause (const std::string &negate, const std::string &oper, const std::string ¶m, const CDatabase &db, const std::string &type) const |
virtual SEARCH_OPERATOR | GetOperator (const std::string &type) const |
virtual std::string | GetOperatorString (SEARCH_OPERATOR op) const |
virtual std::string | GetBooleanQuery (const std::string &negate, const std::string &strType) const |
Additional Inherited Members | |
Public Types inherited from CDatabaseQueryRule | |
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 } |
Public Attributes inherited from CDatabaseQueryRule | |
int | m_field |
SEARCH_OPERATOR | m_operator |
std::vector< std::string > | m_parameter |
Static Protected Member Functions inherited from CDatabaseQueryRule | |
static SEARCH_OPERATOR | TranslateOperator (const char *oper) |
static std::string | TranslateOperator (SEARCH_OPERATOR oper) |
|
default |
|
overridedefault |
|
overrideprotectedvirtual |
Reimplemented from CDatabaseQueryRule.
|
static |
|
overrideprotectedvirtual |
Implements CDatabaseQueryRule.
|
overrideprotectedvirtual |
Implements CDatabaseQueryRule.
|
overrideprotectedvirtual |
Implements CDatabaseQueryRule.
|
overrideprotectedvirtual |
Implements CDatabaseQueryRule.