NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
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 ResultType = std::vector< StrategyChoice >
 
- Public Types inherited from ndn::nfd::StatusDataset
using ParamType = int
 if defined, specifies constructor argument type; otherwise, constructor has no argument More...
 
using ResultType = std::vector< int >
 provides the result type, usually a vector More...
 

Public Member Functions

 StrategyChoiceDataset ()
 
ResultType parseResult (ConstBufferPtr payload) const
 
- Public Member Functions inherited from ndn::nfd::StatusDataset
virtual ~StatusDataset ()
 
Name getDatasetPrefix (const Name &prefix) const
 constructs a name prefix for the dataset More...
 
ResultType parseResult (ConstBufferPtr payload) const
 parses a result from reassembled payload More...
 

Additional Inherited Members

- Protected Member Functions inherited from ndn::nfd::StatusDataset
 StatusDataset (const PartialName &datasetName)
 constructs a StatusDataset instance with given sub-prefix More...
 

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

Member Typedef Documentation

◆ ResultType

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

Constructor & Destructor Documentation

◆ StrategyChoiceDataset()

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

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

Member Function Documentation

◆ parseResult()

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

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

References nonstd::optional_lite::std11::move().


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