Muto 0.0.1
Cross-Platform Application Template
GitHub Repo | Muto Updates | Muto's Author
Loading...
Searching...
No Matches
Muto::UUID Struct Reference

Universally Unique Identifier. More...

#include <Components.h>

Public Member Functions

 operator const std::string & () const
 
 operator std::string & ()
 
 UUID ()
 
 UUID (const std::string &id)
 

Public Attributes

std::string ID
 The string representation of the UUID.
 

Detailed Description

Universally Unique Identifier.

A simple wrapper around a string representing a UUID.

Constructor & Destructor Documentation

◆ UUID() [1/2]

Muto::UUID::UUID ( )
inline
27{ ID = Random::UUID(); }
std::string UUID()
Definition Random.h:73
std::string ID
The string representation of the UUID.
Definition Components.h:25

References ID, and Muto::Random::UUID().

Referenced by Muto::UUIDComponent::UUIDComponent().

◆ UUID() [2/2]

Muto::UUID::UUID ( const std::string &  id)
inline
29 : ID{ id } {
30 }

References ID.

Referenced by Muto::UUIDComponent::UUIDComponent().

Member Function Documentation

◆ operator const std::string &()

Muto::UUID::operator const std::string & ( ) const
inline
32{ return ID; }

References ID.

◆ operator std::string &()

Muto::UUID::operator std::string & ( )
inline
31{ return ID; }

References ID.

Member Data Documentation

◆ ID

std::string Muto::UUID::ID

The string representation of the UUID.

Referenced by operator const std::string &(), operator std::string &(), UUID(), and UUID().


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