41 #ifndef __OPENFLUID_TOOLS_PROGRESSIVECHRONFILEREADER_HPP__
42 #define __OPENFLUID_TOOLS_PROGRESSIVECHRONFILEREADER_HPP__
54 template<
class DataType>
59 std::string m_DateFormat;
65 const std::string& DateFormat =
"%Y-%m-%dT%H:%M:%S",
66 const std::string& ColSeparators =
" \t\r\n") :
88 std::vector<std::string> Values;
92 while (getNextLine(Values))
94 if (Values.size() == 2)
106 "wrong data in " + m_FileName);
123 std::vector<std::string> Values;
126 while (getNextLine(Values))
128 if (Values.size() >= 2)
133 Value.second.clear();
134 for (std::size_t i=1;i<Values.size();i++)
136 Value.second.push_back(Values[i]);
143 "wrong data in " + m_FileName);
Definition: FrameworkException.hpp:51
Class for management of date and time information.
Definition: DateTime.hpp:88
bool setFromString(const std::string &DateTimeStr, const std::string &FormatStr)
#define OPENFLUID_API
Definition: dllexport.hpp:86
Definition: ApplicationException.hpp:47