Debian Codegraph @

src/core/components/sensors/graphitemxmlparser.h

raw symbols SCIP
1 // SPDX-License-Identifier: GPL-3.0-or-latercxx . . $ `<file>/src/core/components/sensors/graphitemxmlparser.h`/
2 // Copyright 2019 Juan Palacios <[email protected]>
3
4 #pragma once
5
6 #include "core/profilepartxmlparser.h"cxx . . $ `<file>/src/core/profilepartxmlparser.h`/
7 #include "graphitemprofilepart.h"cxx . . $ `<file>/src/core/components/sensors/graphitemprofilepart.h`/
8 #include <pugixml.hpp>
9 #include <string>
10 #include <string_view>
11
12 class GraphItemXMLParsercxx . . $ GraphItemXMLParser# final
13 : public ProfilePartXMLParsercxx . . $ ProfilePartXMLParser#
14 , public GraphItemProfilePartcxx . . $ GraphItemProfilePart#::Exportercxx . . $ GraphItemProfilePart#Exporter#
15 , public GraphItemProfilePartcxx . . $ GraphItemProfilePart#::Importercxx . . $ GraphItemProfilePart#Importer#
16 {
17 public:
18 GraphItemXMLParsercxx . . $ GraphItemXMLParser#GraphItemXMLParser(c6e332c41c54746f).(stdcxx . . $ std/::string_viewcxx . . $ std/string_view# id) noexcept;
19
20 stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<Exportablecxx . . $ Exportable#::Exportercxx . . $ Exportable#Exporter#> factorycxx . . $ GraphItemXMLParser#factory(543373651c38a5a4).(
21 IProfilePartXMLParserProvidercxx . . $ IProfilePartXMLParserProvider# const &profilePartParserProvider) override;
22 stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<Exportablecxx . . $ Exportable#::Exportercxx . . $ Exportable#Exporter#> initializercxx . . $ GraphItemXMLParser#initializer(6b4e1016740e578).() override;
23
24 stdcxx . . $ std/::optionalcxx . . $ std/optional#<stdcxx . . $ std/::reference_wrappercxx . . $ std/reference_wrapper#<Importablecxx . . $ Importable#::Importercxx . . $ Importable#Importer#>>
25 provideImportercxx . . $ GraphItemXMLParser#provideImporter(c13a3bcac0db4745).(const Itemcxx . . $ Item# &i) override;
26 stdcxx . . $ std/::optionalcxx . . $ std/optional#<stdcxx . . $ std/::reference_wrappercxx . . $ std/reference_wrapper#<Exportablecxx . . $ Exportable#::Exportercxx . . $ Exportable#Exporter#>>
27 provideExportercxx . . $ GraphItemXMLParser#provideExporter(3acccbde2694e33a).(const Itemcxx . . $ Item# &i) override;
28
29 void takeActivecxx . . $ GraphItemXMLParser#takeActive(b45ddcbc8423892c).(bool active) override;
30 bool provideActivecxx . . $ GraphItemXMLParser#provideActive(50ce9a9e25b4a850).() const override;
31
32 void takeColorcxx . . $ GraphItemXMLParser#takeColor(9c546c94e5fcce4e).(const stdcxx . . $ std/::stringcxx . . $ std/string# &color) override;
33 stdcxx . . $ std/::stringcxx . . $ std/string# const &provideColorcxx . . $ GraphItemXMLParser#provideColor(f4fff0029955a25f).() const override;
34
35 void appendTocxx . . $ GraphItemXMLParser#appendTo(9a62add8cbc6c333).(pugicxx . . $ pugi/::xml_nodecxx . . $ pugi/xml_node# &parentNode) override;
36
37 protected:
38 void resetAttributescxx . . $ GraphItemXMLParser#resetAttributes(49f6e7a06ebc5aa8).() override;
39 void loadPartFromcxx . . $ GraphItemXMLParser#loadPartFrom(ad773084382c4c72).(pugicxx . . $ pugi/::xml_nodecxx . . $ pugi/xml_node# const &parentNode) override;
40
41 private:
42 class Initializercxx . . $ GraphItemXMLParser#Initializer#;
43
44 bool active_cxx . . $ GraphItemXMLParser#active_.;
45 bool activeDefault_cxx . . $ GraphItemXMLParser#activeDefault_.;
46
47 stdcxx . . $ std/::stringcxx . . $ std/string# colorDefault_cxx . . $ GraphItemXMLParser#colorDefault_.;
48 };