1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
| std::map<std::string,std::string>::iterator itProbes;
//VEprobeslist.begin();
int verif=VEprobeslist.size();
itProbes = VEprobeslist.find(strprobename);
if(itProbes != VEprobeslist.end())
return VWRCI_ERROR_INVALID_PARAMETERS;
itProbes = VPprobeslist.find(strprobename);
if(itProbes != VPprobeslist.end())
return VWRCI_ERROR_INVALID_PARAMETERS;
if(strprobename.substr(0,2)=="VE")
VEprobeslist[strprobename]=strprobename;
else if (strprobename.substr(0,2)=="VP")
VPprobeslist[strprobename]=strprobename;
return VWRCI_RET_OK; |
Partager