ATLAS Offline Software
Control/AthenaInterprocess/AthenaInterprocess/Utilities.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ATHENAINTERPROCESS_UTILITIES_H
6 #define ATHENAINTERPROCESS_UTILITIES_H
7 
8 #include <uuid/uuid.h>
9 #include <string>
10 #define SSIZE 37
11 
12 namespace AthenaInterprocess {
13  inline std::string randString()
14  {
15  uuid_t uuid;
16  char out[SSIZE];
17  uuid_generate(uuid);
18  uuid_unparse(uuid, out);
19  return std::string(out);
20  }
21 }
22 
23 #endif
AthenaInterprocess
Definition: FdsRegistry.h:11
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
AthenaInterprocess::randString
std::string randString()
Definition: Control/AthenaInterprocess/AthenaInterprocess/Utilities.h:13
SSIZE
#define SSIZE
Definition: Control/AthenaInterprocess/AthenaInterprocess/Utilities.h:10