Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:13:14

0001 #include "FWCore/Utilities/interface/GlobalIdentifier.h"
0002 #include "FWCore/Utilities/interface/Guid.h"
0003 
0004 namespace edm {
0005   std::string createGlobalIdentifier(bool binary) {
0006     Guid guid;
0007     return binary ? guid.toBinary() : guid.toString();
0008   }
0009 
0010   bool isValidGlobalIdentifier(std::string const& guid) { return Guid::isValidString(guid); }
0011 }  // namespace edm