WRENCH
1.10
Cyberinfrastructure Simulation Workbench
|
Overview | Installation | Getting Started | WRENCH 101 | WRENCH 102 |
File, Source, Whoami used to be hashed as key for unordered multimap for ongoing file operations. More...
#include <SimulationTimestampTypes.h>
Public Member Functions | |
SimulationTimestampType () | |
double | getDate () |
Retrieve the date recorded for this timestamp. More... | |
File, Source, Whoami used to be hashed as key for unordered multimap for ongoing file operations.
typedef std::tuple<WorkflowFile *, FileLocation *, StorageService *> File;
file | - tuple of three strings relating to File, Source and Whoami |
A top-level base class for simulation timestamps
wrench::SimulationTimestampType::SimulationTimestampType | ( | ) |
size_t file_hash( const File & file ) { return std::hash<void *>()(std::get<0>(file)) ^ std::hash<void *>()(std::get<1>(file)) ^ std::hash<void *>()(std::get<2>(file)); }
double wrench::SimulationTimestampType::getDate | ( | ) |
Retrieve the date recorded for this timestamp.