36 #define STFINV_PARAMETERHANDLER_CC_VERSION \ 37 "STFINV_PARAMETERHANDLER_CC V1.1" 44 std::string::size_type i=s.find(delim);
46 if ((i>=0) && (i<s.length())) {
48 s.erase(0,i+delim.length());
59 const std::string& delimiter,
60 const std::string& assign)
62 std::string pstring=p;
64 while (pstring.length()>0)
68 retval.insert(make_pair(key, para));
77 std::replace(s.begin(), s.end(),
',',
' ');
78 std::replace(s.begin(), s.end(),
';',
' ');
89 std::string::size_type ib=s.find_first_not_of(
" ", 0);
90 if (ib==std::string::npos)
96 std::string::size_type il=s.find_last_not_of(
" \r", s.length());
97 std::string::size_type n=il>=ib ? il-ib+1 : 0;
99 if ((ib!=0) || (n!=s.length())) { s=s.substr(ib,n); }
handle a parameter configuration string (prototypes)