100 "String Validator Dependency",
false,
101 "String Validator Dependency testing list.");
103 "Food Selector",
"Swiss",
"select the food you want",
cheeseValidator);
107 "String Validator Dependency Tester",
145 "String Validator Dependency (other validators)",
147 "String validator testing"
173 "RangeValue", 3,
"the value of the range",
range110Vali);
209 "Bool Validator Dependency List",
211 "Bool Validator Dependency testing list."
215 true,
"truns the validator on and off");
221 4,
"does it have a validator?",
basicVali);
270 "Munster",
"Provalone",
"Kurtis Super Awesome Cheese"),
279 "Other cheese",
"other cheese 1",
"other cheese 3"),
286 "Range Validator Dependency List",
288 "Range Validator Dependency testing list.\nWorking June 27th 2009"
291 "Temperature",101.0,
"The temperature of the fondue");
293 "Cheese to Fondue",
"Swiss",
350 "NumberVisual Dependency List (double)",
352 "Number visual Dependency testing list"
393 "NumberVisual Dependency List (double)",
395 "Number visual Dependency testing list"
399 "Temperature",101.0,
"The temperature of the fondue");
401 "Cheese to Fondue",
"Swiss",
"The cheese to fondue");
441 "Bool Visual Dependency List",
443 "Bool Visual Dependency testing list."
446 "ShowPrecs",
true,
"Whether or not to should the Preciondtioner list");
449 "Preconditioner",
false,
"Sublist that defines the preconditioner.");
450 Prec_List0.set(
"Type",
"ILU",
"The tpye of preconditioner to use");
454 "Drop Tolerance", 1
e-3,
455 "The tolerance below which entries from the "
479 "String Visual Dependency List",
481 "String Visual Dependency testing list."
517 "Multi String Visual Dependency List",
529 "Favorite Cheese",
"American",
554 "Number Visual Dependency List",
556 "Number Visual Dependency testing list."
582 My_deplist,
"Condition Visual Dependency List",
false);
585 conVisDepList->set(
"string param",
"blah",
"a string parameter");
615 "2D Row Depdency List",
false,
616 "2D Row Dependecy testing list.");
660 "2D Col Depdency List",
false,
661 "2D Col Dependecy testing list.");
706 "Number Array Length Dependency List",
false,
707 "Number Array Length Dependecy testing list.");
735 out <<
curArray.length() << std::endl;
749 list1->set(
"int parameter", 4,
"int parameter");
750 list1->set(
"double parameter", 6.0,
"double parameter");
751 list1->set(
"string parameter",
"hahahaha",
"string parameter");
754 list1->set(
"bool parameter",
true,
"bool parameter");
761 list1->getEntryRCP(
"bool parameter"),
762 list1->getEntryRCP(
"double parameter"),
773 list1->getEntryRCP(
"double parameter"),
774 list1->getEntryRCP(
"int parameter"),
783 list1->getEntryRCP(
"int parameter"),
784 list1->getEntryRCP(
"double parameter"),
false)),
792 list1->getEntryRCP(
"double parameter"),
793 list1->getEntryRCP(
"array parameter"))),
798 list1->getEntryRCP(
"int parameter"),
799 list1->getEntryRCP(
"double parameter"))),
831 "string 2 parameter",
"Swiss",
840 list1->getEntryRCP(
"int parameter"),
841 list1->getEntryRCP(
"string 2 parameter"),
850 list1->getEntryRCP(
"string parameter"),
851 list1->getEntryRCP(
"string 2 parameter"),
859 list1->getEntryRCP(
"string parameter"),
860 list1->getEntryRCP(
"string 2 parameter"),
876 list1->getEntryRCP(
"int parameter"),
877 list1->getEntryRCP(
"double parameter"),
885 list1->getEntryRCP(
"bool parameter"),
886 list1->getEntryRCP(
"double parameter"),
894 list1->getEntryRCP(
"bool parameter"),
895 list1->getEntryRCP(
"double parameter"),
903 list1->set(
"Cheese to Fondue",
"Swiss",
"the cheese to fondue");
915 "Kurtis Super Awesome Cheese"),
921 "Cheese to Fondue",
"Swiss",
"the cheese to fondue",
931 list1->getEntryRCP(
"string parameter"),
932 list1->getEntryRCP(
"Cheese to Fondue"),
944 list1->getEntryRCP(
"int parameter"),
945 list1->getEntryRCP(
"Cheese to Fondue"),
957 list1->getEntryRCP(
"double parameter"),
958 list1->getEntryRCP(
"Cheese to Fondue"),
971 list1->getEntryRCP(
"string parameter"),
972 list1->getEntryRCP(
"Cheese to Fondue"),
1006 DependencySheet::DepSet::iterator
it =
depSheet1->depBegin();
DataStructure keeping track of dependencies.
#define TEST_ASSERT(v1)
Assert the given statement is true.
#define TEST_EQUALITY_CONST(v1, v2)
Assert the equality of v1 and constant v2.
#define TEST_NOTHROW(code)
Asserr that the statement 'code' does not thrown any excpetions.
#define TEST_THROW(code, ExceptType)
Assert that the statement 'code' throws the exception 'ExceptType' (otherwise the test fails).
Templated Parameter List class.
Standard Conditions to be used.
A collection of standard dependencies.
#define TEUCHOS_UNIT_TEST(TEST_GROUP, TEST_NAME)
Macro for defining a (non-templated) unit test.
A Bool Logic Condition that returns the result or perfroming a logical AND on the conditions.
Replacement for std::vector that is compatible with the Teuchos Memory Management classes.
A Bool Condition is a Parameter Condition that evaluates whether or not a Boolean parameter is ture.
A BoolValidatorDependency says the following about the relationship between two parameters: Dependeni...
A bool visual dependency says the following about the relationship between two elements in a Paramete...
int size(const Comm< Ordinal > &comm)
Get the number of processes in the communicator.
A condition visual dependency says the following about the relationship between elements in a Paramet...
A Dependency sheet keeps track of dependencies between various ParameterEntries.
static RCP< T > getDummyObject()
Retrieves a dummy object of type T.
A list of parameters of arbitrary type.
Smart reference counting pointer class for automatic garbage collection.
std::map< Range, RCP< const ParameterEntryValidator > > RangeToValidatorMap
Convenience typedef.
Concrete serial communicator subclass.
A StringValidatorDependency says the following about the relationship between two parameters: Depende...
std::map< std::string, RCP< const ParameterEntryValidator > > ValueToValidatorMap
Conveniece typedef.
A string visual depdencies says the following about the relationship between two elements in a Parame...
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Deprecated.