Project

General

Profile

Actions

Feature #3903

closed

EqualityComparable and FormattedOutputFunction for StatusDataset and other mgmt/nfd classes

Added by Junxiao Shi almost 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Category:
Management
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
4.50 h

Description

For TLV structs of NFD management protocol, including ChannelStatus FaceStatus FibEntry ForwarderStatus RibEntry StrategyChoice, implement EqualityComparable concept and FormattedOutputFunction:

bool operator==(const T& a, const T& b);
bool operator!=(const T& a, const T& b);
std::ostream& operator<<(std::ostream& os, const T&);

Then use these functions in NFD's RibManager FibManager StrategyChoiceManager test suites instead of NFD's own implementation.

Actions

Also available in: Atom PDF