#include <ndn-cxx/mgmt/nfd/control-command.hpp>
Public Member Functions | |
FieldValidator () | |
FieldValidator & | optional (ControlParameterField field) |
declare an optional field More... | |
FieldValidator & | required (ControlParameterField field) |
declare a required field More... | |
void | validate (const ControlParameters ¶meters) const |
verify that all required fields are present, and all present fields are either required or optional More... | |
Definition at line 84 of file control-command.hpp.
ndn::nfd::ControlCommand::FieldValidator::FieldValidator | ( | ) |
Definition at line 69 of file control-command.cpp.
|
inline |
declare an optional field
Definition at line 101 of file control-command.hpp.
|
inline |
declare a required field
Definition at line 92 of file control-command.hpp.
void ndn::nfd::ControlCommand::FieldValidator::validate | ( | const ControlParameters & | parameters | ) | const |
verify that all required fields are present, and all present fields are either required or optional
ArgumentError |
Definition at line 76 of file control-command.cpp.