28 #include "Requirement.h"
43 virtual void Parse(Value,
const std::string&) {}
50 virtual void Validate(
const Value& json,
const std::string& path)
53 PushError(path +
": Must be a null value");
Requires value to be of type Null.
virtual void Validate(const Value &json, const std::string &path)
Validate that JSON value is null.
virtual void Reset()
Reset this Requirement.
virtual void Parse(Value, const std::string &)
Parse JSON value to set up this Requirement.
Requirements on input files.
void PushError(const std::string &error)
Add error to list of error messages.