|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the documentation of this file.
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.
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.
std::set< object_ref > object_ref_list
A convenitent typedef for set of objects owned.