template<typename Interface, typename Data>
InterfaceDataWrapper struct
Contents
Public types
- struct Hash
-
using IdT = std::
decay_t<decltype(Data::id)>
Constructors, destructors, conversion operators
- InterfaceDataWrapper(Data const& ptr) constexpr
-
InterfaceDataWrapper(std::
nullptr_t) constexpr - operator IdT() const explicit constexpr
- operator int() const explicit constexpr
Public functions
- auto getData() const -> const auto& constexpr
- auto getGame() const -> Game& constexpr
- auto getID() const -> IdT constexpr
- Retrieves a unique identifier for this interface.
- auto operator!=(InterfaceDataWrapper const& other) const -> bool constexpr
-
auto operator!=(std::
nullptr_t) const -> bool constexpr - auto operator<(InterfaceDataWrapper const& other) const -> bool constexpr
- auto operator<=(InterfaceDataWrapper const& other) const -> bool constexpr
- auto operator==(InterfaceDataWrapper const& other) const -> bool constexpr
-
auto operator==(std::
nullptr_t) const -> bool constexpr - auto operator>(InterfaceDataWrapper const& other) const -> bool constexpr
- auto operator>=(InterfaceDataWrapper const& other) const -> bool constexpr
Public variables
- const Data* dataptr