FairMQ  1.4.33
C++ Message Queuing Library and Framework
Unique.h
1 /********************************************************************************
2  * Copyright (C) 2017 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
3  * *
4  * This software is distributed under the terms of the *
5  * GNU Lesser General Public Licence (LGPL) version 3, *
6  * copied verbatim in the file "LICENSE" *
7  ********************************************************************************/
8 
9 #ifndef FAIR_MQ_TOOLS_UNIQUE_H
10 #define FAIR_MQ_TOOLS_UNIQUE_H
11 
12 #include <string>
13 
14 namespace fair::mq::tools
15 {
16 
17 // generates UUID string
18 std::string Uuid();
19 
20 // generates UUID and returns its hash
21 std::size_t UuidHash();
22 
23 } // namespace fair::mq::tools
24 
25 #endif /* FAIR_MQ_TOOLS_UNIQUE_H */

privacy