intermediate commit 5
This commit is contained in:
parent
8c6610ec67
commit
816ea1553a
11 changed files with 377 additions and 157 deletions
|
|
@ -73,16 +73,18 @@ eoMonitor& eoFileMonitor::operator()(void)
|
|||
|
||||
eoMonitor& eoFileMonitor::operator()(std::ostream& os)
|
||||
{
|
||||
|
||||
iterator it = vec.begin();
|
||||
|
||||
os << (*it)->getValue();
|
||||
|
||||
for(++it; it != vec.end(); ++it)
|
||||
if (vec.size() > 0)
|
||||
{
|
||||
os << delim.c_str() << (*it)->getValue();
|
||||
iterator it = vec.begin();
|
||||
|
||||
os << (*it)->getValue();
|
||||
|
||||
for(++it; it != vec.end(); ++it)
|
||||
{
|
||||
os << delim.c_str() << (*it)->getValue();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
os << std::endl;
|
||||
|
||||
return *this;
|
||||
|
|
|
|||
|
|
@ -78,3 +78,4 @@ protected :
|
|||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -224,7 +224,9 @@ public :
|
|||
void setValue(const std::string& _value)
|
||||
{
|
||||
std::istringstream is(_value);
|
||||
is >> repValue;
|
||||
bool read = (is >> repValue);
|
||||
if (!read)
|
||||
throw std::runtime_error("Could not read value passed in eoValueParam::setValue");
|
||||
}
|
||||
|
||||
protected:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue