Debian Codegraph @

src/core/iprofilepartxmlparser.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 "exportable.h"
7 #include "importable.h"
8 #include "item.h"
9 #include <memory>
10 #include <pugixml.hpp>
11
12 class IProfilePartXMLParserProvider;
13
14 class IProfilePartXMLParser : public Item
15 {
16 public:
17 virtual std::unique_ptr<Exportable::Exporter>
18 factory(IProfilePartXMLParserProvider const &profilePartXMLParserProvider) = 0;
19 virtual std::unique_ptr<Exportable::Exporter> initializer() = 0;
20
21 virtual void loadFrom(pugi::xml_node const &parentNode) = 0;
22 virtual void appendTo(pugi::xml_node &parentNode) = 0;
23
24 virtual Importable::Importer &profilePartImporter() const = 0;
25 virtual Exportable::Exporter &profilePartExporter() const = 0;
26
27 virtual ~IProfilePartXMLParser() = default;
28 };