47 #ifndef PACKAGES_MUELU_SRC_INTERFACE_FACADECLASSES_MUELU_FACADECLASSBASE_DECL_HPP_
48 #define PACKAGES_MUELU_SRC_INTERFACE_FACADECLASSES_MUELU_FACADECLASSBASE_DECL_HPP_
54 template <
class Scalar =
double,
class LocalOrdinal =
int,
class GlobalOrdinal = LocalOrdinal,
class Node = KokkosClassic::DefaultNode::DefaultNodeType>
57 #undef MUELU_FACADECLASSBASE_SHORT
82 std::string
ReplaceString(std::string& subject,
const std::string& search,
const std::string& replace) {
84 while ((pos = subject.find(search, pos)) != std::string::npos) {
85 subject.replace(pos, search.length(), replace);
86 pos += replace.length();
95 #define MUELU_FACADECLASSBASE_SHORT
std::string ReplaceString(std::string &subject, const std::string &search, const std::string &replace)
Replace all occurrences of search string "search" by the string in "replace" given the string "subjec...
virtual ~FacadeClassBase()
Destructor.
virtual Teuchos::RCP< Teuchos::ParameterList > SetParameterList(const Teuchos::ParameterList ¶mList)=0
Set parameter list for FacadeClass (abstract member).
Base class for MueLu classes.
FacadeClassBase()
Constructor.