10 #ifndef TEUCHOS_ParameterListModifier_hpp_
11 #define TEUCHOS_ParameterListModifier_hpp_
17 #include "Teuchos_Describable.hpp"
18 #include "Teuchos_ParameterEntryValidator.hpp"
24 #ifndef DOXYGEN_SHOULD_SKIP_THIS
61 inline const std::string& getName()
const{
80 std::string
const& docString,
98 const std::string &baseName,
const bool &findParameters =
true,
99 const bool &findSublists =
true)
const;
141 int expandParameters(
const std::string ¶mTemplateName,
ParameterList ¶mList,
158 int expandSublists(
const std::string &sublistTemplateName,
ParameterList ¶mList,
174 int setDefaultsInSublists(
const std::string ¶mName,
ParameterList ¶mList,
191 int expandSublistsUsingBaseName(
const std::string &baseName,
ParameterList ¶mList,
192 ParameterList &validParamList,
const bool &allowBaseName =
true)
const;
196 std::string name_ =
"ANONYMOUS";
207 &&
typeid(plm1) ==
typeid(plm2)
216 return !( plm1 == plm2 );
bool operator==(const ParameterListModifier &plm1, const ParameterListModifier &plm2)
Returns true if two ParameterListModifier objects are equal.
const std::string & getName() const
Get the name of *this modifier.
Abstract interface for an object that can modify both a parameter list and the parameter list being u...
ParameterListModifier & setName(const std::string &name)
Set the name of *this modifier.
virtual void modify(ParameterList ¶mList, ParameterList &validParamList) const
Modify a parameter list and/or the valid parameter list being used to validate it and throw std::exce...
A list of parameters of arbitrary type.
Provides std::map class for deficient platforms.
virtual void reconcile(ParameterList ¶mList) const
Reconcile a parameter list and/or the valid parameter list being used to validate it and throw std::e...
Base class for all objects that can describe themselves.
Reference-counted pointer class and non-member templated function implementations.
bool operator!=(const ParameterListModifier &plm1, const ParameterListModifier &plm2)
Returns true if two ParameterListModifier objects are not equal.