73 [[nodiscard]] QString
getName()
const;
100 [[nodiscard]]
bool isEmpty()
const;
107 explicit operator bool()
const;
QSharedPointer< CardInfo > CardInfoPtr
Definition card_info.cpp:20
Represents a card and its associated metadata, properties, and relationships.
Definition card_info.h:46
Represents a specific card instance, defined by its CardInfo and a particular printing.
Definition exact_card.h:19
bool operator==(const ExactCard &other) const
Compares both card pointer and printing for equality.
Definition exact_card.cpp:23
QString getPixmapCacheKey() const
Generates a stable cache key for pixmap caching.
Definition exact_card.cpp:53
const CardInfo & getInfo() const
Returns a reference to the underlying CardInfo object.
Definition exact_card.cpp:41
CardInfoPtr getCardPtr() const
Returns the underlying CardInfoPtr.
Definition exact_card.h:45
QString getName() const
Convenience helper to get the card's display name.
Definition exact_card.cpp:32
PrintingInfo printing
Definition exact_card.h:21
void emitPixmapUpdated() const
Emits the pixmapUpdated signal on the underlying CardInfo.
Definition exact_card.cpp:79
PrintingInfo getPrinting() const
Returns the printing information associated with this card.
Definition exact_card.h:55
CardInfoPtr card
Definition exact_card.h:20
ExactCard()
Constructs an empty ExactCard.
Definition exact_card.cpp:11
bool isEmpty() const
Indicates whether this ExactCard represents no valid card.
Definition exact_card.cpp:63
Represents metadata for a specific variation of a card within a set.
Definition printing_info.h:27