#include <filter_card.h>
|
| enum | Type {
TypeAnd = 0
, TypeOr
, TypeAndNot
, TypeOrNot
,
TypeEnd
} |
| enum | Attr {
AttrCmc = 0
, AttrColor
, AttrLoyalty
, AttrManaCost
,
AttrName
, AttrPow
, AttrRarity
, AttrSet
,
AttrText
, AttrTough
, AttrType
, AttrMainType
,
AttrSubType
, AttrFormat
, AttrEnd
} |
◆ Attr
| Enumerator |
|---|
| AttrCmc | |
| AttrColor | |
| AttrLoyalty | |
| AttrManaCost | |
| AttrName | |
| AttrPow | |
| AttrRarity | |
| AttrSet | |
| AttrText | |
| AttrTough | |
| AttrType | |
| AttrMainType | |
| AttrSubType | |
| AttrFormat | |
| AttrEnd | |
◆ Type
| Enumerator |
|---|
| TypeAnd | |
| TypeOr | |
| TypeAndNot | |
| TypeOrNot | |
| TypeEnd | |
◆ CardFilter()
| CardFilter::CardFilter |
( |
QString & | term, |
|
|
Type | type, |
|
|
Attr | attr ) |
|
inline |
◆ attr()
| Attr CardFilter::attr |
( |
| ) |
const |
|
inlinenodiscard |
◆ attrName()
| const QString CardFilter::attrName |
( |
Attr | a | ) |
|
|
static |
◆ fromJson()
| CardFilter * CardFilter::fromJson |
( |
const QJsonObject & | json | ) |
|
|
static |
◆ term()
| const QString & CardFilter::term |
( |
| ) |
const |
|
inlinenodiscard |
◆ toJson()
| QJsonObject CardFilter::toJson |
( |
| ) |
const |
|
nodiscard |
◆ type()
| Type CardFilter::type |
( |
| ) |
const |
|
inlinenodiscard |
◆ typeName()
| const QString CardFilter::typeName |
( |
Type | t | ) |
|
|
static |
◆ trm
The documentation for this class was generated from the following files: