ndn::nfd::StrategyChoiceDataset Class Reference

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

#include <ndn-cxx/mgmt/nfd/status-dataset.hpp>

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

Public Member Functions

 StrategyChoiceDataset ()
 
Name getDatasetPrefix (const Name &prefix) const
 Constructs a name prefix for the dataset. More...
 
std::vector< StrategyChoiceparseResult (ConstBufferPtr payload) const
 

Protected Attributes

PartialName m_datasetName
 

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 188 of file status-dataset.hpp.

Constructor & Destructor Documentation

◆ StrategyChoiceDataset()

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

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

Member Function Documentation

◆ getDatasetPrefix()

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

Constructs a name prefix for the dataset.

Parameters
prefixTop-level prefix, such as /localhost/nfd.
Returns
Name prefix without version and segment components.

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

◆ parseResult()

std::vector< StrategyChoice > ndn::nfd::StrategyChoiceDataset::parseResult ( ConstBufferPtr  payload) const

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

Member Data Documentation

◆ m_datasetName

PartialName ndn::nfd::StatusDatasetBase::m_datasetName
protectedinherited

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