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/ibm_vpd_app.cpp b/ibm_vpd_app.cpp
index b761b10..24363d0 100644
--- a/ibm_vpd_app.cpp
+++ b/ibm_vpd_app.cpp
@@ -1,7 +1,6 @@
#include "config.h"
#include "defines.hpp"
-#include "ibm_vpd_type_check.hpp"
#include "keyword_vpd_parser.hpp"
#include "parser.hpp"
#include "utils.hpp"
@@ -21,10 +20,10 @@
using namespace openpower::vpd;
using namespace CLI;
using namespace vpd::keyword::parser;
-using namespace vpdFormat;
using namespace openpower::vpd::constants;
namespace fs = filesystem;
using json = nlohmann::json;
+using namespace openpower::vpd::inventory;
/**
* @brief Expands location codes