HOPS
HOPS class reference
Public Member Functions | List of all members
hops::MHO_UUIDGenerator Class Reference

#include <MHO_UUIDGenerator.hh>

Public Member Functions

 MHO_UUIDGenerator ()
 
virtual ~MHO_UUIDGenerator ()
 
std::string ConvertUUIDToString (MHO_UUID &uuid)
 
MHO_UUID GenerateUUID ()
 
std::string GenerateUUIDAsString ()
 

Detailed Description

Date
Wed Apr 21 13:40:18 2021 -0400
Author
J. Barrett - barre.nosp@m.ttj@.nosp@m.mit.e.nosp@m.du A class to provide pseudo-randomly generated UUID strings, based on RFC-4122 https://tools.ietf.org/html/rfc4122

Constructor & Destructor Documentation

◆ MHO_UUIDGenerator()

hops::MHO_UUIDGenerator::MHO_UUIDGenerator ( )

◆ ~MHO_UUIDGenerator()

hops::MHO_UUIDGenerator::~MHO_UUIDGenerator ( )
virtual

Member Function Documentation

◆ ConvertUUIDToString()

std::string hops::MHO_UUIDGenerator::ConvertUUIDToString ( MHO_UUID uuid)
  • Convert the UUID to a string
    Parameters
    uuidMHO_UUID& which is a UUID passed by reference
    Returns
    ss string which is the string version of the UUID

◆ GenerateUUID()

MHO_UUID hops::MHO_UUIDGenerator::GenerateUUID ( )
  • Generate a 128 bit psuedo-random UUID by following the RFC 4122 standard
    Parameters
    None
    Returns
    uuid MHO_UUID

◆ GenerateUUIDAsString()

std::string hops::MHO_UUIDGenerator::GenerateUUIDAsString ( )
  • Create a MHO_UUID UUID and convert it to a string
    Parameters
    None
    Returns
    uuid string

The documentation for this class was generated from the following files: