7 #include <boost/lexical_cast.hpp>
12 #include "config_client_log_types.h"
25 const string &right)
const {
26 ParentNameMap::const_iterator it =
34 const string &right)
const {
35 LinkNameMap::const_iterator it =
39 return it->second.first;
43 const string &right)
const {
44 LinkNameMap::const_iterator it =
48 return it->second.second;
52 const string &property_name)
const {
53 WrapperFieldMap::const_iterator it =
59 string temp_str = it->second;
60 std::replace(temp_str.begin(), temp_str.end(),
'-',
'_');
66 const string &lookup_key)
const {
ConfigDbClient * config_db_client() const
virtual bool IsListOrMapPropEmpty(const std::string &uuid_key, const std::string &lookup_key)=0
bool IsLinkWithAttr(const std::string &left, const std::string &right) const
virtual void EndOfConfig()
bool IsListOrMapPropEmpty(const std::string &uuid_key, const std::string &lookup_key) const
virtual ~ConfigJsonParserBase()
std::string GetWrapperFieldName(const std::string &type_name, const std::string &property_name) const
ParentNameMap parent_name_map_
LinkNameMap link_name_map_
std::string GetLinkName(const std::string &left, const std::string &right) const
WrapperFieldMap wrapper_field_map_
ConfigClientManager * mgr_
std::string GetParentName(const std::string &left, const std::string &right) const