virtual void validateAndModify(std::string const ¶mName, std::string const &sublistName, ParameterEntry *entry) const
Validate and perhaps modify a parameter entry's value.
virtual ValidStringsList validStringValues() const =0
Return an array of strings of valid values if applicable.
Abstract interface for an object that can validate a ParameterEntry's value.
RCP< const Array< std::string > > ValidStringsList
ParameterEntryValidator()
Default Constructor.
virtual void validate(ParameterEntry const &entry, std::string const ¶mName, std::string const &sublistName) const =0
Validate a parameter entry value and throw std::exception (with a great error message) if validation ...
virtual void printDoc(std::string const &docString, std::ostream &out) const =0
Print documentation for this parameter.
virtual const std::string getXMLTypeName() const =0
Get a string that should be used as a value of the type attribute when serializing it to XML.
This object is held as the "value" in the Teuchos::ParameterList std::map.