28 return (m_obj.get() < other.m_obj.get());
31 std::shared_ptr<object_base>
virtual std::string to_string() const =0
convert to string format for debug purposes
bool stale() const
Query if the object is stale.
void clear() const
Clear the stale flag on the object.
void mark() const
Mark the reference object as stale.
A represenation of a reference to a VPP object.
indicates the object is stale.
object_ref(std::shared_ptr< object_base > obj)
Constructor.
A base class for all object_base in the VPP object_base-Model.
std::ostream & operator<<(std::ostream &os, const std::pair< direction_t, interface::key_t > &key)
The VPP Object Model (VOM) library.
bool operator<(const object_ref &other) const
less than operator
std::shared_ptr< object_base > obj() const
Return the shared pointer.