HDF5File class.
More...
#include <radarlib/odimh5v21_format.hpp>
|
static std::string | timeToYYYYMMDD (time_t value) |
| Convert a time_t value to string. More...
|
|
static std::string | timeToYYYYMMDD (double value) |
| Convert a double value representing a time to string. More...
|
|
static std::string | timeToHHMMSS (time_t value) |
| Convert a time to a string. More...
|
|
static std::string | timeToHHMMSSsss (time_t value) |
| Convert a time to a string. More...
|
|
static std::string | timeToHHMMSSsss (double value) |
| Convert a time to a string. More...
|
|
static time_t | YYYYMMDDToTime (const std::string &value) throw (OdimH5FormatException) |
| Convert a string to a time_t value. More...
|
|
static time_t | HHMMSSToTime (const std::string &value) throw (OdimH5FormatException) |
| Convert a string to a time_t value. More...
|
|
static double | HHMMSSsssToTime (const std::string &value) throw (OdimH5FormatException) |
| Convert a string to a time_t value. More...
|
|
HDF5File class.
This is an provides several functions to format values according to OdimH5 specifications
static std::string OdimH5v21::Format::timeToYYYYMMDD |
( |
time_t |
value | ) |
|
|
static |
Convert a time_t value to string.
Convert a time_t to a string formatted like 'YYYYMMDD'
- Parameters
-
- Exceptions
-
static std::string OdimH5v21::Format::timeToYYYYMMDD |
( |
double |
value | ) |
|
|
static |
Convert a double value representing a time to string.
Convert a double value representing a time to a string formatted like 'YYYY-MM-DD'. This function truncate the time to seconds
- Parameters
-
- Exceptions
-
static std::string OdimH5v21::Format::timeToHHMMSS |
( |
time_t |
value | ) |
|
|
static |
Convert a time to a string.
Convert a time to a string formatted like 'HHMMSS'.
- Parameters
-
- Exceptions
-
static std::string OdimH5v21::Format::timeToHHMMSSsss |
( |
time_t |
value | ) |
|
|
static |
Convert a time to a string.
Convert a time to a string formatted like 'HHMMSS.000'.
- Parameters
-
- Exceptions
-
static std::string OdimH5v21::Format::timeToHHMMSSsss |
( |
double |
value | ) |
|
|
static |
Convert a time to a string.
Convert a time to a string formatted like 'HHMMSS.sss'.
- Parameters
-
- Exceptions
-
static time_t OdimH5v21::Format::YYYYMMDDToTime |
( |
const std::string & |
value | ) |
|
throw | ( | OdimH5FormatException |
| ) | | |
|
static |
Convert a string to a time_t value.
Convert a string formatted like 'YYYYMMDD' to a time_t value.
- Parameters
-
value | the string to convert |
- Exceptions
-
static time_t OdimH5v21::Format::HHMMSSToTime |
( |
const std::string & |
value | ) |
|
throw | ( | OdimH5FormatException |
| ) | | |
|
static |
Convert a string to a time_t value.
Convert a string formatted like 'HHMMSS' to a time_t value.
- Parameters
-
value | the string to convert |
- Exceptions
-
static double OdimH5v21::Format::HHMMSSsssToTime |
( |
const std::string & |
value | ) |
|
throw | ( | OdimH5FormatException |
| ) | | |
|
static |
Convert a string to a time_t value.
Convert a string formatted like 'HHMMSS.sss' to a double value representing a time value.
- Parameters
-
value | the string to convert |
- Exceptions
-
The documentation for this class was generated from the following file: