Definition of usefull types or aliases for the project.
More...
#include <string>
#include <vector>
#include <map>
Go to the source code of this file.
|
typedef std::vector< char > | CVLine |
| CVLine : alias to a line of the matrix. More...
|
|
typedef std::vector< CVLine > | CMat |
| CMat : alias to a game grid type. More...
|
|
typedef std::pair< unsigned, unsigned > | CPosition |
| CPosition : a pair gathering the coordinates in the grid. More...
|
|
Definition of usefull types or aliases for the project.
- Author
- Alain Casali
-
Marc Laporte
- Version
- 1.0
- Date
- 18 décembre 2018
Definition in file type.h.
CMat : alias to a game grid type.
Definition at line 25 of file type.h.
typedef std::pair<unsigned, unsigned> CPosition |
CPosition : a pair gathering the coordinates in the grid.
Definition at line 30 of file type.h.
typedef std::vector<char> CVLine |
CVLine : alias to a line of the matrix.
Definition at line 19 of file type.h.
KAuthorizedKey.
Definition at line 49 of file type.h.
const std::map<std::string, std::string> KColor |
Initial value:{
{"KReset", "0"},
{"KBlack", "30"},
{"KRed", "31"},
{"KGreen", "32"},
{"KYellow", "33"},
{"KBlue", "34"},
{"KMAgenta", "35"},
{"KCyan", "36"},
}
KColor : map between the "human" color and its correspondence for the Unix terminal.
Definition at line 56 of file type.h.
KEmpty : character for an empty cell.
Definition at line 71 of file type.h.