1*b40f4f8fSArchana Kakani #include "cable.hpp" 2*b40f4f8fSArchana Kakani 3*b40f4f8fSArchana Kakani namespace pldm 4*b40f4f8fSArchana Kakani { 5*b40f4f8fSArchana Kakani namespace dbus 6*b40f4f8fSArchana Kakani { 7*b40f4f8fSArchana Kakani length() const8*b40f4f8fSArchana Kakanidouble Cable::length() const 9*b40f4f8fSArchana Kakani { 10*b40f4f8fSArchana Kakani return sdbusplus::xyz::openbmc_project::Inventory::Item::server::Cable:: 11*b40f4f8fSArchana Kakani length(); 12*b40f4f8fSArchana Kakani } 13*b40f4f8fSArchana Kakani length(double value)14*b40f4f8fSArchana Kakanidouble Cable::length(double value) 15*b40f4f8fSArchana Kakani { 16*b40f4f8fSArchana Kakani return sdbusplus::xyz::openbmc_project::Inventory::Item::server::Cable:: 17*b40f4f8fSArchana Kakani length(value); 18*b40f4f8fSArchana Kakani } 19*b40f4f8fSArchana Kakani cableTypeDescription() const20*b40f4f8fSArchana Kakanistd::string Cable::cableTypeDescription() const 21*b40f4f8fSArchana Kakani { 22*b40f4f8fSArchana Kakani return sdbusplus::xyz::openbmc_project::Inventory::Item::server::Cable:: 23*b40f4f8fSArchana Kakani cableTypeDescription(); 24*b40f4f8fSArchana Kakani } 25*b40f4f8fSArchana Kakani cableTypeDescription(std::string value)26*b40f4f8fSArchana Kakanistd::string Cable::cableTypeDescription(std::string value) 27*b40f4f8fSArchana Kakani { 28*b40f4f8fSArchana Kakani return sdbusplus::xyz::openbmc_project::Inventory::Item::server::Cable:: 29*b40f4f8fSArchana Kakani cableTypeDescription(value); 30*b40f4f8fSArchana Kakani } 31*b40f4f8fSArchana Kakani 32*b40f4f8fSArchana Kakani } // namespace dbus 33*b40f4f8fSArchana Kakani 34*b40f4f8fSArchana Kakani } // namespace pldm 35