ndn::nfd::FaceQueryDataset Class Reference

Represents a faces/query dataset. More...

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

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

Public Types

using ParamType = FaceQueryFilter
 
using ResultType = std::vector< FaceStatus >
 

Public Member Functions

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

Detailed Description

Represents a faces/query dataset.

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

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

Member Typedef Documentation

◆ ParamType

◆ ResultType

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

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

Constructor & Destructor Documentation

◆ FaceQueryDataset()

ndn::nfd::FaceQueryDataset::FaceQueryDataset ( const FaceQueryFilter filter)
explicit

Definition at line 107 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.