Code refactoring
Moved all the constants to const.hpp and utility method to
utils.cpp/hpp.
Removed file ibm_vpd_type_check.cpp/hpp and keyword_vpd_types.hpp.
Signed-off-by: SunnySrivastava1984 <sunnsr25@in.ibm.com>
Change-Id: Ie7b54e6fd03a499fab7c3124e17292c6d525e471
diff --git a/keyword_vpd_parser.cpp b/keyword_vpd_parser.cpp
index eef17b8..9e147b5 100644
--- a/keyword_vpd_parser.cpp
+++ b/keyword_vpd_parser.cpp
@@ -1,5 +1,7 @@
#include "keyword_vpd_parser.hpp"
+#include "const.hpp"
+
#include <iostream>
#include <numeric>
#include <string>
@@ -10,6 +12,9 @@
{
namespace parser
{
+using namespace openpower::vpd::constants;
+using namespace openpower::vpd::inventory;
+
KeywordVpdMap KeywordVpdParser::parseKwVpd()
{
int kwVpdType;