Quaternity
|
This file defines print operator headers for custom structs and a template for printing a vector. These are useful for debugging purposes. More...
Go to the source code of this file.
Functions | |
template<class T > | |
std::ostream & | operator<< (std::ostream &out, const std::vector< T > &vector) |
Print the elements of a vector nicely. More... | |
std::ostream & | operator<< (std::ostream &out, const Card &card) |
Print the information of a card struct. More... | |
std::ostream & | operator<< (std::ostream &out, const Player &player) |
Print the information of a player struct. More... | |
std::ostream & | operator<< (std::ostream &out, const Settings &settings) |
Print the information of a settings struct. More... | |
std::ostream & | operator<< (std::ostream &out, const State &state) |
Print the information of a state struct. More... | |
std::ostream & | operator<< (std::ostream &out, const Question &question) |
Print the information of a question struct. More... | |
This file defines print operator headers for custom structs and a template for printing a vector. These are useful for debugging purposes.
Definition in file debug.h.
std::ostream& operator<< | ( | std::ostream & | out, |
const Card & | card | ||
) |
Print the information of a card struct.
Definition at line 19 of file debug.cpp.
std::ostream& operator<< | ( | std::ostream & | out, |
const Player & | player | ||
) |
Print the information of a player struct.
Definition at line 28 of file debug.cpp.
std::ostream& operator<< | ( | std::ostream & | out, |
const Question & | question | ||
) |
std::ostream& operator<< | ( | std::ostream & | out, |
const Settings & | settings | ||
) |
Print the information of a settings struct.
Definition at line 37 of file debug.cpp.
std::ostream& operator<< | ( | std::ostream & | out, |
const State & | state | ||
) |
Print the information of a state struct.
Definition at line 49 of file debug.cpp.
std::ostream& operator<< | ( | std::ostream & | out, |
const std::vector< T > & | vector | ||
) |