Maze Builder Docs 7.5.6
Loading...
Searching...
No Matches
maze_str.h
Go to the documentation of this file.
1#ifndef MAZE_STR_H
2#define MAZE_STR_H
3
5
6#include <memory>
7#include <string>
8
9namespace mazes
10{
11
15 struct maze_str : public maze_interface
16 {
17
18 std::string data;
19
20 explicit maze_str(std::string d) : data(std::move(d)) {}
21
22 std::string maze() const noexcept override
23 {
24
25 return data;
26 }
27 };
28
29} // namespace mazes
30
31#endif // MAZE_STR_H
Interface for the mazes.
Definition maze_interface.h:13
Namespace for the maze builder.
Definition algo_interface.h:6
String representation of a maze.
Definition maze_str.h:16