Anklang C++ API 0.0.0
Loading...
Searching...
No Matches
Id32

#include "cxxaux.hh"

Public Member Functions

template<typename T , REQUIRES<(sizeof(T)<=4 &&(std::is_integral< T >::value||std::is_enum< T >::value)) > = true>
constexprId32 (T eid)
operator uint32_t () const noexcept
booloperator!= (int64_t i) const noexcept
booloperator== (int64_t i) const noexcept

Public Attributes

uint32_tid

Detailed Description

Helper class for integer IDs up to 32 Bit, possibly of enum type.

Constructor & Destructor Documentation

Id32()

template<typename T , REQUIRES<(sizeof(T)<=4 &&(std::is_integral< T >::value||std::is_enum< T >::value)) > = true>
constexpr Id32 ( T eid)
constexpr

Member Function Documentation

operator uint32_t()

operator uint32_t ( ) const
noexcept

operator==()

bool operator== ( int64_t i) const
noexcept

operator!=()

bool operator!= ( int64_t i) const
noexcept

Member Data Documentation

id

uint32_t id