![]() |
Kea 3.0.0
|
A class containing static convenience methods to fetch the subnets from the containers. More...
#include <subnet.h>
Static Public Member Functions | |
| static ReturnPtrType | get (const CollectionType &collection, const SubnetID &subnet_id) |
| Fetches subnets by id. | |
A class containing static convenience methods to fetch the subnets from the containers.
| ReturnPtrType | Type of the returned object, i.e. Subnet4Ptr or Subnet6Ptr. |
| CollectionType | One of the Subnet4SimpleCollection, Subnet4Collection, Subnet6SimpleCollection or Subnet6Collection. |
|
inlinestatic |
Fetches subnets by id.
| collection | Const reference to the collection from which the subnet is to be fetched. |
| subnet_id | Id of the subnet to be fetched. |
Definition at line 957 of file subnet.h.
Referenced by isc::dhcp::SubnetFetcher< Subnet4Ptr, Subnet4Collection >::get().