ndn::nfd::FibDataset Class Reference

Represents a fib/list dataset. More...

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

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

Public Types

using ParamType = int
 If defined, specifies constructor argument type; otherwise, the constructor has no arguments. More...
 
using ResultType = std::vector< FibEntry >
 

Public Member Functions

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

Detailed Description

Represents a fib/list dataset.

See also
https://redmine.named-data.net/projects/nfd/wiki/FibMgmt#FIB-Dataset

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

Member Typedef Documentation

◆ ParamType

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

If defined, specifies constructor argument type; otherwise, the constructor has no arguments.

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

◆ ResultType

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

Constructor & Destructor Documentation

◆ FibDataset()

ndn::nfd::FibDataset::FibDataset ( )

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

Member Function Documentation

◆ getDatasetPrefix()

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.

◆ parseResult()

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

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