7 #include "fwMedDataTools/functions.hpp" 12 #include <gdcmUIDGenerator.h> 14 #include <boost/date_time/posix_time/posix_time.hpp> 24 ::gdcm::UIDGenerator uid;
25 const char*
id = uid.Generate();
26 return std::string(
id);
31 using namespace ::boost::posix_time;
33 ptime now = microsec_clock::local_time();
34 time_facet* facet =
new time_facet(
"%f%S%M%H%d%m");
37 ss.imbue(std::locale(ss.getloc(), facet));