29  out << 
"#  Modifier Used: " << name_ << std::endl;
 
 
   39    const std::string &name = 
pl.name(
itr);
 
   42      if (
pl.isSublist(name)){
 
 
  116          "Sublist can't have the same name as the parameter template name " 
  117          "without `allow_base_name=true`.");
 
 
Parameter List Modifier class.
 
Templated Parameter List class.
 
A std::string utilities class for Teuchos.
 
This object is held as the "value" in the Teuchos::ParameterList std::map.
 
int expandSublistsUsingBaseName(const std::string &baseName, ParameterList ¶mList, ParameterList &validParamList, const bool &allowBaseName=true) const
Create sublists in the valid parameter list using a base name and the corresponding sublists in the p...
 
int expandParameters(const std::string ¶mTemplateName, ParameterList ¶mList, ParameterList &validParamList, const Array< std::string > &excludeParameters=Array< std::string >()) const
Create parameters in the valid parameter list using a template parameter from the valid parameter lis...
 
virtual ~ParameterListModifier()
Destructor.
 
ParameterListModifier()=default
Constructor.
 
void printDoc(std::string const &docString, std::ostream &out) const
Print documentation for this parameter list modifier.
 
int setDefaultsInSublists(const std::string ¶mName, ParameterList ¶mList, const Array< std::string > &sublistNames, const bool removeParam=true) const
Copy a parameter into desired sublists.
 
Array< std::string > findMatchingBaseNames(const ParameterList ¶mList, const std::string &baseName, const bool &findParameters=true, const bool &findSublists=true) const
Find the parameters and/or sublists with matching base names.
 
int expandSublists(const std::string &sublistTemplateName, ParameterList ¶mList, ParameterList &validParamList, const Array< std::string > &excludeSublists=Array< std::string >()) const
Create sublists in the valid parameter list using a template parameter from the valid parameter list ...
 
A list of parameters of arbitrary type.
 
ParameterList & setEntry(const std::string &name, U &&entry)
Set a parameter directly as a ParameterEntry.
 
params_t::ConstIterator ConstIterator
Parameter container const iterator typedef.
 
bool isParameter(const std::string &name) const
Whether the given parameter exists in this list.
 
Smart reference counting pointer class for automatic garbage collection.
 
T * get() const
Get the raw C++ pointer to the underlying object.
 
static std::ostream & printLines(std::ostream &os, const std::string &linePrefix, const std::string &lines)
Print lines with prefix first.
 
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)
Macro for throwing an exception with breakpointing to ease debugging.
 
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...