15 std::cout <<
"WARNING in MINT::NamedParameter<std::string>::operator-=:" 16 <<
"\n\t OPERATOR \"-=\" undefined for strings" 17 <<
"\n\t you tried: " << (std::string)(*
this)
26 std::cout <<
"WARNING in MINT::NamedParameter<std::string>::operator-=:" 27 <<
"\n\t OPERATOR \"*=\" undefined for strings" 28 <<
"\n\t you tried: " << (std::string)(*
this)
37 std::cout <<
"WARNING in MINT::NamedParameter<std::string>::operator-=:" 38 <<
"\n\t OPERATOR \"/=\" undefined for strings" 39 <<
"\n\t you tried: " << (std::string)(*
this)
49 if(vsl.size() < 2)
return false;
51 std::cout <<
"ERROR IN NamedParameter<string>::setFromParsedLine" 52 <<
" wrong parameter name. My name is " << _name
53 <<
" the line's first element is " << vsl[0]
57 for(
unsigned int i=1; i< vsl.size(); i++){
65 os <<
"\"" << name() <<
"\" ";
69 for(
int i=0; i< size(); i++){
70 os <<
"\"" << getVal(i) <<
"\" ";
71 if(i != size()) os <<
" ";
const std::vector< std::string > & parsedStrings() const
virtual void print(std::ostream &os=std::cout) const
virtual bool setFromParsedLine(const ParsedParameterLine &line)
NamedParameter< T > & operator-=(const T &rhs)
NamedParameter< T > & operator/=(const T &rhs)
NamedParameter< T > & operator *=(const T &rhs)