Unravel Engine C++ Reference
Loading...
Searching...
No Matches
empty_path.cpp
Go to the documentation of this file.
1#include "empty_path.hpp"
2
3using namespace generator;
4
6{
7 throw std::out_of_range("Called generate on an EmptyPath!");
8}
9
10bool empty_path_t::edges_t::done() const noexcept
11{
12 return true;
13}
14
16{
17 throw std::out_of_range("Called next on an EmptyPath!");
18}
19
20empty_path_t::edges_t::edges_t()
21{
22}
23
25{
26 throw std::out_of_range("Called generate on an EmptyPath!");
27}
28
29bool empty_path_t::vertices_t::done() const noexcept
30{
31 return true;
32}
33
35{
36 throw std::out_of_range("Called next on an EmptyPath!");
37}
38
39empty_path_t::vertices_t::vertices_t()
40{
41}
42
46
48{
49 return {};
50}
51
53{
54 return {};
55}
bool done() const noexcept
vertices_t vertices() const noexcept
edges_t edges() const noexcept