xorp

SubnetRouteRef< A > Class Template Reference

a class to hold a reference to a SubnetRoute More...

#include <subnet_route.hh>

List of all members.

Public Member Functions

 SubnetRouteRef (SubnetRoute< A > *route)
 SubnetRouteRef (const SubnetRouteRef< A > &ref)
SubnetRoute< A > * route () const

Private Attributes

SubnetRoute< A > * _route

Detailed Description

template<class A>
class SubnetRouteRef< A >

a class to hold a reference to a SubnetRoute

SubnetRouteRef holds a reference to a SubnetRoute. When it is deleted or goes out of scope, the SubnetRoute's reference count will be decreased, and the SubnetRoute may be deleted if the reference count reaches zero.


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