23 auto get_color() const noexcept {
return m_chess_color; }
40std::ostream& operator<<(std::ostream& os, const
message& m) noexcept;
chess_color
A chess piece color.
Definition chess_color.h:10
A message.
Definition message.h:15
auto get_piece_type() const noexcept
Definition message.h:24
auto get_message_type() const noexcept
Definition message.h:22
auto get_color() const noexcept
Definition message.h:23
std::vector< message > get_all_messages() noexcept
Create all possible messages.
Definition message.cpp:18
std::string to_str(const message &m) noexcept
Definition message.cpp:76
void test_message()
Test this class and its free functions.
Definition message.cpp:39
message_type
The type of a message.
Definition message_type.h:10
piece_type
The type of chess piece.
Definition piece_type.h:9