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
4
#include <
MazeBuilder/maze_interface.h
>
5
6
#include <memory>
7
#include <string>
8
9
namespace
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
mazes::maze_interface
Interface for the mazes.
Definition
maze_interface.h:13
maze_interface.h
mazes
Namespace for the maze builder.
Definition
algo_interface.h:6
mazes::maze_str
String representation of a maze.
Definition
maze_str.h:16
include
MazeBuilder
maze_str.h
Generated by
1.12.0