27 std::unique_ptr<Validator> &&valid)
29 wxASSERT_MSG(valid->Validate(dft),
30 wxT(
"Invalid command signature: the default value of '")
34 +
wxT(
"' parameter doesn't satisfy the provided validator.")
35 +
wxT(
" It should be ")
36 + valid->GetDescription()
std::map< wxString, wxVariant > ParamValueMap
Declaration of CommandSignature class.
void AddParameter(const wxString &name, const wxVariant &dft, std::unique_ptr< Validator > &&valid)
ParamValueMap GetDefaults() const
Validator & GetValidator(const wxString ¶mName)
A Validator is an object which checks whether a wxVariant satisfies a certain criterion....