Unravel Engine C++ Reference
Loading...
Searching...
No Matches
empty_path.hpp
Go to the documentation of this file.
1#ifndef GENERATOR_EMPTYPATH_HPP
2#define GENERATOR_EMPTYPATH_HPP
3
4#include "edge.hpp"
5#include "iterator.hpp"
6#include "path_vertex.hpp"
7
8namespace generator
9{
10
13{
14public:
15 class edges_t
16 {
17 public:
18 edge_t generate() const;
19 bool done() const noexcept;
20 void next();
21
22 private:
23 edges_t();
24
25 friend class empty_path_t;
26 };
27
29 {
30 public:
31 path_vertex_t generate() const;
32 bool done() const noexcept;
33 void next();
34
35 private:
36 vertices_t();
37
38 friend class empty_path_t;
39 };
40
42
43 edges_t edges() const noexcept;
44
45 vertices_t vertices() const noexcept;
46};
47} // namespace generator
48
49#endif
bool done() const noexcept
Empty path with zero vertices and edges.
vertices_t vertices() const noexcept
edges_t edges() const noexcept