Definition at line 41 of file PropertySet.h. References Add(), and Clear(). Referenced by PropertySet(), and Impala::Core::Training::ParameterSearcher::SearchClient(). 00042 { 00043 Clear(); 00044 std::istringstream iss(definition); 00045 // parse defintion string to initialise params 00046 while(!iss.eof()) 00047 { 00048 String pair; 00049 iss >> pair; 00050 if (pair.length() > 0) 00051 { 00052 String::size_type pos = pair.find('='); 00053 if(pos == String::npos) 00054 break; 00055 String name; 00056 String value; 00057 name = pair.substr(0,pos); 00058 value = pair.substr(pos+1); 00059 Add(name, value); 00060 } 00061 } 00062 00063 }
Here is the call graph for this function: ![]()
|