Archana Kakani | c366447 | 2025-02-04 05:36:37 -0600 | [diff] [blame^] | 1 | #include "inventory_item.hpp" |
| 2 | |
| 3 | namespace pldm |
| 4 | { |
| 5 | namespace dbus |
| 6 | { |
| 7 | |
| 8 | std::string InventoryItem::prettyName() const |
| 9 | { |
| 10 | return sdbusplus::xyz::openbmc_project::Inventory::server::Item:: |
| 11 | prettyName(); |
| 12 | } |
| 13 | |
| 14 | std::string InventoryItem::prettyName(std::string value) |
| 15 | { |
| 16 | return sdbusplus::xyz::openbmc_project::Inventory::server::Item::prettyName( |
| 17 | value); |
| 18 | } |
| 19 | |
| 20 | bool InventoryItem::present() const |
| 21 | { |
| 22 | return sdbusplus::xyz::openbmc_project::Inventory::server::Item::present(); |
| 23 | } |
| 24 | |
| 25 | bool InventoryItem::present(bool value) |
| 26 | { |
| 27 | return sdbusplus::xyz::openbmc_project::Inventory::server::Item::present( |
| 28 | value); |
| 29 | } |
| 30 | |
| 31 | } // namespace dbus |
| 32 | } // namespace pldm |