Home
last modified time | relevance | path

Searched hist:e38f8a21 (Results 1 – 3 of 3) sorted by relevance

/openbmc/phosphor-power/phosphor-regulators/src/
H A Did_map.cppe38f8a21 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 Did_map.hppe38f8a21 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 Did_map_tests.cppe38f8a21 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