nfd::fw::StrategyParameters Class Reference

#include <daemon/fw/strategy.hpp>

+ Inheritance diagram for nfd::fw::StrategyParameters:
+ Collaboration diagram for nfd::fw::StrategyParameters:

Public Member Functions

template<typename T >
std::enable_if_t< std::is_signed_v< T >, T > getOrDefault (const key_type &key, const T &defaultVal) const
 
template<typename T >
std::enable_if_t< std::is_unsigned_v< T >, T > getOrDefault (const key_type &key, const T &defaultVal) const
 

Public Attributes

elements
 STL member. More...
 
keys
 STL member. More...
 

Detailed Description

Definition at line 482 of file strategy.hpp.

Member Function Documentation

◆ getOrDefault() [1/2]

template<typename T >
std::enable_if_t<std::is_signed_v<T>, T> nfd::fw::StrategyParameters::getOrDefault ( const key_type &  key,
const T &  defaultVal 
) const
inline

Definition at line 489 of file strategy.hpp.

◆ getOrDefault() [2/2]

template<typename T >
std::enable_if_t<std::is_unsigned_v<T>, T> nfd::fw::StrategyParameters::getOrDefault ( const key_type &  key,
const T &  defaultVal 
) const
inline

Definition at line 505 of file strategy.hpp.

Member Data Documentation

◆ elements

T std::map< K, T >::elements
inherited

STL member.

◆ keys

K std::map< K, T >::keys
inherited

STL member.