ndn::nfd::StrategyChoiceDataset Class Reference

represents a strategy-choice/list dataset More...

#include <status-dataset.hpp>

+ Inheritance diagram for ndn::nfd::StrategyChoiceDataset:
+ Collaboration diagram for ndn::nfd::StrategyChoiceDataset:

Public Types

using ParamType = int
 if defined, specifies constructor argument type; otherwise, constructor has no argument More...
 
using ResultType = std::vector< StrategyChoice >
 

Public Member Functions

 StrategyChoiceDataset ()
 
Name getDatasetPrefix (const Name &prefix) const
 constructs a name prefix for the dataset More...
 
ResultType parseResult (ConstBufferPtr payload) const
 

Detailed Description

represents a strategy-choice/list dataset

See also
https://redmine.named-data.net/projects/nfd/wiki/StrategyChoice#Strategy-Choice-Dataset

Definition at line 233 of file status-dataset.hpp.

Member Typedef Documentation

using ndn::nfd::StatusDataset::ParamType = int
inherited

if defined, specifies constructor argument type; otherwise, constructor has no argument

Definition at line 54 of file status-dataset.hpp.

Definition at line 238 of file status-dataset.hpp.

Constructor & Destructor Documentation

ndn::nfd::StrategyChoiceDataset::StrategyChoiceDataset ( )

Definition at line 152 of file status-dataset.cpp.

Member Function Documentation

Name ndn::nfd::StatusDataset::getDatasetPrefix ( const Name prefix) const
inherited

constructs a name prefix for the dataset

Parameters
prefixtop-level prefix, such as ndn:/localhost/nfd
Returns
name prefix without version and segment components

Definition at line 36 of file status-dataset.cpp.

StrategyChoiceDataset::ResultType ndn::nfd::StrategyChoiceDataset::parseResult ( ConstBufferPtr  payload) const

Definition at line 158 of file status-dataset.cpp.