| 1 | // SPDX-License-Identifier: GPL-3.0-or-latercxx . . $ `<file>/src/core/profilexmlparserfactory.cpp`/ |
| 2 | // Copyright 2019 Juan Palacios <[email protected]> |
| 3 | |
| 4 | #include "profilexmlparserfactory.h"cxx . . $ `<file>/src/core/profilexmlparserfactory.h`/ |
| 5 | |
| 6 | #include "iprofile.h"cxx . . $ `<file>/src/core/iprofile.h`/ |
| 7 | #include "iprofileparser.h"cxx . . $ `<file>/src/core/iprofileparser.h`/ |
| 8 | #include "iprofilepartxmlparserprovider.h"cxx . . $ `<file>/src/core/iprofilepartxmlparserprovider.h`/ |
| 9 | #include "profilexmlparser.h"cxx . . $ `<file>/src/core/profilexmlparser.h`/ |
| 10 | #include <utility> |
| 11 | |
| 12 | ProfileXMLParserFactorycxx . . $ ProfileXMLParserFactory#::ProfileXMLParserFactorycxx . . $ ProfileXMLParserFactory#ProfileXMLParserFactory(26b51e92cc85cdc9).( |
| 13 | stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<IProfilePartXMLParserProvidercxx . . $ IProfilePartXMLParserProvider#> &&profilePartParserProvider) noexcept |
| 14 | : profilePartParserProvider_cxx . . $ ProfileXMLParserFactory#profilePartParserProvider_.(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(profilePartParserProvider)) |
| 15 | { |
| 16 | } |
| 17 | |
| 18 | stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<IProfileParsercxx . . $ IProfileParser#> |
| 19 | ProfileXMLParserFactorycxx . . $ ProfileXMLParserFactory#::buildcxx . . $ ProfileXMLParserFactory#build(953943449e453a2b).(IProfilecxx . . $ IProfile# const &baseProfile) const |
| 20 | { |
| 21 | auto parser = stdcxx . . $ std/::make_uniquecxx . . $ std/make_unique(5cd499e8540a10bb).<ProfileXMLParsercxx . . $ ProfileXMLParser#>(); |
| 22 | ProfileXMLParsercxx . . $ ProfileXMLParser#::Factorycxx . . $ ProfileXMLParser#Factory# parserFactorycxx . . $ ProfileXMLParser#Factory#Factory(7468dab75b18173c).(*cxx . . $ std/unique_ptr#`operator*`(2fbe4a4c783c152d).profilePartParserProvider_cxx . . $ ProfileXMLParserFactory#profilePartParserProvider_., *cxx . . $ std/unique_ptr#`operator*`(2fbe4a4c783c152d).parser); |
| 23 | baseProfile.exportWithcxx . . $ Exportable#exportWith(5b5c94ff60635419).(parserFactory); |
| 24 | return stdcxx . . $ std/unique_ptr#unique_ptr(8bcafd3b0b660df8).::movecxx . . $ std/move(e35c19a1ba7baa26).(parser); |
| 25 | } |