Function OS1::timestamp_mode_of_string

Function Documentation

inline timestamp_mode OS1::timestamp_mode_of_string(const std::string &s)

Get a timestamp_mode from a string

Parameters:

s[in] The string to convert to a timestamp_mode

Returns:

timestamp_mode corresponding to the string, or 0 on error