ndn::nfd::FaceDataset Class Reference

Represents a faces/list dataset. More...

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

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

Public Types

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

Public Member Functions

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

Detailed Description

Represents a faces/list dataset.

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

Definition at line 149 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

using ndn::nfd::FaceDatasetBase::ResultType = std::vector<FaceStatus>
inherited

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

Constructor & Destructor Documentation

◆ FaceDataset()

ndn::nfd::FaceDataset::FaceDataset ( )

Definition at line 102 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()

FaceDatasetBase::ResultType ndn::nfd::FaceDatasetBase::parseResult ( ConstBufferPtr  payload) const
inherited

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