nfd::strategy_choice::StrategyChoice::InsertResult Class Reference

#include <daemon/table/strategy-choice.hpp>

Public Member Functions

int getStatusCode () const
 Get a status code for use in management command response. More...
 
bool isRegistered () const
 
 operator bool () const
 

Friends

std::ostream & operator<< (std::ostream &, const InsertResult &)
 
class StrategyChoice
 

Detailed Description

Definition at line 71 of file strategy-choice.hpp.

Member Function Documentation

◆ getStatusCode()

int nfd::strategy_choice::StrategyChoice::InsertResult::getStatusCode ( ) const
inline

Get a status code for use in management command response.

Definition at line 89 of file strategy-choice.hpp.

◆ isRegistered()

bool nfd::strategy_choice::StrategyChoice::InsertResult::isRegistered ( ) const
inline

Definition at line 81 of file strategy-choice.hpp.

◆ operator bool()

nfd::strategy_choice::StrategyChoice::InsertResult::operator bool ( ) const
inlineexplicit

Definition at line 75 of file strategy-choice.hpp.

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  ,
const InsertResult  
)
friend

Definition at line 124 of file strategy-choice.cpp.

◆ StrategyChoice

friend class StrategyChoice
friend

Definition at line 109 of file strategy-choice.hpp.