| 1 | // SPDX-License-Identifier: GPL-3.0-or-latercxx . . $ `<file>/src/core/profileviewfactory.cpp`/ |
| 2 | // Copyright 2019 Juan Palacios <[email protected]> |
| 3 | |
| 4 | #include "profileviewfactory.h"cxx . . $ `<file>/src/core/profileviewfactory.h`/ |
| 5 | |
| 6 | #include "exportable.h"cxx . . $ `<file>/src/core/exportable.h`/ |
| 7 | #include "profileview.h"cxx . . $ `<file>/src/core/profileview.h`/ |
| 8 | #include <utility> |
| 9 | |
| 10 | stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<IProfileViewcxx . . $ IProfileView#> ProfileViewFactorycxx . . $ ProfileViewFactory#::buildcxx . . $ ProfileViewFactory#build(a5bd53f7a1e70b37).( |
| 11 | Exportablecxx . . $ Exportable# const &profile, |
| 12 | stdcxx . . $ std/::optionalcxx . . $ std/optional#<stdcxx . . $ std/::reference_wrappercxx . . $ std/reference_wrapper#<IProfileViewcxx . . $ IProfileView#>> base) const |
| 13 | { |
| 14 | auto profileView = stdcxx . . $ std/::make_uniquecxx . . $ std/make_unique(5cd499e8540a10bb).<ProfileViewcxx . . $ ProfileView#>(); |
| 15 | ProfileViewcxx . . $ ProfileView#::Initializercxx . . $ ProfileView#Initializer# pvInitializercxx . . $ ProfileView#Initializer#Initializer(c80d60c748f5e9e9).(*cxx . . $ std/unique_ptr#`operator*`(2fbe4a4c783c152d).profileView, base); |
| 16 | profile.exportWithcxx . . $ Exportable#exportWith(5b5c94ff60635419).(pvInitializer); |
| 17 | return stdcxx . . $ std/unique_ptr#unique_ptr(8bcafd3b0b660df8).::movecxx . . $ std/move(e35c19a1ba7baa26).(profileView); |
| 18 | } |