/openbmc/phosphor-logging/test/openpower-pels/ |
H A D | private_header_test.cpp | diff cf5a8d0f219691c4508bff85af59167ed9a5d681 Thu Sep 05 12:58:53 CDT 2019 Matt Spinler <spinler@us.ibm.com> PEL: Add a flatten() to Section base class
To prepare for supporting PEL sections that can be in any order, which will probably be stored in a std::vector<unique_ptr<Section>>, add a pure virtual function in the Section base class so this list of sections can just be iterated on and have every object in it flattened.
This flatten() call replaces the operator<<(Stream&, <object>) functions currently in use, so also convert the operator>> to unflatten() to make things consistent.
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: Id68f16fe4197b389a8495c21539a64f9f583c800
|
H A D | user_header_test.cpp | diff cf5a8d0f219691c4508bff85af59167ed9a5d681 Thu Sep 05 12:58:53 CDT 2019 Matt Spinler <spinler@us.ibm.com> PEL: Add a flatten() to Section base class
To prepare for supporting PEL sections that can be in any order, which will probably be stored in a std::vector<unique_ptr<Section>>, add a pure virtual function in the Section base class so this list of sections can just be iterated on and have every object in it flattened.
This flatten() call replaces the operator<<(Stream&, <object>) functions currently in use, so also convert the operator>> to unflatten() to make things consistent.
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: Id68f16fe4197b389a8495c21539a64f9f583c800
|
/openbmc/phosphor-logging/extensions/openpower-pels/ |
H A D | private_header.hpp | diff cf5a8d0f219691c4508bff85af59167ed9a5d681 Thu Sep 05 12:58:53 CDT 2019 Matt Spinler <spinler@us.ibm.com> PEL: Add a flatten() to Section base class
To prepare for supporting PEL sections that can be in any order, which will probably be stored in a std::vector<unique_ptr<Section>>, add a pure virtual function in the Section base class so this list of sections can just be iterated on and have every object in it flattened.
This flatten() call replaces the operator<<(Stream&, <object>) functions currently in use, so also convert the operator>> to unflatten() to make things consistent.
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: Id68f16fe4197b389a8495c21539a64f9f583c800
|
H A D | section.hpp | diff cf5a8d0f219691c4508bff85af59167ed9a5d681 Thu Sep 05 12:58:53 CDT 2019 Matt Spinler <spinler@us.ibm.com> PEL: Add a flatten() to Section base class
To prepare for supporting PEL sections that can be in any order, which will probably be stored in a std::vector<unique_ptr<Section>>, add a pure virtual function in the Section base class so this list of sections can just be iterated on and have every object in it flattened.
This flatten() call replaces the operator<<(Stream&, <object>) functions currently in use, so also convert the operator>> to unflatten() to make things consistent.
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: Id68f16fe4197b389a8495c21539a64f9f583c800
|
H A D | private_header.cpp | diff cf5a8d0f219691c4508bff85af59167ed9a5d681 Thu Sep 05 12:58:53 CDT 2019 Matt Spinler <spinler@us.ibm.com> PEL: Add a flatten() to Section base class
To prepare for supporting PEL sections that can be in any order, which will probably be stored in a std::vector<unique_ptr<Section>>, add a pure virtual function in the Section base class so this list of sections can just be iterated on and have every object in it flattened.
This flatten() call replaces the operator<<(Stream&, <object>) functions currently in use, so also convert the operator>> to unflatten() to make things consistent.
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: Id68f16fe4197b389a8495c21539a64f9f583c800
|
H A D | user_header.hpp | diff cf5a8d0f219691c4508bff85af59167ed9a5d681 Thu Sep 05 12:58:53 CDT 2019 Matt Spinler <spinler@us.ibm.com> PEL: Add a flatten() to Section base class
To prepare for supporting PEL sections that can be in any order, which will probably be stored in a std::vector<unique_ptr<Section>>, add a pure virtual function in the Section base class so this list of sections can just be iterated on and have every object in it flattened.
This flatten() call replaces the operator<<(Stream&, <object>) functions currently in use, so also convert the operator>> to unflatten() to make things consistent.
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: Id68f16fe4197b389a8495c21539a64f9f583c800
|
H A D | user_header.cpp | diff cf5a8d0f219691c4508bff85af59167ed9a5d681 Thu Sep 05 12:58:53 CDT 2019 Matt Spinler <spinler@us.ibm.com> PEL: Add a flatten() to Section base class
To prepare for supporting PEL sections that can be in any order, which will probably be stored in a std::vector<unique_ptr<Section>>, add a pure virtual function in the Section base class so this list of sections can just be iterated on and have every object in it flattened.
This flatten() call replaces the operator<<(Stream&, <object>) functions currently in use, so also convert the operator>> to unflatten() to make things consistent.
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: Id68f16fe4197b389a8495c21539a64f9f583c800
|
H A D | pel.cpp | diff cf5a8d0f219691c4508bff85af59167ed9a5d681 Thu Sep 05 12:58:53 CDT 2019 Matt Spinler <spinler@us.ibm.com> PEL: Add a flatten() to Section base class
To prepare for supporting PEL sections that can be in any order, which will probably be stored in a std::vector<unique_ptr<Section>>, add a pure virtual function in the Section base class so this list of sections can just be iterated on and have every object in it flattened.
This flatten() call replaces the operator<<(Stream&, <object>) functions currently in use, so also convert the operator>> to unflatten() to make things consistent.
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: Id68f16fe4197b389a8495c21539a64f9f583c800
|