Shamrock
2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
shamrock
include
shamrock
solvergraph
IEdge.hpp
Go to the documentation of this file.
1
// -------------------------------------------------------//
2
//
3
// SHAMROCK code for hydrodynamics
4
// Copyright (c) 2021-2026 Timothée David--Cléris <tim.shamrock@proton.me>
5
// SPDX-License-Identifier: CeCILL Free Software License Agreement v2.1
6
// Shamrock is licensed under the CeCILL 2.1 License, see LICENSE for more information
7
//
8
// -------------------------------------------------------//
9
10
#pragma once
11
19
#include "
shambase/WithUUID.hpp
"
20
#include "
shambase/aliases_int.hpp
"
21
#include "
shamrock/solvergraph/IFreeable.hpp
"
22
#include <string>
23
24
namespace
shamrock::solvergraph {
25
26
class
INode;
27
28
class
IEdge
:
public
shambase::WithUUID
<IEdge, u64>,
public
IFreeable
{
29
public
:
30
inline
std::string get_label()
const
{
return
_impl_get_dot_label(); }
31
inline
std::string get_tex_symbol()
const
{
return
_impl_get_tex_symbol(); }
32
33
virtual
std::string _impl_get_dot_label()
const
= 0;
34
virtual
std::string _impl_get_tex_symbol()
const
= 0;
35
36
virtual
~IEdge
() {}
37
};
38
39
}
// namespace shamrock::solvergraph
IFreeable.hpp
WithUUID.hpp
aliases_int.hpp
shambase::WithUUID
A class that provides unique identifiers (UUID) to instances.
Definition
WithUUID.hpp:37
shamrock::solvergraph::IEdge
Definition
IEdge.hpp:28
shamrock::solvergraph::IFreeable
Interface for data edges that can free their allocated memory.
Definition
IFreeable.hpp:28
Generated on Wed May 13 2026 13:21:49 for Shamrock by
1.9.8