Debian Codegraph @

src/core/exportable.h

raw symbols SCIP
1 // SPDX-License-Identifier: GPL-3.0-or-later
2 // Copyright 2019 Juan Palacios <[email protected]>
3
4 #pragma once
5
6 #include <functional>
7 #include <optional>
8
9 class Item;
10
11 class Exportable
12 {
13 public:
14 class Exporter
15 {
16 public:
17 virtual std::optional<std::reference_wrapper<Exportable::Exporter>>
18 provideExporter(Item const &i) = 0;
19
20 virtual ~Exporter() = default;
21 };
22
23 virtual void exportWith(Exportable::Exporter &e) const = 0;
24
25 virtual ~Exportable() = default;
26 };