Photon 1.0.0
Loading...
Searching...
No Matches
uuids::uuid_name_generator Class Reference

#include <uuid.h>

Public Member Functions

 uuid_name_generator (uuid const &namespace_uuid) noexcept
 
template<typename StringType >
uuid operator() (StringType const &name)
 

Private Member Functions

void reset ()
 
template<typename CharT , typename Traits >
void process_characters (std::basic_string_view< CharT, Traits > const str)
 
uuid make_uuid ()
 

Private Attributes

uuid nsuuid
 
detail::sha1 hasher
 

Constructor & Destructor Documentation

◆ uuid_name_generator()

uuids::uuid_name_generator::uuid_name_generator ( uuid const &  namespace_uuid)
inlineexplicitnoexcept

Member Function Documentation

◆ make_uuid()

uuid uuids::uuid_name_generator::make_uuid ( )
inlineprivate

◆ operator()()

template<typename StringType >
uuid uuids::uuid_name_generator::operator() ( StringType const &  name)
inline

◆ process_characters()

template<typename CharT , typename Traits >
void uuids::uuid_name_generator::process_characters ( std::basic_string_view< CharT, Traits > const  str)
inlineprivate

◆ reset()

void uuids::uuid_name_generator::reset ( )
inlineprivate

Member Data Documentation

◆ hasher

detail::sha1 uuids::uuid_name_generator::hasher
private

◆ nsuuid

uuid uuids::uuid_name_generator::nsuuid
private

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