|
waLBerla 7.2
|
Replacement for boost::uuids::uuid and boost::uuids::random_generator.
Uses two 64 bit random numbers to create a 128 bit uuid.
#include <RandomUUID.h>
Public Types | |
| using | UIntType = uint64_t |
Public Member Functions | |
| RandomUUID () | |
| RandomUUID (const UIntType a, const UIntType b) | |
| std::string | toString () const |
| returns a string representation of the uuid | |
| UIntType | getFirstUInt () const |
| UIntType | getSecondUInt () const |
Private Attributes | |
| UIntType | a_ |
| first part of the uuid | |
| UIntType | b_ |
| second part of the uuid | |
Friends | |
| bool | operator== (const RandomUUID &lhs, const RandomUUID &rhs) |
| bool | operator!= (const RandomUUID &lhs, const RandomUUID &rhs) |
| walberla::RandomUUID::RandomUUID | ( | ) |
|
inline |
|
inline |
| std::string walberla::RandomUUID::toString | ( | ) | const |
returns a string representation of the uuid
format: hhhhhhhh-hhhh-hhhh-hhhh-hhhhhhhhhhhh
|
friend |
|
friend |
|
private |
first part of the uuid
|
private |
second part of the uuid