15 PString strBashCompletion(
""), separator(
"");
17 for(PVecString::const_iterator it(vecPossibleValue.begin()); it != vecPossibleValue.end(); ++it){
18 strBashCompletion += separator + *it;
22 for(PVecString::const_iterator it(vecPossibleValue.begin()); it != vecPossibleValue.end(); ++it){
23 if(it->isSameBegining(baseValue)){
24 strBashCompletion += separator + *it;
29 return strBashCompletion;
std::vector< PString > PVecString
PString value_completion(const PString &baseValue, const PVecString &vecPossibleValue)
Complete the given value.