OpenMPCD
|
Provides functions that give information about the host the program is being executed on. More...
Functions | |
const std::string | getHostname () |
Returns the hostname of the machine this program is being executed on. More... | |
const std::string | getCurrentUTCTimeAsString () |
Returns the current time in UTC as a string, formatted as YYYY-MM-DDTHH:MM:SS . More... | |
Provides functions that give information about the host the program is being executed on.
const std::string OpenMPCD::Utility::HostInformation::getCurrentUTCTimeAsString | ( | ) |
Returns the current time in UTC as a string, formatted as YYYY-MM-DDTHH:MM:SS
.
std::gmtime
, so its interal std::tm
object may be changed. Furthermore, this implies that this function might not be thread-safe. Definition at line 21 of file HostInformation.cpp.
const std::string OpenMPCD::Utility::HostInformation::getHostname | ( | ) |
Returns the hostname of the machine this program is being executed on.
Definition at line 16 of file HostInformation.cpp.