Struct Ase::Id32
Helper class for integer IDs up to 32 Bit, possibly of enum type.
#include <cxxaux.hh>
Public Attributes
Type | Name |
---|---|
uint32_t | id |
Public Functions
Type | Name |
---|---|
constexpr | Id32 (T eid) |
operator uint32_t () noexcept const |
|
bool | operator!= (int64_t i) noexcept const |
bool | operator== (int64_t i) noexcept const |
Public Attributes Documentation
variable id
uint32_t Ase::Id32::id;
Public Functions Documentation
function Id32
template<typename T, REQUIRES <(sizeof(T)<=4 &&(std::is_integral< T >::value||std::is_enum< T >::value)) >>
inline constexpr Ase::Id32::Id32 (
T eid
)
function operator uint32_t
inline Ase::Id32::operator uint32_t () noexcept const
function operator!=
inline bool Ase::Id32::operator!= (
int64_t i
) noexcept const
function operator==
inline bool Ase::Id32::operator== (
int64_t i
) noexcept const
Friends Documentation
friend operator!=
inline bool Ase::Id32::operator!= (
int64_t i,
const Id32 & id
)
friend operator==
inline bool Ase::Id32::operator== (
int64_t i,
const Id32 & id
)
The documentation for this class was generated from the following file /__w/anklang/anklang/ase/cxxaux.hh