Cockatrice 2025-11-30-Development-2.11.0-beta.38
A cross-platform virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
LogicMap Class Reference

#include <filter_tree.h>

Inheritance diagram for LogicMap:
[legend]
Collaboration diagram for LogicMap:
[legend]

Public Member Functions

 LogicMap (CardFilter::Attr a, FilterTree *parent)
const FilterItemListfindTypeList (CardFilter::Type type) const
FilterItemListtypeList (CardFilter::Type type)
FilterTreeNodeparent () const override
const QString text () const override
Public Member Functions inherited from FilterTreeBranch< FilterItemList * >
virtual ~FilterTreeBranch ()
void removeFiltersByAttr (CardFilter::Attr filterType)
FilterTreeNodenodeAt (int i) const override
void deleteAt (int i) override
int childCount () const override
int childIndex (const FilterTreeNode *node) const override
Public Member Functions inherited from FilterTreeNode
 FilterTreeNode ()
virtual bool isEnabled () const
virtual void enable ()
virtual void disable ()
virtual int index () const
virtual bool isLeaf () const
virtual void nodeChanged () const
virtual void preInsertChild (const FilterTreeNode *p, int i) const
virtual void postInsertChild (const FilterTreeNode *p, int i) const
virtual void preRemoveChild (const FilterTreeNode *p, int i) const
virtual void postRemoveChild (const FilterTreeNode *p, int i) const

Public Attributes

const CardFilter::Attr attr

Private Attributes

FilterTree *const p

Additional Inherited Members

Protected Attributes inherited from FilterTreeBranch< FilterItemList * >
QList< FilterItemList * > childNodes

Constructor & Destructor Documentation

◆ LogicMap()

LogicMap::LogicMap ( CardFilter::Attr a,
FilterTree * parent )
inline
Here is the call graph for this function:

Member Function Documentation

◆ findTypeList()

const FilterItemList * LogicMap::findTypeList ( CardFilter::Type type) const
nodiscard
Here is the caller graph for this function:

◆ parent()

FilterTreeNode * LogicMap::parent ( ) const
nodiscardoverridevirtual

Reimplemented from FilterTreeNode.

Here is the caller graph for this function:

◆ text()

const QString LogicMap::text ( ) const
inlinenodiscardoverridevirtual

Reimplemented from FilterTreeNode.

Here is the call graph for this function:

◆ typeList()

FilterItemList * LogicMap::typeList ( CardFilter::Type type)
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ attr

const CardFilter::Attr LogicMap::attr

◆ p

FilterTree* const LogicMap::p
private

The documentation for this class was generated from the following files: