Dripline-Cpp  v2.4.2
Dripline Implementation in C++
Namespaces | Typedefs | Functions
uuid.hh File Reference
#include "dripline_api.hh"
#include <boost/uuid/uuid.hpp>
#include <boost/uuid/uuid_io.hpp>
#include <string>
Include dependency graph for uuid.hh:

Go to the source code of this file.

Namespaces

 dripline
 

Typedefs

typedef boost::uuids::uuid uuid_t
 Universally-unique-identifier type containing 16 hexadecimal characters. More...
 

Functions

uuid_t generate_random_uuid ()
 Generates a UUID containing random numbers (RNG is a Mersenne Twister) More...
 
uuid_t generate_nil_uuid ()
 Generates a UUID containing all 0s. More...
 
uuid_t uuid_from_string (const std::string &a_id_str)
 
uuid_t uuid_from_string (const char *a_id_str)
 
uuid_t uuid_from_string (const std::string &a_id_str, bool &a_valid_flag)
 
uuid_t uuid_from_string (const char *a_id_str, bool &a_valid_flag)
 
std::string string_from_uuid (const uuid_t &a_id)
 Generates a string representation of the provided UUID. More...