Debian Codegraph @

src/core/profilexmlparser.h

raw symbols SCIP
1 // SPDX-License-Identifier: GPL-3.0-or-latercxx . . $ `<file>/src/core/profilexmlparser.h`/
2 // Copyright 2019 Juan Palacios <[email protected]>
3
4 #pragma once
5
6 #include "iprofile.h"cxx . . $ `<file>/src/core/iprofile.h`/
7 #include "iprofileparser.h"cxx . . $ `<file>/src/core/iprofileparser.h`/
8 #include "profilepartxmlparser.h"cxx . . $ `<file>/src/core/profilepartxmlparser.h`/
9 #include <memory>
10 #include <string>
11 #include <unordered_map>
12
13 class IProfilePartXMLParsercxx . . $ IProfilePartXMLParser#;
14 class IProfilePartXMLParserProvidercxx . . $ IProfilePartXMLParserProvider#;
15
16 class ProfileXMLParsercxx . . $ ProfileXMLParser# final
17 : public IProfileParsercxx . . $ IProfileParser#
18 , public IProfilecxx . . $ IProfile#::Importercxx . . $ IProfile#Importer#
19 , public IProfilecxx . . $ IProfile#::Exportercxx . . $ IProfile#Exporter#
20 {
21 public:
22 ProfileXMLParsercxx . . $ ProfileXMLParser#ProfileXMLParser(ced63f7c635d850d).() noexcept;
23
24 stdcxx . . $ std/::stringcxx . . $ std/string# const &formatcxx . . $ ProfileXMLParser#format(319d84e01067f75d).() override;
25 stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<Exportablecxx . . $ Exportable#::Exportercxx . . $ Exportable#Exporter#> initializercxx . . $ ProfileXMLParser#initializer(6b4e1016740e578).() override;
26 bool loadcxx . . $ ProfileXMLParser#load(3950ab7b6b62e024).(stdcxx . . $ std/::vectorcxx . . $ std/vector#<char> const &data, IProfilecxx . . $ IProfile# &profile) override;
27 bool savecxx . . $ ProfileXMLParser#save(751860f9352cffff).(stdcxx . . $ std/::vectorcxx . . $ std/vector#<char> &data, IProfilecxx . . $ IProfile# const &profile) override;
28
29 stdcxx . . $ std/::optionalcxx . . $ std/optional#<stdcxx . . $ std/::reference_wrappercxx . . $ std/reference_wrapper#<Exportablecxx . . $ Exportable#::Exportercxx . . $ Exportable#Exporter#>>
30 provideExportercxx . . $ ProfileXMLParser#provideExporter(3acccbde2694e33a).(Itemcxx . . $ Item# const &i) override;
31 stdcxx . . $ std/::optionalcxx . . $ std/optional#<stdcxx . . $ std/::reference_wrappercxx . . $ std/reference_wrapper#<Importablecxx . . $ Importable#::Importercxx . . $ Importable#Importer#>>
32 provideImportercxx . . $ ProfileXMLParser#provideImporter(c13a3bcac0db4745).(Itemcxx . . $ Item# const &i) override;
33
34 void takeActivecxx . . $ ProfileXMLParser#takeActive(b45ddcbc8423892c).(bool active) override;
35 void takeInfocxx . . $ ProfileXMLParser#takeInfo(7a3f345cc6258353).(IProfilecxx . . $ IProfile#::Infocxx . . $ IProfile#Info# const &info) override;
36
37 bool provideActivecxx . . $ ProfileXMLParser#provideActive(50ce9a9e25b4a850).() const override;
38 IProfilecxx . . $ IProfile#::Infocxx . . $ IProfile#Info# const &provideInfocxx . . $ ProfileXMLParser#provideInfo(ad075d653bfbbbea).() const override;
39
40 class Factorycxx . . $ ProfileXMLParser#Factory# final
41 : public ProfilePartXMLParsercxx . . $ ProfilePartXMLParser#::Factorycxx . . $ ProfilePartXMLParser#Factory#
42 , public IProfilecxx . . $ IProfile#::Exportercxx . . $ IProfile#Exporter#
43 {
44 public:
45 Factorycxx . . $ ProfileXMLParser#Factory#Factory(7468dab75b18173c).(IProfilePartXMLParserProvidercxx . . $ IProfilePartXMLParserProvider# const &profilePartParserProvider,
46 ProfileXMLParsercxx . . $ ProfileXMLParser# &outer) noexcept;
47
48 void takePartParsercxx . . $ ProfileXMLParser#Factory#takePartParser(4ce663d5ecbeb887).(Itemcxx . . $ Item# const &i,
49 stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<IProfilePartXMLParsercxx . . $ IProfilePartXMLParser#> &&part) override;
50
51 stdcxx . . $ std/::optionalcxx . . $ std/optional#<stdcxx . . $ std/::reference_wrappercxx . . $ std/reference_wrapper#<Exportablecxx . . $ Exportable#::Exportercxx . . $ Exportable#Exporter#>>
52 provideExportercxx . . $ ProfileXMLParser#Factory#provideExporter(3acccbde2694e33a).(Itemcxx . . $ Item# const &i) override;
53
54 void takeActivecxx . . $ ProfileXMLParser#Factory#takeActive(b45ddcbc8423892c).(bool) override
55 {
56 }
57
58 void takeInfocxx . . $ ProfileXMLParser#Factory#takeInfo(7a3f345cc6258353).(IProfilecxx . . $ IProfile#::Infocxx . . $ IProfile#Info# const &) override
59 {
60 }
61
62 private:
63 ProfileXMLParsercxx . . $ ProfileXMLParser# &outer_cxx . . $ ProfileXMLParser#Factory#outer_.;
64 };
65
66 private:
67 class Initializercxx . . $ ProfileXMLParser#Initializer#;
68
69 stdcxx . . $ std/::stringcxx . . $ std/string# const format_cxx . . $ ProfileXMLParser#format_.;
70 stdcxx . . $ std/::stringcxx . . $ std/string# profileNodeName_cxx . . $ ProfileXMLParser#profileNodeName_.;
71 stdcxx . . $ std/::unordered_mapcxx . . $ std/unordered_map#<stdcxx . . $ std/::stringcxx . . $ std/string#, stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<IProfilePartXMLParsercxx . . $ IProfilePartXMLParser#>> parsers_cxx . . $ ProfileXMLParser#parsers_.;
72
73 IProfilecxx . . $ IProfile#::Infocxx . . $ IProfile#Info# info_cxx . . $ ProfileXMLParser#info_.;
74 IProfilecxx . . $ IProfile#::Infocxx . . $ IProfile#Info# infoDefault_cxx . . $ ProfileXMLParser#infoDefault_.;
75
76 bool active_cxx . . $ ProfileXMLParser#active_.;
77 bool activeDefault_cxx . . $ ProfileXMLParser#activeDefault_.;
78 };