Anklang 0.3.0-460-gc4ef46ba
ASE — Anklang Sound Engine (C++)

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Friends | List of all members
Ase::Id32 Struct Reference

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

#include "cxxaux.hh"

Public Member Functions

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

Public Attributes

uint32_t id
 

Friends

bool operator== (int64_t i, const Id32 &id)
 
bool operator!= (int64_t i, const Id32 &id)
 

Detailed Description

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

Definition at line 403 of file cxxaux.hh.

Constructor & Destructor Documentation

◆ Id32()

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

Definition at line 407 of file cxxaux.hh.

Member Function Documentation

◆ operator uint32_t()

Ase::Id32::operator uint32_t ( ) const
noexcept

Definition at line 410 of file cxxaux.hh.

◆ operator!=()

bool Ase::Id32::operator!= ( int64_t  i) const
noexcept

Definition at line 412 of file cxxaux.hh.

◆ operator==()

bool Ase::Id32::operator== ( int64_t  i) const
noexcept

Definition at line 411 of file cxxaux.hh.

Friends And Related Symbol Documentation

◆ operator!=

bool operator!= ( int64_t  i,
const Id32 id 
)
friend

Definition at line 414 of file cxxaux.hh.

◆ operator==

bool operator== ( int64_t  i,
const Id32 id 
)
friend

Definition at line 413 of file cxxaux.hh.

Member Data Documentation

◆ id

uint32_t Ase::Id32::id

Definition at line 415 of file cxxaux.hh.


The documentation for this struct was generated from the following file: