Add helper class to handle PMBus metadata
Add a NamesValues class to help when adding multiple
PMBus registers to a single metadata entry.
It allows one to add multiple name/value pairs to
the object, and provides a get() method to return them
all concatenated.
It currently supports numeric values, up to a uint64_t,
but more types could be added if ever necessary.
The resulting string will look like:
"name1=value1|name2=value2|etc"
Change-Id: I4def8ac313882a0b9efc7cb33488f19ad33f1727
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
1 file changed