50 for(
unsigned int i = 0; i < parameters_.size(); i++)
52 currentName = parameters_[i].getName();
54 parameters_[i].setName(prefix + currentName.substr(prefix_.size()));
56 parameters_[i].setName(prefix + currentName);
66 return name.substr(prefix_.size());
std::string getParameterNameWithoutNamespace(const std::string &name) const
Resolves a parameter name according to the current namespace.
This class allows to perform a correspondence analysis.
static bool startsWith(const std::string &s, const std::string &pattern)
Tell is a string begins with a certain motif.
void setNamespace(const std::string &prefix)
Set the namespace for the parameter names.