std::size_t getNumSuits()
Get the max number of suits a deck of cards can have.
Definition suit.cpp:55
int getValue(const CardSuit)
Get the numeric value of a card's suit.
Definition suit.cpp:47
CardSuit getSuit(std::size_t suit)
Given a suit, return its corresponding suit enum.
Definition suit.cpp:39
std::ostream & operator<<(std::ostream &out, const CardSuit &suit)
Overloads << to print the suit of a card.
Definition suit.cpp:61
CardSuit
The suit of a card.
Definition suit.h:21
char getName(const CardSuit)
Get the string representation of a card's suit.
Definition suit.cpp:18