|
Maze Builder Docs 7.5.6
|
Namespace for the maze builder. More...
Classes | |
| class | algo_interface |
| Interface for runnable algorithms. More... | |
| class | args |
| Command-line argument handler with JSON support. More... | |
| class | base64_helper |
| Base64 encoding and decoding helper class. More... | |
| class | binary_tree |
| Binary tree algorithm for generating mazes. More... | |
| struct | buildinfo |
| Build information for the maze generation library. More... | |
| class | cell |
| Cell class with links to other cells. More... | |
| class | colored_grid |
| class | configurator |
| Configuration class for arguments. More... | |
| class | dfs |
| Depth-first search algorithm for generating mazes. More... | |
| class | distance_grid |
| A grid that can calculate distances between cells. More... | |
| class | distances |
| A class that manages distances associated with cells in a grid. More... | |
| class | factory_interface |
| Modern factory interface using registration pattern. More... | |
| class | grid |
| General purpose grid class for 2D maze generation. More... | |
| class | grid_factory |
| Modern grid grid_factory with registration capabilities. More... | |
| class | grid_interface |
| Interface for the grid class. More... | |
| class | grid_operations |
| Interface for grid navigation and manipulation operations. More... | |
| class | io_utils |
| Handles file writing for text, stdout, images, and object files. More... | |
| class | json_helper |
| JSON helper class. More... | |
| class | lab |
| Provides link operations. More... | |
| class | maze_factory |
| class | maze_interface |
| Interface for the mazes. More... | |
| struct | maze_str |
| String representation of a maze. More... | |
| class | objectify |
| class | pair_hash |
| Hashing function to store a block's (x, z) position. More... | |
| class | pixels |
| class | progress |
| Simple clock for elapsed events. More... | |
| class | randomizer |
| Provides random-number generating capabilities. More... | |
| class | sidewinder |
| Sidewinder algorithm for generating mazes. More... | |
| class | singleton_base |
| class | string_utils |
| String helper class. More... | |
| class | stringify |
| Stringify algorithm for maze representation. More... | |
| class | tri_hash |
| Hashing function to store a block's (x, y, z) position. More... | |
| class | uni_hash |
| A hash function object for a single value. More... | |
| class | wavefront_object_helper |
| Transform a maze into a Wavefront object string. More... | |
| class | weak_ptr_hash |
| Hashing function to store a weak_ptr. More... | |
Typedefs | |
| using | grid_factory_interface = factory_interface<grid_interface> |
| Type aliases for factory implementations. | |
| using | maze_factory_interface = factory_interface<maze_interface> |
Enumerations | |
| enum class | barriers : char { HORIZONTAL = '-' , VERTICAL = '|' , CORNER = '+' , SINGLE_SPACE = ' ' } |
| Character representations of walls and barriers in the maze. | |
| enum class | 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 | algo : unsigned int { BINARY_TREE = 0 , SIDEWINDER = 1 , DFS = 2 , TOTAL = 3 } |
| Enum class for maze types by the generating algorithm. | |
| enum class | Direction : std::uint8_t { NORTH = 0 , SOUTH = 1 , EAST = 2 , WEST = 3 , COUNT } |
| Directional neighbors for grid topology. | |
Functions | |
| std::string_view | to_sv_from_output_format (output_format of) |
| Convert an output_format enum to a string. | |
| output_format | to_output_format_from_sv (std::string_view sv) |
| Convert a string to an output_format enum. | |
| std::string_view | to_sv_from_algo (algo a) |
| Convert the algo enum to a string. | |
| algo | to_algo_from_sv (std::string_view a) |
| Convert a string to an algo enum. | |
Namespace for the maze builder.
|
inline |
Convert a string to an algo enum.
| a |
|
inline |
Convert a string to an output_format enum.
| o |
|
inline |
Convert the algo enum to a string.
| a |
|
inline |
Convert an output_format enum to a string.
| o |