xref: /openbmc/openpower-vpd-parser/vpd-manager/include/single_fab.hpp (revision 227938343973968ac77541111fa6c0ef384082cd)
1 #pragma once
2 
3 #include <string>
4 
5 namespace vpd
6 {
7 /**
8  * @brief class to implement single fab feature.
9  *
10  * The class hosts functionalities required to support single FAB feature.
11  *
12  */
13 class SingleFab
14 {
15     // ToDo: public API to be implemented, which can be called by the user to
16     // support single FAB.
17 
18   private:
19     /**
20      * @brief API to get IM value from persisted location.
21      *
22      * @return IM value on success, empty string otherwise.
23      */
24     std::string getImFromPersistedLocation() const noexcept;
25 
26     /**
27      * @brief API to get IM value from system planar EEPROM path.
28      *
29      * @return IM value on success, empty string otherwise.
30      */
31     std::string getImFromPlanar() const noexcept;
32 };
33 } // namespace vpd
34