15 #define SUPPRESS_NOT_USED_WARN __attribute__ ((unused))
17 #define SUPPRESS_NOT_USED_WARN
38 const std::string
PATH_DATA_TEST=
"/home/michael/workspace_kepler/ROOT_application/data_test";
71 std::ostringstream stream;
80 std::istringstream stream (s);
99 void splitline(
const std::string& str,
const std::string& delimiters , std::vector<std::string>& tokens);
134 std::string
Time_tToString (
const time_t& time,
const bool b_hour=
false );
143 void GetDateYMD( time_t time_unix,
int& year,
int& month,
int& day );
const std::string PATH_DATA_TEST
Important variable to adjust before compilation, should be in a configuration.
double fromStreamToDouble(std::iostream &stream, char delim)
Read the next character of a stream as a double.
void SetPathData(std::string new_path)
forced to use this function now.
T fromString(const std::string &s)
Transform string to any type : float, double, int.
time_t GetTime_tToday()
Get the time_t of today.
const time_t ERROR_StrToTime
Error code returned by StringToTime_t if the string cannot be parsed correctly Must be a time_t...
std::string toString(const T &t)
std::string Time_tToString(const time_t &time, const bool b_hour)
Return a string representing the date All times are expressed in the localtime.
void GetDateYMD(time_t time_unix, int &year, int &month, int &day)
Set year, month and day given an input time.
time_t StringToTime_t(const std::string &str_date)
Return the time_t from a string .
std::string GetPathData()
static SUPPRESS_NOT_USED_WARN firstlast_dates get_fldate_default()
need to be static for using default argument in a function
void splitline(const std::string &str, const std::string &delimiters, std::vector< std::string > &tokens)
splitline
general structure for dates in csv files
#define SUPPRESS_NOT_USED_WARN