Debian Codegraph @

src/core/components/sensors/graphitemprofilepart.cpp

raw symbols SCIP
1 // SPDX-License-Identifier: GPL-3.0-or-latercxx . . $ `<file>/src/core/components/sensors/graphitemprofilepart.cpp`/
2 // Copyright 2019 Juan Palacios <[email protected]>
3
4 #include "graphitemprofilepart.h"cxx . . $ `<file>/src/core/components/sensors/graphitemprofilepart.h`/
5
6 #include <memory>
7
8 GraphItemProfilePartcxx . . $ GraphItemProfilePart#::GraphItemProfilePartcxx . . $ GraphItemProfilePart#GraphItemProfilePart(62297a3c612b74f).(stdcxx . . $ std/::string_viewcxx . . $ std/string_view# id,
9 stdcxx . . $ std/::string_viewcxx . . $ std/string_view# color) noexcept
10 : id_cxx . . $ GraphItemProfilePart#id_.(id)
11 , color_cxx . . $ GraphItemProfilePart#color_.(color)
12 {
13 }
14
15 stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<Exportablecxx . . $ Exportable#::Exportercxx . . $ Exportable#Exporter#>
16 GraphItemProfilePartcxx . . $ GraphItemProfilePart#::factorycxx . . $ GraphItemProfilePart#factory(af48dc8d4887b70c).(IProfilePartProvidercxx . . $ IProfilePartProvider# const &)
17 {
18 return nullptrcxx . . $ std/unique_ptr#unique_ptr(6d988fd07f070dfc).;
19 }
20
21 stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<Exportablecxx . . $ Exportable#::Exportercxx . . $ Exportable#Exporter#> GraphItemProfilePartcxx . . $ GraphItemProfilePart#::initializercxx . . $ GraphItemProfilePart#initializer(6b4e1016740e578).()
22 {
23 return nullptrcxx . . $ std/unique_ptr#unique_ptr(6d988fd07f070dfc).;
24 }
25
26 stdcxx . . $ std/::stringcxx . . $ std/string# const &GraphItemProfilePartcxx . . $ GraphItemProfilePart#::IDcxx . . $ GraphItemProfilePart#ID(f4fff0029955a25f).() const
27 {
28 return id_cxx . . $ GraphItemProfilePart#id_.;
29 }
30
31 void GraphItemProfilePartcxx . . $ GraphItemProfilePart#::importProfilePartcxx . . $ GraphItemProfilePart#importProfilePart(d62b6a6dfe9fe695).(IProfilePartcxx . . $ IProfilePart#::Importercxx . . $ IProfilePart#Importer# &i)
32 {
33 auto &itemImporter = dynamic_cast<GraphItemProfilePartcxx . . $ GraphItemProfilePart#::Importercxx . . $ GraphItemProfilePart#Importer# &>(i);
34 color_cxx . . $ GraphItemProfilePart#color_. =cxx . . $ std/__cxx11/basic_string#`operator=`(c0b47be1fddc0e75). itemImporter.provideColorcxx . . $ GraphItemProfilePart#Importer#provideColor(f4fff0029955a25f).();
35 }
36
37 void GraphItemProfilePartcxx . . $ GraphItemProfilePart#::exportProfilePartcxx . . $ GraphItemProfilePart#exportProfilePart(702e13e8794d0da4).(IProfilePartcxx . . $ IProfilePart#::Exportercxx . . $ IProfilePart#Exporter# &e) const
38 {
39 auto &itemExporter = dynamic_cast<GraphItemProfilePartcxx . . $ GraphItemProfilePart#::Exportercxx . . $ GraphItemProfilePart#Exporter# &>(e);
40 itemExporter.takeColorcxx . . $ GraphItemProfilePart#Exporter#takeColor(9c546c94e5fcce4e).(color_cxx . . $ GraphItemProfilePart#color_.);
41 }
42
43 stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<IProfilePartcxx . . $ IProfilePart#> GraphItemProfilePartcxx . . $ GraphItemProfilePart#::cloneProfilePartcxx . . $ GraphItemProfilePart#cloneProfilePart(1378fcc1caef3e7b).() const
44 {
45 return stdcxx . . $ std/unique_ptr#unique_ptr(8bcafd3b0b660df8).::make_uniquecxx . . $ std/make_unique(5cd499e8540a10bb).<GraphItemProfilePartcxx . . $ GraphItemProfilePart#>(id_cxx . . $ GraphItemProfilePart#id_., color_cxx . . $ GraphItemProfilePart#color_.);
46 }