OSM::Internal::TaggedPointer
OSM::Internal::TaggedPointer< T > Class Template Reference
#include <internal.h>
Inheritance diagram for OSM::Internal::TaggedPointer< T >:
Public Member Functions | |
constexpr | TaggedPointer (T *ptr, uint8_t tag) |
constexpr T * | get () const |
constexpr | operator bool () const |
constexpr bool | operator!= (TaggedPointer< T > other) const |
constexpr bool | operator< (TaggedPointer< T > other) const |
constexpr bool | operator== (TaggedPointer< T > other) const |
constexpr void | set (T *data) |
constexpr void | setTag (uint8_t tag) |
constexpr uint8_t | tag () const |
Detailed Description
template<typename T>
class OSM::Internal::TaggedPointer< T >
class OSM::Internal::TaggedPointer< T >
Pointer with the lower bits used for compact flag storage.
Definition at line 16 of file internal.h.
Constructor & Destructor Documentation
◆ TaggedPointer()
template<typename T >
|
inlineexplicitconstexpr |
Definition at line 20 of file internal.h.
Member Function Documentation
◆ get()
template<typename T >
|
inlinenodiscardconstexpr |
Definition at line 24 of file internal.h.
◆ operator bool()
template<typename T >
|
inlinenodiscardconstexpr |
Definition at line 28 of file internal.h.
◆ operator!=()
template<typename T >
|
inlinenodiscardconstexpr |
Definition at line 30 of file internal.h.
◆ operator<()
template<typename T >
|
inlinenodiscardconstexpr |
Definition at line 31 of file internal.h.
◆ operator==()
template<typename T >
|
inlinenodiscardconstexpr |
Definition at line 29 of file internal.h.
◆ set()
template<typename T >
|
inlineconstexpr |
Definition at line 25 of file internal.h.
◆ setTag()
template<typename T >
|
inlineconstexpr |
Definition at line 27 of file internal.h.
◆ tag()
template<typename T >
|
inlinenodiscardconstexpr |
Definition at line 26 of file internal.h.
The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:17:55 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:17:55 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.