Debian Codegraph @

src/core/importable.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 Importable
12 {
13 public:
14 class Importer
15 {
16 public:
17 virtual std::optional<std::reference_wrapper<Importable::Importer>>
18 provideImporter(Item const &i) = 0;
19
20 virtual ~Importer() = default;
21 };
22
23 virtual void importWith(Importable::Importer &i) = 0;
24
25 virtual ~Importable() = default;
26 };