|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the documentation of this file.
16 #ifndef __VOM_KEY_DB_H__
17 #define __VOM_KEY_DB_H__
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.
The VPP Object Model (VOM) library.
const typedef std::string key_t
In the opflex world each entity is known by a URI which can be converted into a string.
object_ref_list & find(const key_t &k)
Find the objects owned by the key.
void flush(const key_t &k)
flush, i.e.
A DB storing the objects that each owner/key owns.
std::set< object_ref > object_ref_list
A convenitent typedef for set of objects owned.