Unravel Engine C++ Reference
Loading...
Searching...
No Matches
any_path.cpp
Go to the documentation of this file.
1
#include "
any_path.hpp
"
2
3
using namespace
generator
;
4
5
any_path::base::~base() =
default
;
6
7
any_path::any_path
(
const
any_path
& that) : base_{that.base_->clone()}
8
{
9
}
10
11
any_path
&
any_path::operator=
(
const
any_path
& that)
12
{
13
base_ = that.base_->clone();
14
return
*
this
;
15
}
16
17
any_generator<edge_t>
any_path::edges
() const noexcept
18
{
19
return
base_->edges();
20
}
21
22
any_generator<path_vertex_t>
any_path::vertices
() const noexcept
23
{
24
return
base_->vertices();
25
}
any_path.hpp
generator::any_generator
Definition
any_generator.hpp:13
generator::any_path
A type erasing container that can store any path.
Definition
any_path.hpp:15
generator::any_path::operator=
any_path & operator=(const any_path &that)
Definition
any_path.cpp:11
generator::any_path::vertices
any_generator< path_vertex_t > vertices() const noexcept
Definition
any_path.cpp:22
generator::any_path::any_path
any_path(path_t path)
Definition
any_path.hpp:18
generator::any_path::edges
any_generator< edge_t > edges() const noexcept
Definition
any_path.cpp:17
generator
Definition
any_generator.hpp:7
UnravelEngine
UnravelEngine
engine
engine
rendering
generator
any_path.cpp
Generated by
1.12.0