Searched hist:e38f8a21e9f49d02fcbd6437c31c5dd56ef111e0 (Results 1 – 3 of 3) sorted by relevance
/openbmc/phosphor-power/phosphor-regulators/src/ |
H A D | id_map.cpp | diff e38f8a21e9f49d02fcbd6437c31c5dd56ef111e0 Sun Apr 05 15:39:14 CDT 2020 Shawn McCarney <shawnmm@us.ibm.com> regulators: Enhance IDMap to detect duplicate IDs
The IDMap class provides a mapping from unique string IDs to the corresponding Device, Rail, and Rule objects.
Enhance IDMap to detect duplicate IDs. Throw an exception if the caller tries to add a Device, Rail, or Rule whose ID already exists in the map.
Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com> Change-Id: I81176fae1415cd5a89dc4ff47f80d1bc70e0e004
|
H A D | id_map.hpp | diff e38f8a21e9f49d02fcbd6437c31c5dd56ef111e0 Sun Apr 05 15:39:14 CDT 2020 Shawn McCarney <shawnmm@us.ibm.com> regulators: Enhance IDMap to detect duplicate IDs
The IDMap class provides a mapping from unique string IDs to the corresponding Device, Rail, and Rule objects.
Enhance IDMap to detect duplicate IDs. Throw an exception if the caller tries to add a Device, Rail, or Rule whose ID already exists in the map.
Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com> Change-Id: I81176fae1415cd5a89dc4ff47f80d1bc70e0e004
|
/openbmc/phosphor-power/phosphor-regulators/test/ |
H A D | id_map_tests.cpp | diff e38f8a21e9f49d02fcbd6437c31c5dd56ef111e0 Sun Apr 05 15:39:14 CDT 2020 Shawn McCarney <shawnmm@us.ibm.com> regulators: Enhance IDMap to detect duplicate IDs
The IDMap class provides a mapping from unique string IDs to the corresponding Device, Rail, and Rule objects.
Enhance IDMap to detect duplicate IDs. Throw an exception if the caller tries to add a Device, Rail, or Rule whose ID already exists in the map.
Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com> Change-Id: I81176fae1415cd5a89dc4ff47f80d1bc70e0e004
|