5 #ifndef ctrlplane_config_json_parser_base_h
6 #define ctrlplane_config_json_parser_base_h
17 #include "rapidjson/document.h"
19 #include <boost/function.hpp>
51 const std::string &right)
const;
53 const std::string &right)
const;
55 const std::string &property_name)
const;
58 const std::string &right)
const;
93 const std::string &lookup_key)
const;
103 #endif // ctrlplane_config_json_parser_h
void AddParentName(LinkMemberPair member_pair, std::string s)
virtual ~ConfigJsonParserBase()
void AddLinkName(LinkMemberPair member_pair, LinkDataPair data_pair)
bool IsLinkWithAttr(const std::string &left, const std::string &right) const
bool IsListOrMapPropEmpty(const std::string &uuid_key, const std::string &lookup_key) const
uint64_t GetGenerationNumber() const
std::pair< std::string, bool > LinkDataPair
LinkNameMap link_name_map_
void AddWrapperField(std::string key, std::string value)
std::set< std::string > ObjectTypeList
WrapperFieldMap wrapper_field_map_
std::string GetParentName(const std::string &left, const std::string &right) const
std::map< std::string, std::string > WrapperFieldMap
std::string GetLinkName(const std::string &left, const std::string &right) const
ObjectTypeList obj_type_to_read_
const bool IsReadObjectType(std::string objectType)
void Init(ConfigClientManager *mgr)
virtual void EndOfConfig()
ConfigClientManager * mgr_
std::map< LinkMemberPair, std::string > ParentNameMap
uint64_t GetGenerationNumber() const
ParentNameMap parent_name_map_
const ObjectTypeList & ObjectTypeListToRead() const
virtual bool Receive(const ConfigCass2JsonAdapter &adapter, bool add_change)=0
virtual void SetupGraphFilter()=0
std::map< LinkMemberPair, LinkDataPair > LinkNameMap
std::string GetWrapperFieldName(const std::string &type_name, const std::string &property_name) const
std::pair< std::string, std::string > LinkMemberPair
void AddObjectType(std::string object)