xorp

RouteEntryRef< A > Class Template Reference

RouteEntry reference class. More...

#include <route_entry.hh>

List of all members.

Public Member Functions

 RouteEntryRef (RouteEntry< A > *r)
 RouteEntryRef (const RouteEntryRef &o)
RouteEntryRefoperator= (const RouteEntryRef &o)
RouteEntry< A > * get () const
RouteEntry< A > * operator-> () const
bool operator== (const RouteEntryRef &o) const

Protected Member Functions

void release ()

Private Attributes

RouteEntry< A > * _rt

Detailed Description

template<typename A>
class RouteEntryRef< A >

RouteEntry reference class.

A reference pointer that manipulates a counter embedded within RouteEntry objects and deletes them when the counter goes to zero. Having the counter embedded in the object makes it easier to reference count than using ref_ptr.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations