7 #ifndef __POPTIONVALUE_IMPL_H__
8 #define __POPTIONVALUE_IMPL_H__
20 vecValue.push_back(valueBinStr);
38 for(
typename std::list<T>::const_iterator it(value.begin()); it != value.end(); ++it){
50 checkTypeFromTemplate<T>();
53 std::runtime_error(
"OptionValue::getValue : several value but only one value in parameter");
60 std::runtime_error(
"OptionValue::getValue : several value but only one value in parameter");
71 checkTypeFromTemplate<T>();
74 vecValue.push_back(stringToValue<T>(*it));
78 vecValue.push_back(stringToValue<T>(*it));
89 checkTypeFromTemplate<T>();
92 vecValue.push_back(stringToValue<T>(*it));
96 vecValue.push_back(stringToValue<T>(*it));
108 std::stringstream strError;
110 throw std::runtime_error(strError.str());