|
Maze Builder Docs 7.5.6
|
Enumerations and utilities for the maze builder program. More...
#include <cstdint>#include <string>#include <string_view>#include <stdexcept>Go to the source code of this file.
Namespaces | |
| namespace | mazes |
| Namespace for the maze builder. | |
Enumerations | |
| enum class | mazes::barriers : char { HORIZONTAL = '-' , VERTICAL = '|' , CORNER = '+' , SINGLE_SPACE = ' ' } |
| Character representations of walls and barriers in the maze. | |
| enum class | mazes::output_format : unsigned int { PLAIN_TEXT = 0 , JSON = 1 , WAVEFRONT_OBJECT_FILE = 2 , PNG = 3 , JPEG = 4 , STDOUT = 5 , TOTAL = 6 } |
| Enum class for output_format types. | |
| enum class | mazes::algo : unsigned int { BINARY_TREE = 0 , SIDEWINDER = 1 , DFS = 2 , TOTAL = 3 } |
| Enum class for maze types by the generating algorithm. | |
| enum class | mazes::Direction : std::uint8_t { NORTH = 0 , SOUTH = 1 , EAST = 2 , WEST = 3 , COUNT } |
| Directional neighbors for grid topology. | |
Functions | |
| std::string_view | mazes::to_sv_from_output_format (output_format of) |
| Convert an output_format enum to a string. | |
| output_format | mazes::to_output_format_from_sv (std::string_view sv) |
| Convert a string to an output_format enum. | |
| std::string_view | mazes::to_sv_from_algo (algo a) |
| Convert the algo enum to a string. | |
| algo | mazes::to_algo_from_sv (std::string_view a) |
| Convert a string to an algo enum. | |
Enumerations and utilities for the maze builder program.