55   out << 
"\nA:\n"; A.
print(out);
 
   56   writeParameterListToXmlFile(A, 
"A.xml");
 
   59   updateParametersFromXmlFile(
"A.xml", inoutArg(B));
 
   60   out << 
"\nB:\n"; B.
print(out);
 
   65     getParameter<std::string>(B.
sublist(
"SublistA", 
true), 
"param_a"),
 
   68     getParameter<std::string>(B.
sublist(
"SublistA", 
true).
sublist(
"SublistB", 
true), 
"param_b"),
 
   76   A.
set(
"conflicting param",
"a");
 
   79   out << 
"\nA:\n"; A.
print(out);
 
   80   std::stringstream Astream;  
 
   81   writeParameterListToXmlOStream(A,Astream);
 
   85   B.
set(
"conflicting param",
"b");
 
   86   updateParametersFromXmlString(Astream.str(), inoutArg(B),
true);
 
   87   out << 
"\nB:\n"; B.
print(out);
 
   95   C.
set(
"conflicting param",
"c");
 
   96   updateParametersFromXmlString(Astream.str(), inoutArg(B),
false);
 
   97   out << 
"\nC:\n"; C.
print(out);
 
void print() const 
Print function to use in debugging in a debugger. 
#define TEST_ASSERT(v1)
Assert the given statement is true. 
T & get(const std::string &name, T def_value)
Return the parameter's value, or the default value if it is not there. 
ParameterList & set(std::string const &name, T const &value, std::string const &docString="", RCP< const ParameterEntryValidator > const &validator=null)
Set a parameter whose value has type T. 
#define TEST_EQUALITY(v1, v2)
Assert the equality of v1 and v2. 
Simple helper functions that make it easy to read and write XML to and from a parameterlist. 
TEUCHOS_UNIT_TEST(ConstNonconstObjectContainer, create)
A list of parameters of arbitrary type. 
ParameterList & sublist(const std::string &name, bool mustAlreadyExist=false, const std::string &docString="")
Creates an empty sublist and returns a reference to the sublist name. If the list already exists...