RegistrationObjectId Struct Reference
A wrapper around uintptr_t to prevent implicit conversions. More...
#include <Factory.hh>
Public Member Functions | |
RegistrationObjectId (std::uintptr_t _ptrAddress) | |
Construct object from a uintptr_t. More... | |
RegistrationObjectId (void *_ptr) | |
Construct object from a pointer. More... | |
bool | operator== (const RegistrationObjectId &_other) const |
Equality comparison. More... | |
Public Attributes | |
std::uintptr_t | id |
Wrapped uintptr_t variable. More... | |
Detailed Description
A wrapper around uintptr_t to prevent implicit conversions.
Constructor & Destructor Documentation
◆ RegistrationObjectId() [1/2]
|
inlineexplicit |
Construct object from a pointer.
- Parameters
-
[in] _ptr Arbitrary pointer.
◆ RegistrationObjectId() [2/2]
|
inlineexplicit |
Construct object from a uintptr_t.
- Parameters
-
[in] _ptr Arbitrary pointer address.
Member Function Documentation
◆ operator==()
|
inline |
Equality comparison.
- Parameters
-
[in] _other Other RegistrationObjectId object to compare against.
References RegistrationObjectId::id.
Member Data Documentation
◆ id
Wrapped uintptr_t variable.
Referenced by RegistrationObjectId::operator==().
The documentation for this struct was generated from the following file: