ndn::nfd::CsInfoDataset Class Reference

Represents a cs/info dataset. More...

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

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

Public Types

using ParamType = int
 If defined, specifies constructor argument type; otherwise, the constructor has no arguments. More...
 
using ResultType = CsInfo
 

Public Member Functions

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

Detailed Description

Represents a cs/info dataset.

See also
https://redmine.named-data.net/projects/nfd/wiki/CsMgmt#CS-Information-Dataset

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

Constructor & Destructor Documentation

◆ CsInfoDataset()

ndn::nfd::CsInfoDataset::CsInfoDataset ( )

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

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

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