Contains a 128bit randomly generated GUID, along with helper functions.
More...
#include <Guid.hpp>
Contains a 128bit randomly generated GUID, along with helper functions.
Definition at line 21 of file Guid.hpp.
◆ Guid() [1/3]
galaxy::utils::Guid::Guid |
( |
| ) |
|
Constructor.
Definition at line 20 of file Guid.cpp.
◆ Guid() [2/3]
galaxy::utils::Guid::Guid |
( |
Guid && | g | ) |
|
|
noexcept |
Move constructor.
Definition at line 43 of file Guid.cpp.
◆ Guid() [3/3]
galaxy::utils::Guid::Guid |
( |
const Guid & | g | ) |
|
|
noexcept |
Copy constructor.
Definition at line 58 of file Guid.cpp.
◆ ~Guid()
galaxy::utils::Guid::~Guid |
( |
| ) |
|
|
noexcept |
Destructor.
Definition at line 73 of file Guid.cpp.
◆ operator=() [1/2]
Guid & galaxy::utils::Guid::operator= |
( |
Guid && | g | ) |
|
|
noexcept |
Move assignment operator.
Definition at line 48 of file Guid.cpp.
◆ operator=() [2/2]
Guid & galaxy::utils::Guid::operator= |
( |
const Guid & | g | ) |
|
|
noexcept |
Copy assignment operator.
Definition at line 63 of file Guid.cpp.
◆ to_string()
const std::string & galaxy::utils::Guid::to_string |
( |
| ) |
const |
|
nodiscardnoexcept |
Get the GUID as a string.
- Returns
- Const string reference.
Definition at line 77 of file Guid.cpp.
◆ operator==()
bool galaxy::utils::Guid::operator== |
( |
const Guid & | rhs | ) |
|
|
nodiscardnoexcept |
Equality comparison.
- Parameters
-
rhs | Right-hand side comparison. |
- Returns
- True if equal.
Definition at line 82 of file Guid.cpp.
◆ operator!=()
bool galaxy::utils::Guid::operator!= |
( |
const Guid & | rhs | ) |
|
|
nodiscardnoexcept |
Inequality comparison.
- Parameters
-
rhs | Right-hand side comparison. |
- Returns
- True if NOT equal.
Definition at line 87 of file Guid.cpp.
◆ m_id
std::string galaxy::utils::Guid::m_id |
|
private |
The documentation for this class was generated from the following files: