28 auto found = m_objs.find(k);
30 if (found != m_objs.end())
39 for (
auto entry : orlist) {
40 os <<
" " << entry.obj()->to_string() << std::endl;
47 for (
auto entry : m_objs) {
48 os <<
" key:[" << entry.first <<
"]" << std::endl;
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.
The VPP Object Model (VOM) library.