51 const int local_num_options = 2;
58 const char* local_SOptions[local_num_options] = {
65 namespace NLPInterfacePack {
69 ,
const char opt_grp_name[] )
70 : OptionsFromStreamPack::SetOptionsFromStreamNode(
71 opt_grp_name, local_num_options, local_SOptions )
72 , OptionsFromStreamPack::SetOptionsToTargetBase<
79 namespace ofsp = OptionsFromStreamPack;
NLPTesterSetOptions(NLPTester *target=0, const char opt_grp_name[]="NLPTester")
bool StringToBool(const char *opt_name, const char *str)
Convert a string "true" or "false" into bool #true# or #false#.
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)
Testing class for base NLP interface.
void setOption(int option_num, const std::string &option_value)
Overridden from SetOptionsFromStreamNode.
#define TEUCHOS_TEST_FOR_EXCEPT(throw_exception_test)
const std::string & option_value(OptionsGroup::const_iterator &itr)