A class containing static convenience methods to fetch the subnets from the containers.
More...
#include <subnet.h>
|
| static ReturnPtrType | get (const CollectionType &collection, const SubnetID &subnet_id) |
| | Fetches subnets by id.
|
template<typename ReturnPtrType, typename CollectionType>
class isc::dhcp::SubnetFetcher< ReturnPtrType, CollectionType >
A class containing static convenience methods to fetch the subnets from the containers.
- Template Parameters
-
Definition at line 944 of file subnet.h.
◆ get()
template<typename ReturnPtrType, typename CollectionType>
Fetches subnets by id.
- Parameters
-
| collection | Const reference to the collection from which the subnet is to be fetched. |
| subnet_id | Id of the subnet to be fetched. |
- Returns
- Pointer to the fetched subnet or null if no such subnet could be found.
Definition at line 954 of file subnet.h.
The documentation for this class was generated from the following file: