ndn::nfd::FaceDatasetBase Class Reference

provides common functionality among FaceDataset and FaceQueryDataset More...

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

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

Public Types

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

Public Member Functions

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

Protected Member Functions

 FaceDatasetBase (const PartialName &datasetName)
 

Detailed Description

provides common functionality among FaceDataset and FaceQueryDataset

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

Member Typedef Documentation

◆ ParamType

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.

◆ ResultType

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

Constructor & Destructor Documentation

◆ FaceDatasetBase()

ndn::nfd::FaceDatasetBase::FaceDatasetBase ( const PartialName datasetName)
explicitprotected

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

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