16 #ifndef __VOM_KEY_DB_H__ 17 #define __VOM_KEY_DB_H__ 51 typedef const std::string
key_t;
56 object_ref_list&
find(
const key_t& k);
61 void flush(
const key_t& k);
66 void dump(
const key_t& key, std::ostream& os);
71 void dump(std::ostream& os);
77 std::map<key_t, object_ref_list> m_objs;
void dump(const key_t &key, std::ostream &os)
Print each of the object in the DB into the stream provided.
std::set< object_ref > object_ref_list
A convenitent typedef for set of objects owned.
object_ref_list & find(const key_t &k)
Find the objects owned by the key.
const std::string key_t
In the opflex world each entity is known by a URI which can be converted into a string.
void flush(const key_t &k)
flush, i.e.
A DB storing the objects that each owner/key owns.
The VPP Object Model (VOM) library.