| 1 | // SPDX-License-Identifier: GPL-3.0-or-latercxx . . $ `<file>/src/core/components/controls/controlgroupprofilepart.h`/ |
| 2 | // Copyright 2019 Juan Palacios <[email protected]> |
| 3 | |
| 4 | #pragma once |
| 5 | |
| 6 | #include "controlgroup.h"cxx . . $ `<file>/src/core/components/controls/controlgroup.h`/ |
| 7 | #include "core/profilepart.h"cxx . . $ `<file>/src/core/profilepart.h`/ |
| 8 | #include <memory> |
| 9 | #include <string> |
| 10 | #include <string_view> |
| 11 | #include <vector> |
| 12 | |
| 13 | class ControlGroupProfilePartcxx . . $ ControlGroupProfilePart# |
| 14 | : public ProfilePartcxx . . $ ProfilePart# |
| 15 | , public ControlGroupcxx . . $ ControlGroup#::Importercxx . . $ IControl#Importer# |
| 16 | { |
| 17 | public: |
| 18 | class Importercxx . . $ ControlGroupProfilePart#Importer# : public IProfilePartcxx . . $ IProfilePart#::Importercxx . . $ IProfilePart#Importer# |
| 19 | { |
| 20 | }; |
| 21 | |
| 22 | class Exportercxx . . $ ControlGroupProfilePart#Exporter# : public IProfilePartcxx . . $ IProfilePart#::Exportercxx . . $ IProfilePart#Exporter# |
| 23 | { |
| 24 | }; |
| 25 | |
| 26 | ControlGroupProfilePartcxx . . $ ControlGroupProfilePart#ControlGroupProfilePart(c6e332c41c54746f).(stdcxx . . $ std/::string_viewcxx . . $ std/string_view# id) noexcept; |
| 27 | |
| 28 | stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<Exportablecxx . . $ Exportable#::Exportercxx . . $ Exportable#Exporter#> |
| 29 | factorycxx . . $ ControlGroupProfilePart#factory(af48dc8d4887b70c).(IProfilePartProvidercxx . . $ IProfilePartProvider# const &profilePartProvider) final override; |
| 30 | stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<Exportablecxx . . $ Exportable#::Exportercxx . . $ Exportable#Exporter#> initializercxx . . $ ControlGroupProfilePart#initializer(6b4e1016740e578).() final override; |
| 31 | |
| 32 | stdcxx . . $ std/::stringcxx . . $ std/string# const &IDcxx . . $ ControlGroupProfilePart#ID(f4fff0029955a25f).() const final override; |
| 33 | |
| 34 | stdcxx . . $ std/::optionalcxx . . $ std/optional#<stdcxx . . $ std/::reference_wrappercxx . . $ std/reference_wrapper#<Importablecxx . . $ Importable#::Importercxx . . $ Importable#Importer#>> |
| 35 | provideImportercxx . . $ ControlGroupProfilePart#provideImporter(c13a3bcac0db4745).(Itemcxx . . $ Item# const &i) final override; |
| 36 | |
| 37 | bool provideActivecxx . . $ ControlGroupProfilePart#provideActive(50ce9a9e25b4a850).() const final override; |
| 38 | |
| 39 | protected: |
| 40 | void importProfilePartcxx . . $ ControlGroupProfilePart#importProfilePart(d62b6a6dfe9fe695).(IProfilePartcxx . . $ IProfilePart#::Importercxx . . $ IProfilePart#Importer# &i) final override; |
| 41 | void exportProfilePartcxx . . $ ControlGroupProfilePart#exportProfilePart(702e13e8794d0da4).(IProfilePartcxx . . $ IProfilePart#::Exportercxx . . $ IProfilePart#Exporter# &e) const final override; |
| 42 | stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<IProfilePartcxx . . $ IProfilePart#> cloneProfilePartcxx . . $ ControlGroupProfilePart#cloneProfilePart(1378fcc1caef3e7b).() const final override; |
| 43 | |
| 44 | virtual stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<ControlGroupProfilePartcxx . . $ ControlGroupProfilePart#> instancecxx . . $ ControlGroupProfilePart#instance(f98cf899a05f254d).() const = 0; |
| 45 | |
| 46 | private: |
| 47 | class Factorycxx . . $ ControlGroupProfilePart#Factory#; |
| 48 | class Initializercxx . . $ ControlGroupProfilePart#Initializer#; |
| 49 | |
| 50 | stdcxx . . $ std/::vectorcxx . . $ std/vector#<stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<IProfilePartcxx . . $ IProfilePart#>> parts_cxx . . $ ControlGroupProfilePart#parts_.; |
| 51 | stdcxx . . $ std/::stringcxx . . $ std/string# const id_cxx . . $ ControlGroupProfilePart#id_.; |
| 52 | }; |