5 #ifndef __ctrlplane__ifmap_node__
6 #define __ctrlplane__ifmap_node__
8 #include <boost/crc.hpp>
9 #include <boost/intrusive/list.hpp>
18 boost::intrusive::list_member_hook<>,
21 typedef boost::intrusive::list<IFMapObject, MemberHook>
ObjectList;
27 virtual std::string
ToString()
const;
44 pugi::xml_node *parent);
void EncodeNode(pugi::xml_node *parent) const
virtual std::string ToString() const
void Remove(IFMapObject *obj)
std::unique_ptr< DBRequestKey > KeyPtr
void EncodeNodeDetail(pugi::xml_node *parent) const
boost::intrusive::list_member_hook node_
static IFMapNode * DescriptorLookup(DB *db, const Descriptor &descriptor)
boost::crc_32_type::value_type crc32type
void Insert(IFMapObject *obj)
IFMapObject * Find(IFMapOrigin origin)
const std::string & name() const
IFMapObject * GetObject()
boost::intrusive::list< IFMapObject, MemberHook > ObjectList
std::pair< std::string, std::string > Descriptor
const IFMapTable * table() const
virtual bool IsLess(const DBEntry &db_entry) const
int get_object_list_size()
virtual KeyPtr GetDBRequestKey() const
boost::intrusive::member_hook< IFMapObject, boost::intrusive::list_member_hook<>,&IFMapObject::node_ > MemberHook
virtual void SetKey(const DBRequestKey *genkey)
IFMapNode(IFMapTable *table)
DISALLOW_COPY_AND_ASSIGN(IFMapNode)