42 #ifndef TEUCHOS_ParameterListModifier_hpp_
43 #define TEUCHOS_ParameterListModifier_hpp_
49 #include "Teuchos_Describable.hpp"
50 #include "Teuchos_ParameterEntryValidator.hpp"
56 #ifndef DOXYGEN_SHOULD_SKIP_THIS
93 inline const std::string& getName()
const{
112 std::string
const& docString,
130 const std::string &baseName,
const bool &findParameters =
true,
131 const bool &findSublists =
true)
const;
173 int expandParameters(
const std::string ¶mTemplateName,
ParameterList ¶mList,
190 int expandSublists(
const std::string &sublistTemplateName,
ParameterList ¶mList,
206 int setDefaultsInSublists(
const std::string ¶mName,
ParameterList ¶mList,
223 int expandSublistsUsingBaseName(
const std::string &baseName,
ParameterList ¶mList,
224 ParameterList &validParamList,
const bool &allowBaseName =
true)
const;
228 std::string name_ =
"ANONYMOUS";
239 &&
typeid(plm1) ==
typeid(plm2)
248 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.