Kea 2.7.6
isc::dhcp::SharedNetworkFetcher< ReturnPtrType, CollectionType > Class Template Reference

A class containing static convenience methods to fetch the shared networks from the containers. More...

#include <shared_network.h>

Static Public Member Functions

static ReturnPtrType get (const CollectionType &collection, const std::string &name)
 Fetches shared network by name.
 

Detailed Description

template<typename ReturnPtrType, typename CollectionType>
class isc::dhcp::SharedNetworkFetcher< ReturnPtrType, CollectionType >

A class containing static convenience methods to fetch the shared networks from the containers.

Template Parameters
ReturnPtrTypeType of the returned object, i.e. SharedNetwork4Ptr or SharedNetwork6Ptr.
CollectionTypeOne of the SharedNetwork4Collection or SharedNetwork6Collection.

Definition at line 472 of file shared_network.h.

Member Function Documentation

◆ get()

template<typename ReturnPtrType , typename CollectionType >
static ReturnPtrType isc::dhcp::SharedNetworkFetcher< ReturnPtrType, CollectionType >::get ( const CollectionType & collection,
const std::string & name )
inlinestatic

Fetches shared network by name.

Parameters
collectionConst reference to the collection from which the shared network is to be fetched.
nameName of the shared network to be fetched.
Returns
Pointer to the fetched shared network or null if no such shared network could be found.

Definition at line 482 of file shared_network.h.

References isc::dhcp::SharedNetworkFetcher< ReturnPtrType, CollectionType >::get().

Referenced by isc::dhcp::SharedNetworkFetcher< ReturnPtrType, CollectionType >::get().

+ Here is the call graph for this function:

The documentation for this class was generated from the following file: