system.hpp (33ae81feaf9cb409921b5c886ba86151d53aabb8) system.hpp (f2d8bb48366d812180a8684e3ff58f26425854fa)
1/*
2// Copyright (c) 2018 Intel Corporation
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0

--- 31 unchanged lines hidden (view full) ---

40 System(System&&) = default;
41 System& operator=(System&&) = default;
42
43 System(sdbusplus::bus_t& bus, const std::string& objPath,
44 uint8_t* smbiosTableStorage) :
45 sdbusplus::server::object_t<
46 sdbusplus::server::xyz::openbmc_project::common::UUID>(
47 bus, objPath.c_str()),
1/*
2// Copyright (c) 2018 Intel Corporation
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0

--- 31 unchanged lines hidden (view full) ---

40 System(System&&) = default;
41 System& operator=(System&&) = default;
42
43 System(sdbusplus::bus_t& bus, const std::string& objPath,
44 uint8_t* smbiosTableStorage) :
45 sdbusplus::server::object_t<
46 sdbusplus::server::xyz::openbmc_project::common::UUID>(
47 bus, objPath.c_str()),
48 bus(bus),
49 sdbusplus::server::object_t<sdbusplus::server::xyz::openbmc_project::
50 inventory::decorator::Revision>(
51 bus, objPath.c_str()),
48 sdbusplus::server::object_t<sdbusplus::server::xyz::openbmc_project::
49 inventory::decorator::Revision>(
50 bus, objPath.c_str()),
52 path(objPath), storage(smbiosTableStorage)
51 bus(bus), path(objPath), storage(smbiosTableStorage)
53 {
54 std::string input = "0";
55 uuid(input);
56 version("0.00");
57 }
58
59 std::string uuid(std::string value) override;
60

--- 56 unchanged lines hidden ---
52 {
53 std::string input = "0";
54 uuid(input);
55 version("0.00");
56 }
57
58 std::string uuid(std::string value) override;
59

--- 56 unchanged lines hidden ---