| 1 | // SPDX-License-Identifier: GPL-3.0-or-latercxx . . $ `<file>/src/core/components/controls/controlgroupxmlparser.h`/ |
| 2 | // Copyright 2019 Juan Palacios <[email protected]> |
| 3 | |
| 4 | #pragma once |
| 5 | |
| 6 | #include "controlgroupprofilepart.h"cxx . . $ `<file>/src/core/components/controls/controlgroupprofilepart.h`/ |
| 7 | #include "core/profilepartxmlparser.h"cxx . . $ `<file>/src/core/profilepartxmlparser.h`/ |
| 8 | #include <memory> |
| 9 | #include <string> |
| 10 | #include <string_view> |
| 11 | #include <vector> |
| 12 | |
| 13 | class ControlGroupXMLParsercxx . . $ ControlGroupXMLParser# |
| 14 | : public ProfilePartXMLParsercxx . . $ ProfilePartXMLParser# |
| 15 | , public ControlGroupProfilePartcxx . . $ ControlGroupProfilePart#::Exportercxx . . $ ControlGroupProfilePart#Exporter# |
| 16 | , public ControlGroupProfilePartcxx . . $ ControlGroupProfilePart#::Importercxx . . $ ControlGroupProfilePart#Importer# |
| 17 | { |
| 18 | public: |
| 19 | ControlGroupXMLParsercxx . . $ ControlGroupXMLParser#ControlGroupXMLParser(c6e332c41c54746f).(stdcxx . . $ std/::string_viewcxx . . $ std/string_view# id) noexcept; |
| 20 | |
| 21 | stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<Exportablecxx . . $ Exportable#::Exportercxx . . $ Exportable#Exporter#> factorycxx . . $ ControlGroupXMLParser#factory(543373651c38a5a4).( |
| 22 | IProfilePartXMLParserProvidercxx . . $ IProfilePartXMLParserProvider# const &profilePartParserProvider) override; |
| 23 | stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<Exportablecxx . . $ Exportable#::Exportercxx . . $ Exportable#Exporter#> initializercxx . . $ ControlGroupXMLParser#initializer(6b4e1016740e578).() override; |
| 24 | |
| 25 | stdcxx . . $ std/::optionalcxx . . $ std/optional#<stdcxx . . $ std/::reference_wrappercxx . . $ std/reference_wrapper#<Exportablecxx . . $ Exportable#::Exportercxx . . $ Exportable#Exporter#>> |
| 26 | provideExportercxx . . $ ControlGroupXMLParser#provideExporter(3acccbde2694e33a).(Itemcxx . . $ Item# const &i) final override; |
| 27 | stdcxx . . $ std/::optionalcxx . . $ std/optional#<stdcxx . . $ std/::reference_wrappercxx . . $ std/reference_wrapper#<Importablecxx . . $ Importable#::Importercxx . . $ Importable#Importer#>> |
| 28 | provideImportercxx . . $ ControlGroupXMLParser#provideImporter(c13a3bcac0db4745).(Itemcxx . . $ Item# const &i) final override; |
| 29 | |
| 30 | void takeActivecxx . . $ ControlGroupXMLParser#takeActive(b45ddcbc8423892c).(bool active) final override; |
| 31 | bool provideActivecxx . . $ ControlGroupXMLParser#provideActive(50ce9a9e25b4a850).() const final override; |
| 32 | |
| 33 | void appendTocxx . . $ ControlGroupXMLParser#appendTo(9a62add8cbc6c333).(pugicxx . . $ pugi/::xml_nodecxx . . $ pugi/xml_node# &parentNode) final override; |
| 34 | |
| 35 | protected: |
| 36 | void resetAttributescxx . . $ ControlGroupXMLParser#resetAttributes(49f6e7a06ebc5aa8).() final override; |
| 37 | void loadPartFromcxx . . $ ControlGroupXMLParser#loadPartFrom(ad773084382c4c72).(pugicxx . . $ pugi/::xml_nodecxx . . $ pugi/xml_node# const &parentNode) override; |
| 38 | |
| 39 | void loadComponentscxx . . $ ControlGroupXMLParser#loadComponents(ad773084382c4c72).(pugicxx . . $ pugi/::xml_nodecxx . . $ pugi/xml_node# const &parentNode); |
| 40 | bool activeDefaultcxx . . $ ControlGroupXMLParser#activeDefault(50ce9a9e25b4a850).() const; |
| 41 | |
| 42 | private: |
| 43 | class Factorycxx . . $ ControlGroupXMLParser#Factory#; |
| 44 | class Initializercxx . . $ ControlGroupXMLParser#Initializer#; |
| 45 | |
| 46 | stdcxx . . $ std/::vectorcxx . . $ std/vector#<stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<IProfilePartXMLParsercxx . . $ IProfilePartXMLParser#>> parsers_cxx . . $ ControlGroupXMLParser#parsers_.; |
| 47 | |
| 48 | bool active_cxx . . $ ControlGroupXMLParser#active_.; |
| 49 | bool activeDefault_cxx . . $ ControlGroupXMLParser#activeDefault_.; |
| 50 | }; |