28 int main(
int argc,
char* argv[])
38 Teuchos::tuple<std::string>(
"GMRES",
"CG",
"TFQMR" )
45 ,
"The type of solver to use."
60 Teuchos::writeParameterListToXmlFile(My_List,
"custom_validator_test_list.xml");
63 Teuchos::writeParameterListToXmlOStream(My_List, std::cout);
A collection of standard ValidatorXMLConverters.
Standard implementation of a ParameterEntryValidator that maps from a list of strings to an enum or i...
ParameterList & set(std::string const &name, T &&value, std::string const &docString="", RCP< const ParameterEntryValidator > const &validator=null)
Templated set method.
Simple helper functions that make it easy to read and write XML to and from a parameterlist.
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Deprecated.
Templated Parameter List class.
A database for ValidatorXMLConverters.
std::string Teuchos_Version()
A list of parameters of arbitrary type.
int main(int argc, char *argv[])
Templated array class derived from the STL std::vector.
#define TEUCHOS_ADD_STRINGTOINTEGRALVALIDATOR_CONVERTER(INTEGRALTYPE)
Add StringToIntegralParameterEntryValidator<INTEGRAL_TYPE> to set of supported parameter types...
Smart reference counting pointer class for automatic garbage collection.